From: John D Groenveld on 2 Feb 2010 15:14 In article <aae464a1-943c-4be0-a6d2-a676647c4813(a)h9g2000prn.googlegroups.com>, underh20 <underh20.scubadiving(a)gmail.com> wrote: >It's a HP LaserJet 8150DN printer. On atlantis global zone: # lpadmin -p hp8150dn -v /dev/null -m netstandard_foomatic \ -n /usr/lib/lp/model/ppd/system/foomatic/HP/HP-LaserJet_8150-hpijs.ppd.gz \ -o dest=HP8150DN_IP_ADDRESS:9100 -o Duplex=DuplexNoTumble \ -o banner=never -T PS -I postscript # /bin/enable hp8150dn # /usr/sbin/accept hp8150dn # lp -d hp8150dn /usr/share/ghostscript/8.64/examples/alphabet.ps If that works, then in zoneA: # lpadmin -p printer1 -s atlantis!hp8150dn # lp -d hp8150dn /usr/share/ghostscript/8.64/examples/alphabet.ps John groenveld(a)acm.org
From: underh20 on 4 Feb 2010 13:50 Jon, We were able to follow your procedure and created the printer in the global and local zone. However, our mgnt just informed us the need to switch to another model printer with new name. How does one remove this printer completely in global and local zone ? We'll re-create it using the procedure afterwards. # lpstat -t scheduler is running no system default destination system for printer1: zoneA (as ipp://atlantis/printers/printer1) printer1 accepting requests since Wed Feb 03 00:58:33 2010 printer printer1 idle. enabled since Wed Feb 03 00:58:33 2010. available. Thanks, Bill On Feb 2, 12:14 pm, groen...(a)cse.psu.edu (John D Groenveld) wrote: > In article <aae464a1-943c-4be0-a6d2-a676647c4...(a)h9g2000prn.googlegroups.com>, > > underh20 <underh20.scubadiv...(a)gmail.com> wrote: > >It's a HP LaserJet 8150DN printer. > > On atlantis global zone: > # lpadmin -p hp8150dn -v /dev/null -m netstandard_foomatic \ > -n /usr/lib/lp/model/ppd/system/foomatic/HP/HP-LaserJet_8150-hpijs.ppd.gz \ > -o dest=HP8150DN_IP_ADDRESS:9100 -o Duplex=DuplexNoTumble \ > -o banner=never -T PS -I postscript > # /bin/enable hp8150dn > # /usr/sbin/accept hp8150dn > # lp -d hp8150dn /usr/share/ghostscript/8.64/examples/alphabet.ps > > If that works, then in zoneA: > # lpadmin -p printer1 -s atlantis!hp8150dn > # lp -d hp8150dn /usr/share/ghostscript/8.64/examples/alphabet.ps > > John > groenv...(a)acm.org
From: John D Groenveld on 4 Feb 2010 14:26 In article <2fc64dca-4de2-47b1-9db6-f093c67cc7cb(a)t17g2000prg.googlegroups.com>, underh20 <underh20.scubadiving(a)gmail.com> wrote: >However, our mgnt just informed us the need to switch to another model >printer with new name. What's the new make and model? >How does one remove this printer completely in global and local >zone ? We'll re-create it RTFM lpadmin(1M) Removing a Printer Destination The -x dest option removes the destination dest (a printer or a class), from the LP print service. If dest is a printer and is the only member of a class, then the class is deleted, too. If dest is all, all printers and classes are removed. If there are no remaining local printers and the scheduler is still running, the scheduler is shut down. # man -s 1m lpadmin # lpadmin -x hp8150dn John groenveld(a)acm.org
First
|
Prev
|
Pages: 1 2 Prev: Lost the key to a Sun 420R Next: Help! Old passwords still work in Solaris 10 |