3
I'm trying to port a linux program to windows 7, that receives an lpr command from a websocket and sends the command to a local vinyl cutter. The windows lpr implementation is different and there is not a lot of advice to go by.
I have enabled the LPR services in windows, and have installed the vinyl cutter as an LPR printer. It prints fine from illustrator or something. However, trying to lpq the printer, or lpr it,
C:\Users\M> lpq -S 127.0.0.1 -P vinyl
Windows LPD ServerError: specified printer does not exist
C:\Users\M> lpq -S <full computer hostname> -P vinyl
Windows LPD ServerError: specified printer does not exist
C:\Users\M> lpq -S google.com -P vinyl
*times out*
This error is pretty hard to find help with by googling; since my printer is local, could it be a permissions issue? I know little about windows. I tried to do it in cygwin but cygwin seems to want to use the windows lpr version too.
http://h30499.www3.hp.com/t5/System-Administration/Windows-LPD-Server-Error-specified-printer-does-not-exist/td-p/4704824#.VAw6ehY0aJs Just a shot in the dark...? – druckermanly – 2014-09-07T20:47:07.927
Just noticed this question is still open. Did you ever get it solved? – fixer1234 – 2014-11-12T09:31:29.487
Nope. I ended up having to use the windows "print" command, instead of the windows lpr implementation for my application (printing from websockets). This means my program can't be OS independent :( – erg – 2014-11-15T13:58:46.720