Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send a text file containing CHR(12) 's to the printer .
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00429558
Message ID:
00429639
Views:
24
Ed:

Thanks for the tip. Somehow, I figured you would know an "API-way" to get the job done. I'll give it a try, along with the other suggestions I received. What a great example of "there are n- ways to solve any problem".





>>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.
"Problems cannot be solved at the same level of awareness that created them." - Albert Einstein

Bruce Allen
NTX Data
Previous
Reply
Map
View

Click here to load this message in the networking platform