Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 120 to 120 | ||||||||
The Linux cluster uses CUPS![]() ![]() ![]() ![]() ![]() | ||||||||
Changed: | ||||||||
< < | The reason why CUPS is used at Nevis is that it only requires complex configuration of the print server; the client machines don't have to be configured at all. This means that if you connect a laptop to the Nevis networks, and that laptop is running CUPS, you'll be able to print to the Nevis printers and make use of the various printer features without installing any additional drivers. (This only applies to laptops with a direct Ethernet connection at Nevis; CUPS is not visible on the wireless networks or in the Annex.) | |||||||
> > | The reason why CUPS is used at Nevis is that it only requires complex configuration of the print server; the client machines don't have to be configured at all. This means that if you connect a laptop to the Nevis networks, and that laptop is running CUPS, you'll be able to print to the Nevis printers and make use of the various printer features without installing any additional drivers. (This only applies to laptops with a direct Ethernet connection at Nevis; CUPS is not visible on the wireless networks.) | |||||||
Print server | ||||||||
Line: 205 to 205 | ||||||||
Note: it's possible for a system's default printer to change; for example, if that printer goes down for a while. | ||||||||
Changed: | ||||||||
< < | Again, use the lpoptions![]() | |||||||
> > | Again, use the lpoptions![]() | |||||||
Changed: | ||||||||
< < | lpoptions -d bw-annex | |||||||
> > | lpoptions -d bw-elec | |||||||
How do I use one of these printers if I'm not at Nevis?The printers at Nevis itself are behind the firewall, and cannot be accessed directly. However, you can still access them using IPP. Setting the "printer" to beprint.nevis.columbia.edu and the "port" or "queue" to be printers/ followed by the name of the Nevis print queue (e.g., printers/bw-research ).
| ||||||||
Deleted: | ||||||||
< < | The printers at the Nevis Annex are generally accessible from anyone in Pupin. | |||||||
How do I print multiple pages on a single sheet of paper?There are several ways. You'll have to experiment to see what's best for you. I prefer to use the enscript![]() ![]() ![]() |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 45 to 45 | ||||||||
Print queues | ||||||||
Changed: | ||||||||
< < | As of 28-Oct-2008, the following print queues are available. To see a list of all available print queues, login to the Nevis Linux cluster and use the lpstat![]() | |||||||
> > | As of 30-Nov-2022, the following print queues are available. To see a list of all available print queues, login to the Nevis Linux cluster and use the lpstat![]() | |||||||
lpstat -a | ||||||||
Line: 79 to 79 | ||||||||
Realistically, there's no need to specify an InputSlot option unless you've walked over to the printer and put some special paper (transparencies, labels, A4 paper) into one of the bins. | ||||||||
Changed: | ||||||||
< < | bw-admin is a smaller, slightly slower (25 ppm) black-and-white HP4100 printer located at the end of the west corridor of the upper floor of the Nevis research building. It does not have duplex printing. It is meant for the use of the people who have offices along that corridor, but it can also be used as an "overflow" printer if bw-research is busy. | |||||||
> > | copier-researchThis is the Ricoh IM 4000 copier/scanner in the Nevis research building. It can be used as an "overflow" printer if bw-research is busy. If you're setting this up on your laptop, you can use any of the following printer drivers:
| |||||||
Other queues | ||||||||
Line: 90 to 97 | ||||||||
bw-testingThis is an HP1200 printer located on the upper floor of the Nevis Electronics Building, in the DOE testing area, and is intended for the use of the people who work on that floor. | ||||||||
Added: | ||||||||
> > | aio-elecThis is an "all-in-one" copier/scanner/printer located in the in Nevis electronics assembly/testing area on the upper floor. It's intended for the use of those who work in that building. | |||||||
bw-elecThis is a B&W printer located in the in Nevis electronics assembly/testing area on the upper floor. It's similar to thebw-research printer. It's intended for
the use of those who work in that building. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 18 to 18 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 19 to 19 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
LinuxOn Linux laptops, both the KDE and GNOME window managers have printer setup utilities. The general information you need is:
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
CUPS direct (Mac and Linux)On both Macs and Linux laptops, if the printer setup utilities seem a bit confusing, you might try to access CUPS directly: | ||||||||
Line: 35 to 35 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Windows
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Print queuesAs of 28-Oct-2008, the following print queues are available. To see a list of all available print queues, login to the Nevis Linux cluster and use the lpstat![]() |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 14 to 14 | ||||||||
However, if you connect via the wireless network, you will not be able to browse the list of queues. You can still print, but will have to add the printer queue to your laptop manually: | ||||||||
Deleted: | ||||||||
< < | LinuxOn Linux laptops, both the KDE and GNOME window managers have printer setup utilities. The general information you need is:
| |||||||
Macintosh
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Added: | ||||||||
> > | LinuxOn Linux laptops, both the KDE and GNOME window managers have printer setup utilities. The general information you need is:
| |||||||
CUPS direct (Mac and Linux)On both Macs and Linux laptops, if the printer setup utilities seem a bit confusing, you might try to access CUPS directly:
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 17 to 17 | ||||||||
LinuxOn Linux laptops, both the KDE and GNOME window managers have printer setup utilities. The general information you need is:
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Macintosh
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
CUPS direct (Mac and Linux)On both Macs and Linux laptops, if the printer setup utilities seem a bit confusing, you might try to access CUPS directly: | ||||||||
Line: 32 to 35 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Windows
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Print queues | ||||||||
Changed: | ||||||||
< < | As of 28-Oct-2008, the following print queues are available. To see a list of all available print queues, use the lpstat![]() | |||||||
> > | As of 28-Oct-2008, the following print queues are available. To see a list of all available print queues, login to the Nevis Linux cluster and use the lpstat![]() | |||||||
lpstat -a | ||||||||
Line: 119 to 121 | ||||||||
Type of queue: lpr Remote server: print.nevis.columbia.edu | ||||||||
Changed: | ||||||||
< < | Remote queue: bw-research | |||||||
> > | Remote queue: printers/bw-research | |||||||
If you're looking for Postscript Printer Description files (PPD files), you can find many of them on the Nevis Linux cluster, in directory /usr/nevis/printing/ppds/ . |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 52 to 52 | ||||||||
bw-research | ||||||||
Changed: | ||||||||
< < | bw-research is the main "workhorse" printer. It's a fast black-and-white HP P4014 printer. This printer has a duplexing feature, which allows you to print on both sides of a sheet of paper. To use the feature on Linux, the command is: | |||||||
> > | bw-research is the main "workhorse" printer. It's a fast black-and-white HP M601 printer. This printer has a duplexing feature, which allows you to print on both sides of a sheet of paper. To use the feature on Linux, the command is: | |||||||
lpr -Pbw-research -o Duplex=DuplexNoTumble <filename> | ||||||||
Line: 60 to 60 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 79 to 79 | ||||||||
bw-admin is a smaller, slightly slower (25 ppm) black-and-white HP4100 printer located at the end of the west corridor of the upper floor of the Nevis research building. It does not have duplex printing. It is meant for the use of the people who have offices along that corridor, but it can also be used as an "overflow" printer if bw-research is busy. | ||||||||
Deleted: | ||||||||
< < | bw-annexThis is a B&W printer located in the Nevis Annex at Pupin. It supports duplex printing.color-annex (or colour-annex)This is a color printer located in the Nevis Annex at Pupin. It differs from the color printer at Nevis in that it has only one input tray. | |||||||
Other queuesbw-design |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 68 to 68 | ||||||||
lpr -Pbw-research -o Duplex=DuplexNoTumble -o InputSlot=Tray2 thesis.ps
color-research (or colour-research) | ||||||||
Changed: | ||||||||
< < | As the name implies, color-research is an HP2605 color printer. It is slower than bw-research (10 pages per minute). The color printer has three input trays, similar to bw-research : manual, upper, and lower. The manual "tray" is actually a single-sheet feeder in the front of the upper tray. The lower and upper trays are stocked with plain paper. It is capable of duplex printing. | |||||||
> > | As the name implies, color-research is an HP553dn color printer. It is capable of duplex printing. | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < | Realistically, there's no need to specify an InputSlot option unless you've walked over to the printer and put some special paper (transparencies, labels, A4 paper) into one of the bins. We used to put transparencies into the upper bin, but these are now used so rarely that we don't bother. | |||||||
> > | Realistically, there's no need to specify an InputSlot option unless you've walked over to the printer and put some special paper (transparencies, labels, A4 paper) into one of the bins. | |||||||
Deleted: | ||||||||
< < | bw-admin | |||||||
bw-admin is a smaller, slightly slower (25 ppm) black-and-white HP4100 printer located at the end of the west corridor of the upper floor of the Nevis research building. It does not have duplex printing. It is meant for the use of the people who have offices along that corridor, but it can also be used as an "overflow" printer if bw-research is busy.
bw-annex |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 12 to 12 | ||||||||
If you connect your laptop to via an Ethernet connection, and your laptop is running CUPS, you will be able to browse the list of available print queues and select one. | ||||||||
Changed: | ||||||||
< < | However, if you connect via a wireless network or at the Annex, you will not be able to browse the list of queues. You can still print, but will have to add the printer queue to your laptop manually: | |||||||
> > | However, if you connect via the wireless network, you will not be able to browse the list of queues. You can still print, but will have to add the printer queue to your laptop manually: | |||||||
LinuxOn Linux laptops, both the KDE and GNOME window managers have printer setup utilities. The general information you need is: | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Macintosh
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
CUPS direct (Mac and Linux)On both Macs and Linux laptops, if the printer setup utilities seem a bit confusing, you might try to access CUPS directly: | ||||||||
Line: 33 to 32 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Windows
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Print queues | ||||||||
Line: 51 to 50 | ||||||||
Main print queues | ||||||||
Changed: | ||||||||
< < | bw-research (or "hp4300" or "qms1") | |||||||
> > | bw-research | |||||||
Changed: | ||||||||
< < | bw-research is the main "workhorse" printer.
Note: The main printer at Nevis used to be called qms1 , and then hp4300 . In order that some old print commands will still work, the old queue names are still available.
bw-research is a fast black-and-white HP P4014 printer. This printer has a duplexing feature, which allows you to print on both sides of a sheet of paper. To use the feature, the command is: | |||||||
> > | bw-research is the main "workhorse" printer. It's a fast black-and-white HP P4014 printer. This printer has a duplexing feature, which allows you to print on both sides of a sheet of paper. To use the feature on Linux, the command is: | |||||||
lpr -Pbw-research -o Duplex=DuplexNoTumble <filename> | ||||||||
Line: 68 to 63 | ||||||||
| ||||||||
Changed: | ||||||||
< < | When you put three-hole-punch paper in the lower bin, it's commonly combined with the duplex option to print long documents that can be placed in looseleaf binders. For example: | |||||||
> > | When you put three-hole-punch paper in the lower bin, it's commonly combined with the duplex option to print long documents that can be placed in loose-leaf binders. For example: | |||||||
lpr -Pbw-research -o Duplex=DuplexNoTumble -o InputSlot=Tray2 thesis.ps | ||||||||
Line: 94 to 89 | ||||||||
Other queues | ||||||||
Changed: | ||||||||
< < | bw-design (or hp2300) | |||||||
> > | bw-design | |||||||
This is an HP3015 printer located in the electronics design area of the lower floor of the Nevis Electronics Building, and is intended for the use of the people who work on that floor. | ||||||||
Changed: | ||||||||
< < | bw-testing (or hp1200) | |||||||
> > | bw-testing | |||||||
This is an HP1200 printer located on the upper floor of the Nevis Electronics Building, in the DOE testing area, and is intended for the use of the people who work on that floor.
bw-elec | ||||||||
Line: 212 to 207 | ||||||||
How do I use one of these printers if I'm not at Nevis? | ||||||||
Changed: | ||||||||
< < | The printers at Nevis itself are behind the firewall, and cannot be accessed directly. However, you can still access them using IPP. Setting the "printer" to be print.nevis.columbia.edu and the "port" or "queue" to be printers/ followed by the name of the Nevis print queue (e.g., printers/bw-research ). There are detailed instructions above. | |||||||
> > | The printers at Nevis itself are behind the firewall, and cannot be accessed directly. However, you can still access them using IPP. Setting the "printer" to be print.nevis.columbia.edu and the "port" or "queue" to be printers/ followed by the name of the Nevis print queue (e.g., printers/bw-research ). | |||||||
The printers at the Nevis Annex are generally accessible from anyone in Pupin. | ||||||||
Line: 237 to 232 | ||||||||
If the problem that the image is too large, try the option -o scaling=100 . This should scale the image so that it fits on one sheet of paper. (By the way, this is a neat way of printing documents sized for A4 paper onto American letter-size paper, and vice versa.)
| ||||||||
Changed: | ||||||||
< < | Otherwise, I don't have a general solution to this kind of problem. You'll have to experiment on your own. | |||||||
> > | Otherwise, I don't have a general solution to this kind of problem. You'll have to experiment on your own. | |||||||
How do I use one set of options for printing text files, and another for printing postscript files? |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 8 to 8 | ||||||||
This page describes some basic commands related to printing on the Nevis Linux cluster. | ||||||||
Changed: | ||||||||
< < | How to configure printers on your computer (laptops) | |||||||
> > | How to configure printers on your laptop | |||||||
If you connect your laptop to via an Ethernet connection, and your laptop is running CUPS, you will be able to browse the list of available print queues and select one. | ||||||||
Line: 95 to 95 | ||||||||
Other queuesbw-design (or hp2300) | ||||||||
Changed: | ||||||||
< < | This is an HP2420 printer located in the electronics design area of the lower floor of the Nevis Electronics Building, and is intended for the use of the people who | |||||||
> > | This is an HP3015 printer located in the electronics design area of the lower floor of the Nevis Electronics Building, and is intended for the use of the people who | |||||||
work on that floor.
bw-testing (or hp1200) | ||||||||
Line: 235 to 235 | ||||||||
See the section on image options![]() ![]() | ||||||||
Changed: | ||||||||
< < | If the problem that the image is too large, try the option -o caling=100 . This should scale the image so that it fits on one sheet of paper. (By the way, this is a neat way of printing documents sized for A4 paper onto American letter-size paper, and vice versa.) | |||||||
> > | If the problem that the image is too large, try the option -o scaling=100 . This should scale the image so that it fits on one sheet of paper. (By the way, this is a neat way of printing documents sized for A4 paper onto American letter-size paper, and vice versa.) | |||||||
Otherwise, I don't have a general solution to this kind of problem. You'll have to experiment on your own. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 57 to 57 | ||||||||
Note: The main printer at Nevis used to be called qms1 , and then hp4300 . In order that some old print commands will still work, the old queue names are still available. | ||||||||
Changed: | ||||||||
< < | bw-research is a fast black-and-white HP2430 printer whose maximum speed is about 35 pages per minute. This printer has a duplexing feature, which allows you to print on both sides of a sheet of paper. To use the feature, the command is: | |||||||
> > | bw-research is a fast black-and-white HP P4014 printer. This printer has a duplexing feature, which allows you to print on both sides of a sheet of paper. To use the feature, the command is: | |||||||
lpr -Pbw-research -o Duplex=DuplexNoTumble <filename> | ||||||||
Changed: | ||||||||
< < | The bw-research printer has three paper input trays: manual, upper, and lower. Typically, both the upper and lower trays are filled with plain white paper; for special jobs you can put transparencies, three-ho paper, or A4 (European metric) paper into the lower tray.
Note: As of Apr-2010, the upper paper tray on this printer is not working properly. Given the infrequency with which the printers are now used, this is not likely to be fixed anytime soon. *Do not put paper into Tray 2 of this printer!*
If any sheets are put into the manual bin (transparencies, for example) the printer uses it by default. Otherwise the paper comes from the upper printer bin, or the lower bin if the upper is empty. The correspondence is: | |||||||
> > | The bw-research printer has two paper input trays: manual, and lower. If any sheets are put into the manual bin (transparencies, for example) the printer uses it by default. Otherwise the paper comes from the lower bin. The correspondence is: | |||||||
| ||||||||
Deleted: | ||||||||
< < |
| |||||||
| ||||||||
Changed: | ||||||||
< < | lpr -Pbw-research -o Duplex=DuplexNoTumble -o InputSlot=Tray3 thesis.ps | |||||||
> > | lpr -Pbw-research -o Duplex=DuplexNoTumble -o InputSlot=Tray2 thesis.ps | |||||||
color-research (or colour-research)As the name implies,color-research is an HP2605 color printer. It is slower than bw-research (10 pages per minute). The color printer has three input trays, similar to bw-research : manual, upper, and lower. The manual "tray" is actually a single-sheet feeder in the front of the upper tray. The lower and upper trays are stocked with plain paper. It is capable of duplex printing. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 135 to 135 | ||||||||
If you're using a system outside those networks, and you wish to print on a Nevis cluster printer, see the FAQ below.; a typical setup for your system might be (using bw-research as an example):
| ||||||||
Changed: | ||||||||
< < | Type of queue: lpr Remote server: print.nevis.columbia.edu Remote queue: bw-research | |||||||
> > | Type of queue: lpr Remote server: print.nevis.columbia.edu Remote queue: bw-research | |||||||
If you're looking for Postscript Printer Description files (PPD files), you can find many of them on the Nevis Linux cluster, in directory /usr/nevis/printing/ppds/ . | ||||||||
Line: 148 to 148 | ||||||||
lpr filename | ||||||||
Changed: | ||||||||
< < | will print the file "filename" on the default print queue; you can find out the default queue with the command [[http://www.nevis.columbia.edu/cgi-bin/man.sh?man=lpstat][lpstat]] -d | |||||||
> > | will print the file "filename" on the default print queue; you can find out the default queue with the command lpstat -d | |||||||
If you want to print a file on a printer that's not your default (a color printer, perhaps), use the -P option to select the print queue:
lpr -Pqueue-name filename |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Changed: | ||||||||
< < | This page describes some basic commands related to printing on the Nevis Linux cluster. | |||||||
> > | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > | This page describes some basic commands related to printing on the Nevis Linux cluster. | |||||||
How to configure printers on your computer (laptops) | ||||||||
Line: 197 to 199 | ||||||||
Frequently Asked Questions | ||||||||
Changed: | ||||||||
< < | How do I set my default options so that I always print two-sided? | |||||||
> > | How do I set my default options so that I always print two-sided? | |||||||
Use the lpoptions![]() lpoptions -p bw-research -o Duplex=DuplexNoTumble | ||||||||
Changed: | ||||||||
< < | How do I change my default printer? | |||||||
> > | How do I change my default printer? | |||||||
Note: it's possible for a system's default printer to change; for example, if that printer goes down for a while. | ||||||||
Line: 213 to 215 | ||||||||
lpoptions -d bw-annex | ||||||||
Changed: | ||||||||
< < | How do I use one of these printers if I'm not at Nevis? | |||||||
> > | How do I use one of these printers if I'm not at Nevis? | |||||||
The printers at Nevis itself are behind the firewall, and cannot be accessed directly. However, you can still access them using IPP. Setting the "printer" to be print.nevis.columbia.edu and the "port" or "queue" to be printers/ followed by the name of the Nevis print queue (e.g., printers/bw-research ). There are detailed instructions above.
The printers at the Nevis Annex are generally accessible from anyone in Pupin.
| ||||||||
Changed: | ||||||||
< < | How do I print multiple pages on a single sheet of paper? | |||||||
> > | How do I print multiple pages on a single sheet of paper? | |||||||
There are several ways. You'll have to experiment to see what's best for you. I prefer to use the enscript![]() ![]() ![]() lpr -o number-up=2 filename | ||||||||
Changed: | ||||||||
< < | The margins look funny when I print a plain text file. How do I fix this? | |||||||
> > | The margins look funny when I print a plain text file. How do I fix this? | |||||||
See the section on text options![]() ![]() | ||||||||
Line: 234 to 236 | ||||||||
Note that the above options are already the default for all the print queues on the Linux cluster (they correspond to a 1/2-inch margin on all page edges). If these margins are not sufficient, you'll have to increase them. | ||||||||
Changed: | ||||||||
< < | An image looks like it's scaled incorrectly or displaced on the page. How do I fix this? | |||||||
> > | An image looks like it's scaled incorrectly or displaced on the page. How do I fix this? | |||||||
See the section on image options![]() ![]() | ||||||||
Line: 243 to 245 | ||||||||
Otherwise, I don't have a general solution to this kind of problem. You'll have to experiment on your own. | ||||||||
Changed: | ||||||||
< < | How do I use one set of options for printing text files, and another for printing postscript files? | |||||||
> > | How do I use one set of options for printing text files, and another for printing postscript files? | |||||||
There are two ways: | ||||||||
Line: 265 to 267 | ||||||||
lpr -P bw-research/text filename.txt | ||||||||
Changed: | ||||||||
< < | Printing large text files | |||||||
> > | Printing large text files | |||||||
If you want to print a long text file, consider using the enscript![]() | ||||||||
Line: 274 to 276 | ||||||||
--printer=bw-research --setpagedevice=Duplex:true <filename> | ||||||||
Changed: | ||||||||
< < | Using three-hole-punch paper | |||||||
> > | Using three-hole-punch paper | |||||||
To print on three-hole-punch paper, check that the tray (3 in this example) holds the correct type of paper and use the following command:
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Printing | ||||||||
Line: 17 to 17 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Macintosh
|
Line: 1 to 1 | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Added: | |||||||||||||||||||||||
> > |
Nevis PrintingThis page describes some basic commands related to printing on the Nevis Linux cluster.
How to configure printers on your computer (laptops)If you connect your laptop to via an Ethernet connection, and your laptop is running CUPS, you will be able to browse the list of available print queues and select one. However, if you connect via a wireless network or at the Annex, you will not be able to browse the list of queues. You can still print, but will have to add the printer queue to your laptop manually:LinuxOn Linux laptops, both the KDE and GNOME window managers have printer setup utilities. The general information you need is:
Macintosh
CUPS direct (Mac and Linux)On both Macs and Linux laptops, if the printer setup utilities seem a bit confusing, you might try to access CUPS directly: * Open a web browser (you're running one now, aren't you?) and use this URL: <http://localhost:631![]() ipp://print.nevis.columbia.edu/printers/<queue-name>
Windows
Print queuesAs of 28-Oct-2008, the following print queues are available. To see a list of all available print queues, use the lpstat![]() lpstat -a Main print queuesbw-research (or "hp4300" or "qms1")bw-research is the main "workhorse" printer.
Note: The main printer at Nevis used to be called qms1 , and then hp4300 . In order that some old print commands will still work, the old queue names are still available.
bw-research is a fast black-and-white HP2430 printer whose maximum speed is about 35 pages per minute. This printer has a duplexing feature, which allows you to print on both sides of a sheet of paper. To use the feature, the command is:
lpr -Pbw-research -o Duplex=DuplexNoTumble <filename>The bw-research printer has three paper input trays: manual, upper, and lower. Typically, both the upper and lower trays are filled with plain white paper; for special jobs you can put transparencies, three-ho paper, or A4 (European metric) paper into the lower tray.
Note: As of Apr-2010, the upper paper tray on this printer is not working properly. Given the infrequency with which the printers are now used, this is not likely to be fixed anytime soon. *Do not put paper into Tray 2 of this printer!*
If any sheets are put into the manual bin (transparencies, for example) the printer uses it by default. Otherwise the paper comes from the upper printer bin, or the lower bin if the upper is empty. The correspondence is:
lpr -Pbw-research -o Duplex=DuplexNoTumble -o InputSlot=Tray3 thesis.ps color-research (or colour-research)As the name implies,color-research is an HP2605 color printer. It is slower than bw-research (10 pages per minute). The color printer has three input trays, similar to bw-research : manual, upper, and lower. The manual "tray" is actually a single-sheet feeder in the front of the upper tray. The lower and upper trays are stocked with plain paper. It is capable of duplex printing.
InputSlot option unless you've walked over to the printer and put some special paper (transparencies, labels, A4 paper) into one of the bins. We used to put transparencies into the upper bin, but these are now used so rarely that we don't bother.
bw-adminbw-admin is a smaller, slightly slower (25 ppm) black-and-white HP4100 printer located at the end of the west corridor of the upper floor of the Nevis research building. It does not have duplex printing. It is meant for the use of the people who have offices along that corridor, but it can also be used as an "overflow" printer if bw-research is busy.
bw-annexThis is a B&W printer located in the Nevis Annex at Pupin. It supports duplex printing.color-annex (or colour-annex)This is a color printer located in the Nevis Annex at Pupin. It differs from the color printer at Nevis in that it has only one input tray.Other queuesbw-design (or hp2300)This is an HP2420 printer located in the electronics design area of the lower floor of the Nevis Electronics Building, and is intended for the use of the people who work on that floor.bw-testing (or hp1200)This is an HP1200 printer located on the upper floor of the Nevis Electronics Building, in the DOE testing area, and is intended for the use of the people who work on that floor.bw-elecThis is a B&W printer located in the in Nevis electronics assembly/testing area on the upper floor. It's similar to thebw-research printer. It's intended for
the use of those who work in that building.
color-elec (or colour-elec)This is a color printer located in the in Nevis electronics assembly/testing area, similar to thecolor-research printer. It's intended for the use of those who work in that building.
OthersThere are other print queues in existence, but they are restricted the use of specific working groups at Nevis or Pupin, and are not for general use. You may also see other printers at Pupin when browsing with CUPS; use them at your own risk.Linux printingConceptsCUPSThe Linux cluster uses CUPS![]() ![]() ![]() ![]() ![]() Print serverIn CUPS![]() print.nevis.columbia.edu . This print server is configured to deny access to systems outside the Nevis networks for security reasons.
If you're using a system outside those networks, and you wish to print on a Nevis cluster printer, see the FAQ below.; a typical setup for your system might be (using bw-research as an example):
Type of queue: *lpr* Remote server: *print.nevis.columbia.edu* Remote queue: *bw-research*If you're looking for Postscript Printer Description files (PPD files), you can find many of them on the Nevis Linux cluster, in directory /usr/nevis/printing/ppds/ .
Printing from the command linelpr![]() lpr filenamewill print the file "filename" on the default print queue; you can find out the default queue with the command [[http://www.nevis.columbia.edu/cgi-bin/man.sh?man=lpstat][lpstat]] -dIf you want to print a file on a printer that's not your default (a color printer, perhaps), use the -P option to select the print queue:
lpr -Pqueue-name filenameTo set printer options, use the -o option of the lpr command. Some examples:
lpr -Pbw-research -o Duplex=DuplexNoTumble filenamewill print on the main black-and-white printer using both sides of the paper. (See the description of the bw-research printer below.)
For color duplex printing, use:
lpr -Pcolor-research -o InputSlot=Plain -o Duplex=DuplexNoTumble filenameFor a list of options available on a print queue, use the lpoptions ![]() lpoptions -p color-research -lTo see what jobs are printing, and the status of the print queues, use the lpstat ![]() lpstat -u Status and control commandsTo check the status of a print queue, use the lpstat![]() lpstat -p bw-research -uIf you want to remove one of your jobs from the print queue, use the lprm ![]() # lpstat -u printer bw-research now printing bw-research-0. enabled since Jan 01 00:00 bw-research-81 seligman 11264 Mon 15 Dec 2003 05:08:38 PM EST # lprm 81Note that usually only the number of the job is necessary to cancel it. Frequently Asked QuestionsHow do I set my default options so that I always print two-sided?Use the lpoptions![]() lpoptions -p bw-research -o Duplex=DuplexNoTumble How do I change my default printer?Note: it's possible for a system's default printer to change; for example, if that printer goes down for a while. Again, use the lpoptions![]() lpoptions -d bw-annex How do I use one of these printers if I'm not at Nevis?The printers at Nevis itself are behind the firewall, and cannot be accessed directly. However, you can still access them using IPP. Setting the "printer" to beprint.nevis.columbia.edu and the "port" or "queue" to be printers/ followed by the name of the Nevis print queue (e.g., printers/bw-research ). There are detailed instructions above.
The printers at the Nevis Annex are generally accessible from anyone in Pupin.
How do I print multiple pages on a single sheet of paper?There are several ways. You'll have to experiment to see what's best for you. I prefer to use the enscript![]() ![]() ![]() lpr -o number-up=2 filename The margins look funny when I print a plain text file. How do I fix this?See the section on text options![]() ![]() lpr filename.txt -o page-left=36 -o page-right=36 -o page-top=36 -o page-bottom=36Note that the above options are already the default for all the print queues on the Linux cluster (they correspond to a 1/2-inch margin on all page edges). If these margins are not sufficient, you'll have to increase them. An image looks like it's scaled incorrectly or displaced on the page. How do I fix this?See the section on image options![]() ![]() -o caling=100 . This should scale the image so that it fits on one sheet of paper. (By the way, this is a neat way of printing documents sized for A4 paper onto American letter-size paper, and vice versa.)
Otherwise, I don't have a general solution to this kind
of problem. You'll have to experiment on your own.
How do I use one set of options for printing text files, and another for printing postscript files?There are two ways: 1) Use command aliases. For example, if you put the following in your~/.myprofile file:
alias lptext="lpr -P bw-research -o sides=two-sided-long-edge -o number-up=2 -o page-border=single"... then (after source ~/.myprofile or re-logging) the following command will print a file with duplex, two pages on each side, and a border around each page:
lptext filename.txt2) Use printer instances ![]() lpoptions -p bw-research/text -o sides=two-sided-long-edge -o number-up=2 -o page-border=singlethen you can print a text file with: lpr -P bw-research/text filename.txt Printing large text filesIf you want to print a long text file, consider using the enscript![]() enscript -q2rGj -Pbw-research -DDuplex:true <filename> enscript --quiet --columns=2 --landscape --fancy-header --borders \ --printer=bw-research --setpagedevice=Duplex:true <filename> Using three-hole-punch paperTo print on three-hole-punch paper, check that the tray (3 in this example) holds the correct type of paper and use the following command:enscript -Gj --margins=36:36:: -o - <filename> | \ lpr -Pbw-research -o Duplex=DuplexNoTumble -o InputSlot=Tray3 filename |