| Queue Name | Printer Type | Location | Comment |
|---|---|---|---|
| ewg329 | HP LaserJet 4000N | Ewing 329 | Monochrome laser printer; uses the PCL and PostScript printer languages |
| ewg433 | HP LaserJet 4100N | Ewing 433 | Monochrome laser printer; uses the PCL and PostScript printer languages |
| ewg433dup | HP LaserJet 4100N | Ewing 433 | Monochrome laser printer with double-sided printing on; uses the PCL and PostScript printer languages |
| ewg433c | HP DeskJet 1600CM | Ewing 433 | Color inkjet printer; uses the PCL and PostScript printer languages |
| ewg517 | HP LaserJet 4100N | Ewing 517 | Monochrome laser printer; uses the PCL and PostScript printer languages |
| ewg517dup | HP LaserJet 4100N | Ewing 517 | Monochrome laser printer with double-sided printing on; uses the PCL and PostScript printer languages |
| ewg517c | HP Color LaserJet 3700N | Ewing 517 | Color laser printer; uses the PCL and PostScript printer languages; PLEASE USE SPARINGLY! |
| ewg517cdup | HP Color LaserJet 3700N | Ewing 517 | Color laser printer with double-sided printing on; uses PostScript printer language; PLEASE USE SPARINGLY! |
| ewg537 | HP LaserJet 4050N | Ewing 537 | Monochrome laser printer; uses the PCL and PostScript printer languages |
| ewg537dup | HP LaserJet 4050N | Ewing 537 | Monochrome laser printer with double-sided printing on; uses the PCL and PostScript printer languages |
Some of the queues listed above may not be on the particular workstation into which you are logged. Each workstation also has a print queue that all print jobs go to if no queue is specified. This queue is called the default queue. See the command, lpstat, to see how you can find out what queues are available on the workstation as well as what the default queue is.
PostScript is the page description language that our printers understand. You can send plain text, PCL or PostScript files or program output to them. Anything else, like raw Matlab plot files, Maple files, etc. will come out a garbled mess. Most software will produce output that printers will understand, but if you are submitting files to the printers with commands like lp, please be sure that it is in the correct format beforehand.
To cancel a print job, one would issue the cancel
command followed by the print job ID, like so: "cancel ewg433-10".
One is only allowed to cancel his or her own print jobs. This is important in situations where someone else's print job is holding up the print queue because it is large or too complex for the printer. If this happens, the best policy is to contact the person who owns the job so that they can cancel it. Otherwise, the system administrator can cancel anyone's print jobs. It is best to try to get the print job owner to cancel his or her job first before contacting the system administrator.
| Form | Description | Examples |
|---|---|---|
| <UNIX command> | lp [-d <queue name>] | With this form of the command, the output of a UNIX command is piped (a UNIX facility designated by the '|' character) into the input of the lp command. The '-d <queue name>' option designates a print queue for printing. |
ls -al | lp -d ewg433 |
| lp [-d <queue name>] <file name> | Sends the designated file to the default print queue. The '-d <queue name>' option designates a print queue for printing. |
lp -d ewg433 file.ps |
| Old Command | Function | New Command Equivalent |
|---|---|---|
| lpr | Print files | lp |
| lpq | Show the print jobs in the queues | lpstat |
| lprm | Remove print jobs from a queue or queues | cancel |
[9:42:50]schwenk@sisyphus:~> lpstat -d system default destination: ewg433 [9:42:55]schwenk@sisyphus:~> lpstat -p printer ewg517 is idle. enabled since May 06 09:42 1999. available. printer ewg517c is idle. enabled since May 06 09:43 1999. available. printer ewg329 is idle. enabled since May 06 09:43 1999. available. printer ewg433c is idle. enabled since May 06 09:43 1999. available. printer ewg537 is idle. enabled since May 06 09:43 1999. available. printer ewg433 is idle. enabled since May 06 09:43 1999. available. printer ewg517cdup is idle. enabled since May 06 09:43 1999. available. printer ewg433dup is idle. enabled since May 06 09:43 1999. available. printer ewg537dup is idle. enabled since May 06 09:43 1999. available. [9:43:01]schwenk@sisyphus:~> lpstat -o [9:43:07]schwenk@sisyphus:~> lp PriceList.ps request id is ewg433-242 (1 file) [9:43:22]schwenk@sisyphus:~> lpstat -o ewg433-242 sisyphus.math.udel.edu!schwenk 14095408 May 06 09:43 [9:43:35]schwenk@sisyphus:~> cancel ewg433-242 ewg433-242: canceled [9:43:42]schwenk@sisyphus:~> lpstat -o [9:43:47]schwenk@sisyphus:~> lp -d ewg329 PriceList.ps request id is ewg329-243 (1 file) [9:44:09]schwenk@sisyphus:~> lpstat -o ewg329-243 sisyphus.math.udel.edu!schwenk 14095408 May 06 09:44 [9:44:15]schwenk@sisyphus:~> cancel ewg329-243 ewg329-243: canceled [9:44:23]schwenk@sisyphus:~> lpstat -p ewg329 printer ewg329 is idle. enabled since May 06 09:44 1999. available. [9:44:58]schwenk@sisyphus:~> lpstat -o ewg329 [9:45:06]schwenk@sisyphus:~> lp PriceList.ps request id is ewg433-244 (1 file) [9:46:10]schwenk@sisyphus:~> lpstat -o ewg433 ewg433-244 sisyphus.math.udel.edu!schwenk 14095408 May 06 09:46 [9:46:16]schwenk@sisyphus:~> lpstat -o ewg329 [9:46:21]schwenk@sisyphus:~> lpstat -u schwenk ewg433-244 sisyphus.math.udel.edu!schwenk 14095408 May 06 09:46 [9:46:30]schwenk@sisyphus:~> lpstat -u rakesh [9:46:39]schwenk@sisyphus:~> cancel ewg433-244 friday.math.udel.edu: ewg433-244 dequeued |