Difference: Printing (2 vs. 3)

Revision 32010-09-28 - WilliamSeligman

Line: 1 to 1
 
META TOPICPARENT name="Computing"

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 command. For example, to set double-sided printing as the default option on the bw-research print queue:
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 command; some people prefer to use a2ps; there are also CUPS options, though the results are not as fancy what the above programs can produce:
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 in the CUPS documentation. In general, you probably want something like this:

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 in the CUPS documentation.

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 command, which formats a text file into Postscript format. The following commands will print the text file two text pages per side, double-sided (good for long program listings). Both commands do the same thing, but the options are shown in both the short and long forms.

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:

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback