https://wiki.cs.earlham.edu/index.php?title=Printers&feed=atom&action=history Printers - Revision history 2024-03-29T10:00:54Z Revision history for this page on the wiki MediaWiki 1.32.1 https://wiki.cs.earlham.edu/index.php?title=Printers&diff=15767&oldid=prev Kmmuter11 at 14:37, 17 December 2015 2015-12-17T14:37:31Z <p></p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 14:37, 17 December 2015</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">==We no longer support printers, old printer information below==</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>How to add a printer using lprngtool</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>How to add a printer using lprngtool</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> </table> Kmmuter11 https://wiki.cs.earlham.edu/index.php?title=Printers&diff=5811&oldid=prev Admin at 21:01, 18 June 2007 2007-06-18T21:01:40Z <p></p> <p><b>New page</b></p><div>How to add a printer using lprngtool<br /> <br /> First make sure you have lprngtool installed on machine your working on. <br /> <br /> Adding Printers that are already on the CS Subnet to a local machine:<br /> NB: This is assuming:<br /> You (the user) have sudo or root access.<br /> The machine in question is already on the CS Subnet, either as an ACL or a personal machine getting served from the CS Subnet. If not your not working from the CS Subnet, lprngtool will always display the error message:<br /> Error executing command 'lpq -a -s'<br /> Get_local_host: hostname 'your_hostname@domain' bad<br /> <br /> <br /> Open up a terminal and type in lprngtool &amp;<br /> Once lprngtool comes up click on View Printcaps<br /> At this point, the system printcap file /etc/printcap still should be empty. <br /> Click on Add. <br /> Select Print Queue in the menu that shows up and click Create<br /> A menu with parameters to be filled will appear. Fill these up as follows:<br /> <br /> Names (name|alias1|...) -- fill in the canonical name of the printer, for example the name of the printer in Dennis 224 is lp1. Optionally fill out the aliases, separating them with the pipe key. eg. For the printer in Dennis 224 the entry will be: lp1|D224|d224<br /> <br /> Comments – fill out a description of the printer (this is optional but can be useful)<br /> <br /> Spool directory – (optional) fill out the spooling directory: /var/spool/lpd/%P<br /> <br /> Remote host -- for printers owned by the CS department fill in quark.cs.earlham.edu<br /> -- for printers controlled by ECS fill in mina.earlham.edu <br /> <br /> Remote Queue (default %P) – fill the the printer's queue on the server. The queues are clearly defined for printers on the CS Subnet as lp0, lp1, etc. For ECS (mina) printers, type in %P (the default)<br /> <br /> Filter – select IFHP. This should default to something like /usr/lib/ifhp/ifhp. It is advisable to copy the filters used by quark: /usr/libexec/filters/ifhp<br /> <br /> Select Printer model and Filter options: -- fill in the appropriate printer model<br /> Select LPR Job and Filter Options: -- never mind this<br /> <br /> Under Printcap for: select the field Client Only (:client)<br /> Under Spool action: select the field Remote Queue or Device (:force_localhost@)<br /> Under Printer Type: select Queue<br /> <br /> Click ok to create the printcap entry. The following message should appear:<br /> PRINTCAP<br /> ##LPRNGTOOL## QUEUE filtertype=IFHP etc etc<br /> :sh<br /> <br /> Do you want to write this printcap entry?<br /> Select Yes<br /> <br /> To add a new printer, just proceed as above. Remember to assign a new printqueue to the printer</div> Admin