General information
Category:
Reports & Report designer
Yes You can do it
Try this example:
SET PRINTER TO NAME WindowsPrinterName
SET DEVICE TO PRINTER
??? CHR(15) && Use this to send commands to printer
&& You can send command to laser, color or matriz printers
SELECT Table
SCAN
...
@ nLin, nCol SAY Table.Field PICT 'Mask'
...
ENDSCAN
@ PROW(), 000 SAY CHR(12) && Use this to send an eject page
SET PRINTER TO && *** USE THIS TO SEND THE REPORT ***
&& *** IF YOU DON'T USE IT THE REPORT WILL KEEP IN WIN SPOOL
SET DEVI TO SCREEN
This example send the text direct to printer
It's good for matriz printer and very fast
but the speed depends of the printer
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only