[cups] Setting up a file printer under CentOS7

マスターズ・イアン ian at ncsa.jp
Thu Sep 13 23:00:57 PDT 2018


> I don't think you are sending anything, else there would be a lot of CUPS stuff there for your printjob. You cannot easily try to debug a non-working filter chain and the creation of  new printer (the file printer).

You were right. I wasn't sending anything.

When I looked at the print queue in the GUI, the queue had stopped. I right-clicked on the job and selected 'reprint' and the job completed.

Then when I checked, the file had been created at:
/tmp/systemd-private-50d346fc75b8442ba768bceb72f73085-cups.service-qiUhzv/tmp/foo

[root at centos7-001 ~]# ls -lh /tmp/systemd-private-50d346fc75b8442ba768bceb72f73085-cups.service-nZYIXk/tmp/foo
-rw------- 1 root root 13K  9月 14 13:39 /tmp/systemd-private-50d346fc75b8442ba768bceb72f73085-cups.service-nZYIXk/tmp/foo

Then I sent the file to my printer:
lpr -P 11f1 -o raw /tmp/systemd-private-50d346fc75b8442ba768bceb72f73085-cups.service-2PcX8m/tmp/foo

After solving another authentication problem, the file was sent but nothing at all at the printer, although it went through 11f1, which previously managed to send something albeit a 0 page file, to the printer.

I'll start looking at the error log now to see what I can find.

Thanks

ian


More information about the cups mailing list