All of sudden lpr has stopped working code:
cm = "cmd /c lpr -S " & IP & " -P Port0 " & FileName
x = Shell(cm,1)
The dos window shows Error: host 192.168.1.126 not found
I created .bat file
lpr -S 192.168.1.126 -P Port0 %USERNAME%.ZPL
This works fine off a desktop shortcut
What would stop...