published by whitemice on Fri, 08/30/2019 - 15:36
The assignment of print queues to device URIs can be listed from a CUPS server using the "-v" option.
The following authenticates to the CUPS server cups.example.com as user adam and lists the queue and device URI relationships.
published by whitemice on Fri, 08/30/2019 - 15:29
Listing completed jobs
By default the lpstat command lists the queued/pending jobs on a print queue. However the completed jobs still present on the server can be listed using the "-W completed" option.
For example, to list the completed jobs on the local print server for the queue named "examplep":
published by whitemice on Fri, 08/30/2019 - 15:11
Create A Print Queue
[root@host ~]# /usr/sbin/lpadmin -U adam -h cups.example.com:631 -p examplelm1 -E \
-m "foomatic:HP-LaserJet-laserjet.ppd" -D "Example Pick Ticket Printer"\
-L "Grand Rapids" -E -v lpd://printer.example.com/lp
This will create a queue named examplelm1 on the host cups.example.com as user adam.