Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I set the font when I print to a file
Message
From
07/12/2000 00:12:57
 
 
To
06/12/2000 18:09:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00450163
Message ID:
00450241
Views:
32
>The command SET PRINTER FONT works when destination is a printer,
>but how can I set the font when the destination is a file.
>Thank you for your help.
>
>FYI the command I used is "list noconsole off to file"
>and there's no option to set the font in the LIST and DISPLAY commands.

You can't directly - setting a font requires that you to render the output with the necesary control sequences and images to render the image for the printer, including printer-specific graphic sequences. There is no such thing directly for viewing on screen; you'd have to produce a Word document and use something like Word to view it, or create something like a PDF file using the commercial version of Adobe Acrobat or the Amyuni PDF distiller and view it with Adobe's Acrobat Reader. ASCII text doesn't provide a mechanism for storing font and graphic images in the text; you could create a Word document or RTF document, but then you need to use Word or something like the RTF ActiveX control for viewing. IAC, you're going to require a commercial product to produce and/or view the rendered output to screen.
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