Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Reports and odd sized forms
Message
De
22/12/1999 17:53:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00307617
Message ID:
00307642
Vues:
11
>If you can live with plain ASCII text, send the report to a file from VFP (REPORT FORM whatever TO FILE filename ASCII) and then use low-level file functions (FOPEN, FGETS, FCLOSE) to open and read the file, and send each line directly to the printer with the ??? command. To take it one step further, you don't even have to use the report designer to create the report, instead you use TEXTMERGE inside a loop. This should give you the control you need to match up to the 10-cpi, 6-lpi kind of thing we all used to do with DOS and tractor-feed forms. BTW the ??? command bypasses all Windows printer drivers so you don't have to be concernced with which one to use.
>

If you can live with a text file, just make the textfile and call the CopyFile() API as shown in the FAQ!
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform