Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default to LPT1
Message
From
20/06/1996 13:24:21
Paul Wei
Fib, State of Michigan
Lansing, Michigan, United States
 
 
To
17/06/1996 13:45:40
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00002271
Message ID:
00002624
Views:
29
>Thank you for responding to my question. Through
>the help I have received so far, I am able to do
>just as you suggested.
>
>However, (there is always a however) is there a
>way to deal with having the same printer NAME
>associated with different printing destinations
>(LPT1, LPT2, etc ...) ? I ran into that
>situation at the company where I work. In that
>event, SET PRINTER TO NAME xxx allows VFP to
>select the first one it finds.
>
I can't find a good method to auto select the second printer with the same name.

I guess you'd have to create the array containing all the printer names and search it for dups.

Once dups are found, you'd have to tell the user via a messagebox that you can't pick
a printer for he/she and they have to pick one instead. Right after the message, I'd
issue the "SET PRINTER TO GETPRINTER()" command to let the user choose a printer with
the correct port.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform