Create a CUPS printer on cups.cs.uwaterloo.ca

This is the step-by-step process to add a new printer to the cups.cs printing queue. IN this example we are adding "dbpr004" (dbpr004.cs.uwaterloo.ca)
Initial work in ST#80385

New Printer

Name the printer in DNS and Inventory and give it an IP address currently in the subnet 172.19.33.xxx
Connect to the network on VLAN 1833
Access the printer's web page via its IP and set its SNMP "On". The CUPS server communicates with printers via SNMP.

Log into cups.cs as root. View the current list of printers.
root@services118:~# lpstat -v

Create the Printer in cups.cs

From a PC on cscf's subnet access:

http://cups.cs.uwaterloo.ca:631/admin

Add Printer
Name: dbpr004
Location: DC 3303
Description: Xerox Phaser 8550
-> Continue

Device: AppSocket/HPJetDirect

-> Continue

Device URI: cupspykota:socket://dbpr004.cs.uwaterloo.ca:9100
Make: Xerox

-> Continue

Model: Xerox Phaser 8550DP(en)
(if you don't see your model listed, you can add a PPD file - I did this for the Xerox WorkCentre 5335 - edocs\Drivers\Xerox\WorkCentre5335\PPD)

-> Add Printer

Printer added Successfully.

Options screen:

http://cups.cs.uwaterloo.ca:631/admin/?OP=set-printer-options&PRINTER_NAME=dbpr004

Add the printer to cups.cs

Become root on cscf.cs and ssh cups.cs

root@services118:~# pkprinters --list dbpr004
/usr/bin/pkprinters : There's no printer matching dbpr004
root@services118:~# pkprinters --add dbpr004
Creation...
Done. Average speed : 22.17 entries per second.
root@services118:~# pkprinters --list dbpr004
dbpr004 [] (0.0 + #*0.0)
Passthrough mode : OFF
Maximum job size : Unlimited
Routed through PyKota : NO

root@services118:~# repykota --printer dbpr004
Report for user quota on printer dbpr004 ()
Pages grace time: 7 days
Price per job: 0.000
Price per page: 0.000
User overcharge used soft hard balance grace total paid warn



Real : unknown

Access Control

If there is a print host Access Control List add cups.cs.uwaterloo.ca IP address to the list.
E.g. dbpr004.cs.uwaterloo.ca/printsecuritysettings.html

Add quota

Add quota as per:
https://www.cs.uwaterloo.ca/twiki/view/CF/ManageUsersPrintersOnPykota

Test the printer

Restart cupsd on the client machine.

History

These notes are based on work originally done in ST#80385
Topic revision: r7 - 2012-09-06 - BillInce
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback