Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hard coding report...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00193905
Message ID:
00194068
Vues:
20
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
Fil
Voir

Click here to load this message in the networking platform