Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Printer To
Message
From
12/04/2002 09:00:06
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00643928
Message ID:
00644210
Views:
10
>>>>Hello,
>>>>
>>>>In FoxPro 2.6, how can I direct a report output to another printer (the printer is connected to that computer)?
>>>>
>>>>I can't get the right syntax from the help file. If anyone could give me the solution, this would be great!
>>>
>>>You specify the port printer is connected to. It can be either one of the three local parallel ports (LPT1, LPT2 or LPT3) or one of the two serial ports (COM1 or COM2). FOr example,
SET PRINTER TO LPT2
>>
>>I tried that, but I do not get the result I want. I try to accomplish the following:
>>
SELECT MyTable
>>*-- Now we want to print the output to the amyuni printer driver (PDF format):
>>*-- The printer driver captures the LPT2 port.
>>SET PRINTER TO LPT2
>>REPORT FORM rRep TO PRINTER NOCONSOLE

>>Do you have an idea how I can do this?
>
>What error do you get? If it's "Printer not ready" than LPT2 isn't captured. I doubt you can get this work.

I do not get an error message, but the Print window opens with the default printer as selected printer.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform