Ask Your Question

Install and IPP printer with cups

asked 2017-03-31 23:39:45 -0600

tylerecouture gravatar image

updated 2017-04-01 00:02:42 -0600

I have an ipp printer on my network: [Ubuntu 16.04 on nodes]

It's not clear to me how I can install this printer using either of the puppet modules available

Any help for this puppet/linux noob would be appreciated

Here's what I've tried. The printer is added, but doesn't actually print when I try to use it:

  cups_queue { 'TestPrinter':
    ensure => 'printer',
    model  => 'foomatic-db-compressed-ppds:0/ppd/foomatic-ppd/Lexmark-T644-Postscript.ppd',
    uri    => 'ipp://', # Replace with your printer's URI
    accepting => true,
    enabled => true,

Here is some additional info:

$ lpinfo -m | grep Lexmark | grep T644
foomatic-db-compressed-ppds:0/ppd/foomatic-ppd/Lexmark-T644-Postscript.ppd Lexmark T644 Foomatic/Postscript (recommended)

$ lpinfo -v
network ipps
network lpd
network ipp
network https
network beh
network socket
network ipp14
direct hp
network http
direct hpfax
network dnssd://Lexmark%20T644%20(2)._printer._tcp.local/
network dnssd://hp%20color%20LaserJet%205550%20%5BFCEC3D%5D._pdl-datastream._tcp.local/
network socket://
network socket://
edit retag flag offensive close merge delete



Usually you have one central CUPS server you configure. All workstations are then ordered to relay requests to this single server. If it unnecessarily increases complexity (hence this question) you should set up the CUPS server by hand.

Kai Burghardt gravatar imageKai Burghardt ( 2017-04-01 03:24:55 -0600 )edit

A manual set-up gives you a better understanding what happens under the hood, instead of directly skipping to use /abstract/ puppet resources like `cups_queue` you mentioned.

Kai Burghardt gravatar imageKai Burghardt ( 2017-04-01 03:26:09 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-03 20:52:06 -0600

tylerecouture gravatar image

Thanks! Looking further in to it, I didn't realize how cups worked. You are right, all I need to do is manually edit a config file on one station to act as the cups server!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-03-31 23:39:45 -0600

Seen: 271 times

Last updated: Apr 03 '17