General information
Category:
Reports & Report designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only