Information générale
Catégorie:
Gestionnaire de rapports & Rapports
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement