... Grande. Con esto, Tengo instalada una mini printer que le puse de nombre "TIKET" y sobre ella imprime cPrint := "TICKET" PRINT oPrn TO cPrint Espero y te sirva. Saludos.
... son varias Luego en las impresiones que tienes que dirigir a una impresora determinada, haces lo que bien comenta sysctrl2 , haces PRINTER oPrn to cPrinterTicket Mi granito de arena
Using PRINT oPrn FILE <pdffile>, there are 3 ways to generate PDFs. 1. Using Microsoft Word, if installed on the PC. This is the default. Printer class generates emf files and embeds them into Word document and saves as PDF. ...
... class TImprime and TUtilprn (provided years ago by Rafa Carmona ). At the moment this is how it works for me (more or less): ndummyaltura := ( ::oPrn:CmVertPhySize() / 2 ) + ( ::oPrn:CmtrGetTextWidth( AllTrim( ::oTDbfDatAmp:REGMER ), ::oFnt_Arial6V ) / 2 ) UTILPRN ::oUtil ndummyaltura, 0.5 ; ...
... class TImprime and TUtilprn (provided years ago by Rafa Carmona ). At the moment this is how it works for me (more or less): ndummyaltura := ( ::oPrn:CmVertPhySize() / 2 ) + ( ::oPrn:CmtrGetTextWidth( AllTrim( ::oTDbfDatAmp:REGMER ), ::oFnt_Arial6V ) / 2 ) UTILPRN ::oUtil ndummyaltura, 0.5 ; ...
... escrito en el eje de las 'y', en vertical, el FONT que utilizo está definido así: DEFINE FONT oFnt_Arial6V NAME "Arial" SIZE 0,-6 OF ::oPrn NESCAPEMENT 900 PRINTER contempla centrar horizontalmente respecto del eje 'x', pero en vertical respecto del eje 'y' no lo veo. ¿Cómo lo harían ...
Hola amigos. Leandro Como resolviste el problemas donde unos pdf se generan bien y otros se genera en blanco con un peso de 2kb. Cuando las genero de uno en uno me lo genera bien, pero cuando mando generar, diez facturas, me genera algunas en blanco. Son aproximandamente que tengo que generar unas 1...
... true until it is set back to false, or do you need to set it everytime. Why does it not get set back to false when you initiate the "Print oPrn..." command? Byron ... lUseHaruPDF is a CLASSDATA that is similar to a STATIC variable. You can access it through the class itself, while ...