Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default font
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00252701
Message ID:
00252822
Views:
9
>>>How can I set the default font to 'courier new', 7 so that when I distribute the app, all users will print the result file in courier new? The command in quest is "type pfile to prin"
>>
>>If SET PRINTER FONT doesn't work in this case, you could create a file with the necessary PCL (printer control language) commands in it, then either send that file before sending your pfile or prepend that file to your pfile and send it in one step. If your printer's user manual doesn't have the necessary escape code sequences (PCL commands), get a copy of the HP PCL 5 Printer Language Technical Reference Manual. It's a good investment IMHO.
>>
>>HTH,
>>Rick
>more complicated than I thought. What if the users are using all HP's but different varieties of deskjets, laserjets, etc?

As long as you stick to the basics you'll probably be OK. Almost all models of HP printers will accept the same basic PCL commands, as do many other brands of printers. It's when you start getting into more advanced, model-specific stuff that you need to be concerned about differences between models. I'd try to get it working on one printer, then try it with others and see what you get.
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Reply
Map
View

Click here to load this message in the networking platform