Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hard coding report...
Message
 
To
03/03/1999 23:45:21
Larry Santos
Local Data System
Philippines
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00193905
Message ID:
00194068
Views:
18
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
Map
View

Click here to load this message in the networking platform