Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing Report
Message
From
05/01/2000 08:01:49
 
 
To
05/01/2000 03:22:02
General information
Forum:
Visual Basic
Category:
Other
Title:
Miscellaneous
Thread ID:
00313075
Message ID:
00313120
Views:
40
>I have a Programe in VB that prints a report to file using common dialog (ShowPrinter method), when i open the file with notepad, i can't read the file ? Why ? How can i suppose to do if i want the report in the file is readable just like i print the report to printer ? Thanks.

The output is being created using the printer driver in effect at the time that the report is generated; printer codes are not legible at best, and may well be graphics representations that are understandable by the target printer but little else. If you have to view the data on-line, you can either create ASCII output and give up on any formatting, font selection and graphics in the output file, (you'd use the Generic/text Only printer driver) or one of the document output formats like the .PDF file format, which could be viewed with the Adobe Acrobat reader (the driver is not free.)
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