Sean Hincheeinitial push75d07b48 years agoHistory
88 lines · 3.0 KB · HTML
RawDownload
<html><head><title>Printer Configuration (Editing Wed Aug 10 20:22:02 EDT 2005 version)</title><META http-equiv="Content-Type" content="text/html; charset=utf-8"></head><!-- FFFFE9 is acme yellow; FFFFE9 is as close as you can get to it before charon decides to use  grey instead of map entry 254 --><body bgcolor="#FFFFE9" link="#0000AA" alink="#0000AA" vlink="#0000AA"><center><font size=+2><b>Printer Configuration</b></font> (Editing Wed Aug 10 20:22:02 EDT 2005 version)</center><p> For information on editing, see thedescription of <a href="../0">Plan 9 wiki syntax</a>.<p><form action="/magic/wikipost" method="post"><table><tr><td valign=top><input type="submit" name="x" value="Put"></td><td><table><tr><td align=right>(optional) Comment:</td><td><input type="text" name="comment" value="" cols=40></td></tr><tr><td align=right>(optional) Email:</td><td><input type="text" name="author" value="" cols=40></td></tr></table><input type="hidden" name="title" value="Printer Configuration"><input type="hidden" name="version" value="1123719722"><input type="hidden" name="service" value="plan9"><input type="hidden" name="base" value="/wiki/plan9"><p><textarea name="text" wrap="virtual" cols="80" rows="25">The Plan 9 print spooler lp does not take the same arguments as theBSD lpr, nor as the lp that ships with some Unixes. It is worthreading the manual page lp(8) to get up to speed on useful options.The file /sys/lib/lp/devices contains example devices for printing toprinters on parallel ports or BSD lpr-based queues. NON-POSTSCRIPT PRINTERS In the most recent releases, lp can send to any printer whose formatis output by Ghostscript (in addition to the usual Postscriptprinters). If you have a Ghostscript-supported printer, use``gs!devicename'' instead of ``post'' or ``post2''. Follow theexample for canonbjc240l in the devices file. NETWORK PRINTERS To print to printers that speak BSD lpr (such as those using HPJetDirect cards) follow the example for vogon in /sys/lib/lp/devices. Charles Forsyth has a small program and additions to lp to print toMicrosoft SMB print servers. For the distribution, see[http://www.vitanuova.com/plan9/co/smb/index.html]. Set your default printer destination using the enviroment variable: !         LPDEST FONTS Postscript printers may not have the correct fonts to print the Plan9manual pages and documents. These can be downloaded automatically bythe printer driver, you just need change the line: ! @{bind -b $LPLIB/process /bin; $LPPROC} < $j | /$cputype/bin/aux/lpdsend ... in /sys/lib/lp/spooler/lpdspool by: ! @{bind -b $LPLIB/process /bin; $LPPROC} < $j | aux/download -f -H/sys/lib/postscript/font -mfontmap -plw+ | /$cputype/bin/aux/lpdsend ... </textarea><p></td></table></form> <hr><table width=100%><tr><td valign=center align=left></td><td valign=center align=right><a href="../about.html">About the server</a>| <a href="http://plan9.bell-labs.com/plan9"><img src="http://plan9.bell-labs.com/plan9/img/power36.gif"alt="Powered by Plan 9"></a></td></tr></table></html></body>