General information
Category:
Coding, syntax & commands
Ron
I have a similar problem. In Win98 I print to a label printer (using VFP8) shared on another Win98 computer with no problems, I can manipulate the printer name in 98. It is shared as "\\Login3\SMART". In Win98 I can call it and print to it as its name is displayed in Printers - "Smart Label Printer 220"
Now with a XP user trying to print to the same printer on the Win98 computer I have problems. If I use APRINTERS() I get "\\Login3\SMART" as both the printer name and port in XP. The name shown in Printers is now "SMART on Login3". I have a print button that is visible if the one of the printers returned is "\\Login3\SMART". My button is visible.
When I print it sends the print job to my local (LPT1) printer. If I print a label throught the label printing software it prints as expected.
Any ideas on what I'm missing??? THANKS!!!!!!
John,
The getrpinter() function will show a list of the named network printers that are installed in the users machine. Try it from the command box with cp = getprinter()
I have a button on a form for printing that selects the printer. It has the following code...
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