[cups] Testing Cups-PDF

Jerry jerry at seibercom.net
Tue May 31 03:06:18 PDT 2016


On Tue, 31 May 2016 00:06:58 +0100, Timothy Murphy stated:

>Is there any way of testing Cups-PDF without trying to print a PDF
>file? The trouble with this is that if it doesn't work it prints out
>many pages of garbage.

Try shutting down your printer to make sure it does not have any
extraneous garbage in its buffers. When restarted it should use the
printers default settings unless you have modified them.

Assuming you have a small PDF file saved on the machine, try issuing
this command and see what happens:

nc -N <IP Address of printer> <port number - usually 9100> < input file

On my machine, it would look like this:

nc -N 192.168.0.100 9100 < sample.pdf

See what the output is.

-- 
Jerry



More information about the cups mailing list