Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set printer to LP1 always uses default printer
Message
From
16/07/2008 10:48:09
Victor Chigne
Inteliventas
Peru
 
 
To
16/07/2008 10:36:12
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01331546
Message ID:
01331660
Views:
12
The problem is that I can't issue a "Set printer font" command. With the copy command I got the same ugly font.
>Create output to a textfile, but instead of !type, you COPY YOURFILE.TXT TO LPT1:
>
>>My customer requeriment is that this programs work like the VB one he is using. He doesn't want to install drivers (the VB one opens LPT1 and writes to the printer) because there are lots of this computers which are formatted frequently. I can do that writing the output to a tex file and issuing a !type xxx..txt >lpt1: but that output doesn't use the printer default font (a nice propietary font who allows 40 columns per line) but a normal text font wich only allows 29 chars per line.
>>
>>
>>>Hi Victor,
>>>
>>>>I'm sending output via ?/?? commands to the printer. The output should always go to LPT1 so I issue SET PRINTER TO LPT1. The problem is that VFP ignores this and send any output to the default printer. Is that a known bug?
>>>
>>>VFP sends output to a printer, not a port. Can you install a "Generic/Text only" printer driver, connect that one to LPT1 and then use SET PRINTER TO the generic printer driver?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform