Search found 50 matches: setportrait

Return to advanced search

tamaño de hoja

... 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 https://drive.google.com/file/d/1fLsvY2gmLPRer8gpYVnogQqDl6Xj2ZPv/view?usp=share_link ...
by jpcavagnaro
Sat Feb 04, 2023 12:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tamaño de hoja
Replies: 2
Views: 213

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 de ...
by Adolfo
Fri Feb 11, 2022 2:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: tPrinter a PDF
Replies: 6
Views: 490

oBrw:Report setup SETPORTRAIT

... 'Test', , , ; { |oRep, oBrw | MySetUp( oRep, oBrw, lLandscape ) } ) MySetUp( oRep, oBrw, lLandscape ) If lLandscape oRep:SetLanscape() Else oRep:SetPortrait() endif return nil How I can make to set the orientation of Report ?
by Silvio.Falconi
Tue Nov 16, 2021 1:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oBrw:Report setup SETPORTRAIT
Replies: 0
Views: 232

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 find many useful commands ...
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: 1285

Re: SetLandscape

... local cret, oprn //#define DMORIENT_PORTRAIT 1 //#define DMORIENT_LANDSCAPE 2 PRINTER oPrn if nOrient=2 oPrn:SetLandscape() else oPrn:SetPortrait() endif endprint return NIL function nOrientPrn() local cret, oprn PRINTER oPrn cRet := oPrn:getmodel() ? oPrn:nOrient := oPrn:GetOrientation() ...
by Otto
Sun Jun 13, 2021 8:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetLandscape
Replies: 11
Views: 1261

SetLandscape

Hello friends, If I use oPrn:SetLandscape() or oPrn:SetPortrait() ? oPrn:nOrient always returns 1. Is SetLandscape working for you? Best regards, Otto function nOrientPrn()    local cret, oprn    PRINTER oPrn    ...
by Otto
Sun Jun 13, 2021 12:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetLandscape
Replies: 11
Views: 1261

Que diferencia hay entre PRINT y REPORT

... While .NOT.oApp:aQkvende:EOF() 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: 476

Re: Como ajustar impresión por cambio en tamaño del papel

... PREVIEW MODAL oPlanilla:oPrn:SetPage( DMPAPER_LEGAL ) // Quitando esta linea la clase asume papel carta (8.5" x 11") oPlanilla:oPrn:SetPortrait() ... ... PrnSetSize( 2159, 3302 ) // Los valores para nWidth y nHeight están calculados en base a 2.54 cm x pulgada oPlanilla:oPrn:Preview() ...
by gsabattino
Wed Apr 29, 2015 4:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como ajustar impresión por cambio en tamaño del papel
Replies: 7
Views: 1886

TPRINTER

Is there a way to switch between oPrn:setportrait() and oPrn:setlandscape() in the same printjob. (without ENDPRINT before switching)?
by byte-one
Mon Jul 14, 2014 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TPRINTER
Replies: 18
Views: 2302

Re: FWH 13.12 printer SetCopies problem

... always sets the default printer. Maybe it´s the best solution is to remove the call of Rebuild() from the methods :SetCoppies(), :SetLandscape(), :SetPortrait(), :SetSize(), :SetPage() and :SetBin(). This avoids setting the device to the default printer. I see no sense to change the setting of ...
by StefanHaupt
Fri Jan 24, 2014 7:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 13.12 printer SetCopies problem
Replies: 20
Views: 5531

Re: ReCargar PREVIEW

... // cargo mis archivos .emf oPrn:=PrintBegin("Re-Impresión de Auditoría",.F.,.T.,,.T.) oPrn:SetPage(1) // Tamaño Carta oPrn:SetPortrait() // Orientacion Vertical FOR x := 1 TO LEN(aDir) AADD( oPrn:aMeta, oApp:cDirAudi + aDir[x,1] ) // agrego los .emf a aMeta NEXT RPreview(oPrn) ...
by Francisco Horta
Thu Oct 06, 2011 8:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ReCargar PREVIEW
Replies: 6
Views: 1225

Problem with printed coordinates for dot-matrix printer

... ) return nil endif // Font... DEFINE FONT oFont NAME "Arial" SIZE 0,-10 OF oPrinter /* Set to Layout */ if (nLay==1) oPrinter:SetPortrait() // Portrait... else oPrinter:SetLandScape() // Landscape... endif /* Init vars */ Mrow = 0 Mv_max = oPrinter:nVertRes() Mh_max = oPrinter:nHorzRes() ...
by cdmmaui
Wed Jul 13, 2011 5:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with printed coordinates for dot-matrix printer
Replies: 1
Views: 421

Re: Poner hoja 1 de N en tprinter

Horacio: Ejemplo; PRINT oPrn NAME "hola" PREVIEW //FROM USER oPrn:SetPortrait() //vertical DEFINE FONT oFont1 NAME "Arial" SIZE 0, -08 OF oPrn BOLD DEFINE FONT oFont2 NAME "Arial" SIZE 0, -10 OF oPrn nRowStep := oPrn:nVertRes() / ...
by FranciscoA
Wed Oct 13, 2010 2:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Poner hoja 1 de N en tprinter
Replies: 4
Views: 949

Re: Tamaño de papel de Las impresoras en Windows

... "AltoPapel" , "2790" , cIniFile ) ) PrnSetSize( nAnchPapel, nAltoPapel ) PRINT oPrn NAME "Factura" oPrn:SetPortrait() DEFINE FONT oFont NAME "Arial" SIZE 0, -10 OF oPrn nRowStep := oPrn:nVertRes() / nLinHoja //60 // LINEAS nColStep := oPrn:nHorzRes() ...
by FranciscoA
Wed Sep 22, 2010 12:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tamaño de papel de Las impresoras en Windows
Replies: 2
Views: 651

Re: Imprimiendo con print y resolucion de pagina

Antolin, He probado usando oPrn:CmSay() y oPrn:SetPage(9), así como oPrn:SetPortrait(), pero sigo encontrando diferencias aunque leves como por ejemplo: el tamaño y distribución de los fuentes cambia de una impresora a otra, el texto se puede ver con mas o menos ...
by jfafive
Thu Jul 08, 2010 10:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimiendo con print y resolucion de pagina
Replies: 12
Views: 3356
Next

Return to advanced search