Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send a text file containing CHR(12) 's to the printer .
Message
From
15/10/2000 05:26:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00429558
Message ID:
00429583
Views:
22
>I have some text files, generated by another program, that need to be printed from within my VFP application. These text files contain embedded CHR(12)'s where each page break should occur. (Line width is already limited to 80 characters, so that's no problem.)
>
>How can files like these be printed programmatically without losing the pagination?

If your printer responds to the formfeed character, then you can send it direct to the printer using the CopyFile() API; there's a FAQ entry covering the procedure.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform