... se cierra la sesión en windows server, con lo cual se van acumulando hasta que llega un momento que cuando creas un objeto tprinter "PRINT oPrint TO cprn", te salta el cuadro de dialogo para seleccionar la impresora aunque cprn tenga el nombre y redireccionado correcto. Mirando el ...
... need to add an variable at the top of your program to be able to save the file Local lSaveHaru := TPrinter():lUseHaruPDF 3) You define oPrint like this PRINT oPrint FILE "c:\dbtmp\"+cPdfName+".pdf" // location and name of your .pdfoPrint:SetPage( 1 )oPrint:SetPortrait() ...
... with the wrong resolution. Question ... How is oPrinter object created in this code .. nView = 3 //nView := 3 Do Case Case nVIEW = 1 PRINTER oPRINT FROM USER ; PREVIEW MODAL ; NAME "Request Print Routine "+xLOGIN IF EMPTY( oPRINT:hDC ) MsgStop ( "Printer not Ready !" ) ...
... partir de ellas paso todos los parametros en centimetros con decimales, me funciona muy bien. Por ejemplo : oimagen := TImage():Define(logo.jpg') oPrint:SayImage(Posx(nposx) , Posy(nposy) , oimagen, posx(nancho), posy(nalto)) //------------------------------------------------------------------------------// ...
... partir de ellas paso todos los parametros en centimetros con decimales, me funciona muy bien. Por ejemplo : oimagen := TImage():Define(logo.jpg') oPrint:SayImage(Posx(nposx) , Posy(nposy) , oimagen, posx(nancho), posy(nalto)) //------------------------------------------------------------------------------// ...
... .. The report I am trying to print to pdf works fine if you use the print viewer .. however, I am doing a lot in this report by using the Printer oPrint:nVertRes() and oPrint:nHorzRes() properties and placing my text on the page in relatively the same position based on what ever printer is used ...
... treated as Col and Col was treated as Row. Same way Bottom was treated as Right and Right was treated as Bottom. But a other thing is the pen in oPrint:box() and oPrint:roundbox(). I make a pen with "DEFINE PEN oPen1 WIDTH max(1,(max(oPrn:nHorzRes(),oPrn:nVertRes())/1800))" with exact ...
Francisco Yes .. I am still using this code in my programs today ... oPRINT:SAY ( LINE, (oPrint:nHorzRes()*.07), cOwner, oFONT14b ) .. the oPrint:nHorzRes() is the calculation derived from the oPrint object which is your defined printer. This calculation allows ...
La solución es mucho mejor , con diferencia y incluso, el que quiera, puede modificar su printer.ch y se ahorra el PRINT OBJECT oPrint . Que interesante! No lo había pensado eso de darle ángulo... Ese método no viene en la clase TPrinter, verdad? Al menos no está en la FW que yo tengo, ...