Que hago mal?
- Code: Select all Expand view
LOCAL cFile := "MINUTA.TXT"
//PRINT oPrn NAME "Impresión en Vertical.." FILE cFile // No funciona
PRINT oPrn NAME "Impresión en Vertical.." PREVIEW TO cFile // No funciona
Saludos
LOCAL cFile := "MINUTA.TXT"
//PRINT oPrn NAME "Impresión en Vertical.." FILE cFile // No funciona
PRINT oPrn NAME "Impresión en Vertical.." PREVIEW TO cFile // No funciona
April 2013:
....
Enhancement: New optional clause FILE <cFile> to PRINT command. cFile can be the name of a pdf file or simply "pdf". The print output will be saved to pdf file without invoking preview window.
If only "pdf" is specified, the user is prompted to provide a pdf file name.
If PREVIEW clause is specified, the PDF file is diplayed after saving and otherwise pdf file is saved silently
Examples:
PRINTER oPrn FILE "out.pdf" // "out.pdf" is created silently
PRINTER oPrn FILE "PDF" // user is prompted for pdf file name.
PRINTER oPrn PREVIEW FILE "out.pdf" / "pdf" // pdf file created is displayed.
* Enhancement: Report can be saved to PDF, without invoking Preview.
First a printer object needs to be defined with FILE clause and then while defining REPORT, the printer object may be set as DEVICE of the report
Eg. PRINTER oPrn FILE "rep.pdf"
REPORT oRep {<othere caluses>] DEVICE oPrn.
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot], Horizon and 90 guests