Search found 80 matches: setpage

Return to advanced search

Re: IMPRESION ARCHIVOS PDF

As of now the FWPDF class does not support the method SetSize( nWidth, nHeight ) This class supports only SetPage( nPageType ), same as TPrinter class. The permitted page sizes are:   { {  DMPAPER_LETTER,      HPDF_PAGE_SIZE_LETTER,   ...
by nageswaragunupudi
Wed Oct 11, 2023 4:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: IMPRESION ARCHIVOS PDF
Replies: 27
Views: 1612

Resuelto -Error en PRINTER oPrinter FROM USER

... que de esta manera se fuerza que se muestre ventana para escoger impresora, si el usuario pulsa ESC, la siguiente instrucción (en mi caso oPrinter:SetPage(9) ) revienta el programa. ¿Cómo puedo controlar esta situación para evitar que reviente? Muchas gracias,
by FiveWiDi
Sun Feb 12, 2023 12:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resuelto -Error en PRINTER oPrinter FROM USER
Replies: 0
Views: 144

Re: Tamaño de la hoja

Buenos días,

Un workaround buscando funcionalidad sería:

Usar oPrn:SetSize() ( PrnSetSize() ) en vez de oPrn:SetPage()

Salu2
by paquitohm
Wed Feb 08, 2023 7:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tamaño de la hoja
Replies: 6
Views: 449

tamaño de hoja

... una comandera termica como predeterminada por más que defina: PRINT oPrn_Ret FILE ( "\archivos pdf\retencion.PDF") preview oPrn_Ret:SetPage( 9 ) oPrn_Ret:SetPortrait() la impresión sale la hoja bien pero la impresión cortada Si tengo otra impresora como predeterminada sale perfecta ...
by jpcavagnaro
Sat Feb 04, 2023 12:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tamaño de hoja
Replies: 2
Views: 216

Re: Tamaño de la hoja

oPrn:SetPage( 9 ) sets A4 size correctly. Do this test:   PRINT oPrn PREVIEW   oPrn:SetPage( 9 )   oPrn:SetPortrait()   ? oPrn:PageWidth( "MM" ), oPrn:PageHeight( ...
by nageswaragunupudi
Sat Jan 28, 2023 2:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tamaño de la hoja
Replies: 6
Views: 449

Tamaño de la hoja

Hola, que estoy haciendo mal, necesito configurar el tamaño A4 y no lo consigo.

pongo oPrn:setpage( 9 ) después de definir la impresora y no lo toma

lo pongo después de PAGE y tampoco.

Saludos
Jorge
by jpcavagnaro
Fri Jan 27, 2023 4:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tamaño de la hoja
Replies: 6
Views: 449

SetSize no funciona

Compañeros

Estoy usando la clase printer y quiero definir el tamaño de una hoja en particular, quise usar oPrn : SetSize() pero no funciona, tampoco tiene mucho efecto oPrn : SetPage()
Hay alguna solución para esto. Uso FWH 20.04, Harbour 3.2 y BCC7. Muchas gracias

Saludos
by horacio
Wed Apr 27, 2022 5:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SetSize no funciona
Replies: 5
Views: 386

Re: tPrinter a PDF

Probe con oPrn:SetPage( 1 ) oPrn:SetPortrait() mi codigo lo tengo todo con oPrn:CmSay( 1.0, 6.8 ,"Informe N° " + Alltrim(Str(NumNumero)),oFont1) oPrn:CmBox( 0.7, 6.5, 1.8, 14, oPen1 ) Y aun aparece recortado el PDF al tamaño ...
by Adolfo
Fri Feb 11, 2022 2:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: tPrinter a PDF
Replies: 6
Views: 498

Re: Unattended creation of .pdf .. resolution problem -- Rao

PRINT oPrn FILE cFilePdf oPrn:SetPage( 1 ) // Letter size 8x11 oPrn:SetPortrait() nWidth := oPrn:PageWidth( "INCHES" ) nHeight := oPrn:PageHeight( "INCHES" ) // nWidth and nHeight are in inches Please see print.ch and ...
by nageswaragunupudi
Mon Sep 20, 2021 8:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unattended creation of .pdf . resolution problem -- RESOLVED
Replies: 9
Views: 1290

Re: Excel from Preview

ANYONE ???? Seems like many questions about FWH go unanswered now .... Hi Tim Answer un Spanish forum PREVIEW // TO PRINTER oReport:oDevice:SetPage(15) oReport:bInit := { || dbGoTop() } // add this. Seems it works with this change. Regards. José. Enviado desde mi POCOPHONE F1 mediante Tapatalk
by jvtecheto
Sun Jun 07, 2020 7:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Excel from Preview
Replies: 12
Views: 2370

Re: Bug Exportar Excel en Report

Me falta decir que yo lo tengo al inicio del reporte

PREVIEW // TO PRINTER
oReport:oDevice:SetPage(15)
oReport:bInit := { || dbGoTop() }

Saludos
Oscar
by EASYSOFT
Sat Nov 16, 2019 5:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Bug Exportar Excel en Report
Replies: 11
Views: 1869

Re: libharu

The idea is good, but the implementation look a little lazy: The SetPage method takes the nPage from this list but this implementation calls HPDF_Page_SetSize that take the values from this list I tried using this code: //------------------------------------------------------------------------------METHOD ...
by AntoninoP
Thu Mar 01, 2018 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: libharu
Replies: 8
Views: 1916

Que diferencia hay entre PRINT y REPORT

... oPrn:cmSay( ........ ) Enddo ENDPAGE ENDPRINT y REPORT PRINT oPrn NAME "cTitulo" //FROM USER PREVIEW oPrn:SetPortrait() oPrn:SetPage(1) REPORT oReport ; TITLE "*********************"; FONT oFon1 ; PREVIEW COLUMN ...... ACTIVATE REPORT
by ruben Dario
Sun Feb 05, 2017 2:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Que diferencia hay entre PRINT y REPORT
Replies: 1
Views: 483

Re: Felices reyes!

... la posición de la fila, y cuando supere el valor que necesites para el pie de página, haces un EndPage/StartPage. Un A4 mide 29,7 por 21 cm. Con :SetPage( ) seleccionas el papel si no es A4, oPrn:nWidth y nHeight te da la altura de la página según el tipo de papel usado. Al igual que Tprinter, ...
by Carlos Mora
Sat Jan 21, 2017 7:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Felices reyes!
Replies: 60
Views: 19233

Re: Printing an image.

... http://www.pflegeplus.com/IMAGES/Centered2.jpg // The A4 size print measures = 21.0 x 29.7cm, 8.27 x 11.69 inches oPRINT:SetPage(9) oPRINT:SetLandscape() DEFINE FONT oFont1 NAME "Arial" SIZE 0, -26 BOLD OF oPRINT DEFINE PEN oPen1 WIDTH 12 OF oPRINT // Horizontal ...
by ukoenig
Mon Sep 19, 2016 9:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing an image.
Replies: 18
Views: 5608
Next

Return to advanced search