... 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 ...
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 ...
... '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 ?
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 ...
... 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() ...
... 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 ...
... // 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) ...
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() / ...
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 ...