This is working. GETPRINTER() returns only the name of the printer (the PrinterName part of \\ServerName\PrinterName).
If I do SET PRINTER TO NAME PrinterName, it work. It will require however that I modify my code because the other PC need the \\ServerName part to work.
Any other ideas on how I can resolve this without having to touch the code?
>What GETPRINTER() returns for the printer? Do you get error with
>SET PRINTER TO NAME (GETPRINTER())