PrintingGuide: Difference between revisions

From Earlham CS Department
Jump to navigation Jump to search
Skylar (talk | contribs)
No edit summary
 
Ttphan21 (talk | contribs)
m Replaced content with "[https://earlham.atlassian.net/wiki/spaces/ITSKB/pages/9011202/Web+Print All information for printing on campus is here]"
Tag: Replaced
 
Line 1: Line 1:
== Available Printers ==
[https://earlham.atlassian.net/wiki/spaces/ITSKB/pages/9011202/Web+Print All information for printing on campus is here]
 
The Computer Science Department provides support to the following printers:
 
# Dennis 224 Mac Lab (''D224'')
# Math/CS Lounge (''CSLounge'')
# Dennis 4th Floor (''4thfloor'')
# Lilly Library PC Lab (''Lilly'')
# Wildman Library PC Lab (''Wildman'')
# LBC PC Lab (''LBC'')
# Mary Lou's Office (''MaryLou'')
 
== Printing Tutorial ==
=== <tt>a2ps</tt> ===
 
<tt>a2ps</tt> formats files for printing on a PostScript&reg;The format used is nice and compact: normally two pages on each physical page, borders surrounding pages, headers with useful information (page number, printing date,  le name or supplied header), line numbering, pretty-printing, symbol substitution, etc.
 
==== General use ====
 
<center><tt>a2ps</tt> '''-P''' ''printer_name'' [OPTIONS] ''filename''</center>
 
<TABLE border="1" summary="Command summary for the a2ps printing tool">
<CAPTION>Usage of the <tt>a2ps</tt> printing tool</CAPTION>
<TR><TH>''Option''<TD>''Task''
<TR><TH>'''-P'''<TD>Specify a printer (i.e. ''D224'')
<TR><TH>'''-R'''<TD>Print in portrait mode
<TR><TH>'''-r'''<TD>Print in landscape mode
<TR><TH>'''--header[=text]'''<TD>Print a header of optional text
<TR><TH>'''--footer[=text]'''<TD>Print a footer of optional text
<TR><TH>'''--side=mode'''<TD>mode is either duplex, simplex, or tumble
<TR><TH>'''-1..-9'''<TD>Predefined font sizes
<TR><TH>'''--output=FILE'''<TD>Leave output to FILE
<TR><TH>'''--copies=NUM'''<TD>Print NUM copies
<TR><TH>'''--toc[=title]'''<TD>Generate a table of contents with title '''title'''
</TABLE>
 
==== Example ====
 
To print the C file ''bar.c'' and its header ''foo.h'', on four virtual pages, duplex mode, on the ''CSLounge'' printer and save it into the file ''baz.ps'':
 
<center><tt>a2ps</tt> ''foo.h'' ''bar.c'' -4 '''-o''' ''baz.ps'' --sides=diuplex '''-P''' ''CSLounge''</center>
 
The option -4 tells <tt>a2ps</tt> to make four virtual pages (two ows by two columns). For more options on how to use <tt>a2ps</tt> check the man apge by running <tt>man a2ps</tt>.
 
=== <tt>lpr</tt> ===
 
<tt>lpr</tt> is an off-line print utility. <tt>lpr</tt> uses a spooling daemon <tt>lpd</tt> to print the named files when facilities become available. If no names appear, the standard input is assumed
 
==== General use =====
 
<TABLE border="1" summary="Command summary for the lpr printing tool">
<CAPTION>Usage of the <tt>lpr</tt> printing tool</CAPTION>
<TR><TH>''Option''<TD>''Task''
<TR><TH>'''-P'''<TD>Specify a printer (i.e. ''D224'')
<TR><TH>'''-Z''' mode'''<TD>mode is either duplex, landscape, or duplex
<TR><TH>-# n<TD>Print '''n''' copies
<TR><TH>'''-T'''<TD>Prints a title
</TABLE>
 
==== Example ====
 
To print ''foo.txt'' to the Dennis 224 Mac Lab using landscape format:
 
<center><tt>lpr</tt> '''-P''' ''D224'' -Z landscape ''foo.txt''</center>
 
For more information on how to use <tt>lpr</tt>, please check the man page by running <tt>man lpr</tt>.
 
== Miscellany ==
 
Computer Science students are encouraged to print to the ''D224'' printer since it is funded by Earlham College Computer Services. If that printer happens to be non-functional, try ''CSLounge'' and, only in emergencies, ''MaryLou''.
 
If you have any questions or concerns about printing procedures and policies, please direct them to the [[SysadminContactInfo|Computer Science System and Network Adminstrators]].

Latest revision as of 20:27, 4 January 2023