Do you include the NAME clause?
SET PRINTER TO NAME...
>When you need to send printer output to a specific printer, you can use a printer name or a port. The problem is that I can't use a port because this is a network printer and thus not on a LPTx port. And, I can't use a name anymore because XP now renames network printers and you cannot change the name i.e. WorkOrder is changed to WorkOrder on Servername. Different users at different offices use the same program but must have different server names.
>
>My application was written before Windows started renaming printers. It has worked fine for years but, when usere update to newer operating systems, they cannot print to the special printer because there is no printer called WorkOrder and cannot be.
>
>Has anyone else run into this. Any ideas or suggestions?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)