LPR command won't recognize CUPS printer

Posted by Datapimp23 on Server Fault See other posts from Server Fault or by Datapimp23
Published on 2012-02-27T13:27:56Z Indexed on 2012/11/30 23:07 UTC
Read the original article Hit count: 253

Filed under:
|
|

I have a cups server with one shared printer configured on it. It prints test pages without problems.

printername (Idle, Accepting Jobs, Shared)
Description:    desc
Location:   
Driver: Zebra ZPL Label Printer (grayscale, 2-sided printing)
Connection: socket://172.20.50.26
Defaults:   job-sheets=none, none media=oe_w288h432_4x6in sides=one-sided

This is the output from lpstat -t. it shows that the printer is idle and accepting requests

admin@SERVER:~$ lpstat -t
scheduler is running
no system default destination
device for printername: socket://172.20.50.26
printername accepting requests since Thu 26 Jan 2012 01:29:35 PM CET
printer printername is idle.  enabled since Thu 26 Jan 2012 01:29:35 PM CET

Now when I want to send a printjob to it via an LPR command it won't recognize the printer

/usr/bin/lpr -P printername test.pdf

Result

lpr: ttn_seg_zebra1: unknown printer

What am I missing here ?

© Server Fault or respective owner

Related posts about linux

Related posts about cups