Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing DOS text files containing national letters.
Message
From
24/02/2000 15:37:49
 
 
To
24/02/2000 03:52:49
Yuri Myasnikov
Bank Menatep Spb., Chelyabinsk Dep.
Chelyabinsk, Russia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00336631
Message ID:
00337061
Views:
21
>Hi All!
>
>I need load two files : Crb00cpo.sfs and Default.pjl into HP5L.
>It is necessary for printing DOS text files containing national letters.
>How this make from VFP ?

You can use the CopyFile() API to send a file directly to a printer, bypassing the Windows GDI. There's a FAQ entry on how to send a file to a print port that describes this in detail here on UT.

Realize that by using the Windows printer, the Windows GDI will get involved and do things to interpret the print stream from things like reportwriter based on its knowledge of fonts and the GDI printer interface - you will not be able to use report writer easily to create ASCII text streams to the printer.
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
Reply
Map
View

Click here to load this message in the networking platform