Home › Forums › OS X Server and Client Discussion › Questions and Answers › lpadmin/lpr command line interface no longer works in Leopard
- This topic has 4 replies, 2 voices, and was last updated 18 years, 6 months ago by
prometheon123.
-
AuthorPosts
-
April 28, 2008 at 5:09 pm #372473
prometheon123
ParticipantHello everyone,
I wrote a shell script to lpr all the company printers to each Mac. However, this seems to have changed in Leopard even though lpadmin is still there and the path of the PPDs still remains the same.
Anyone else have this issue?
Here is a sample command that used to work in Tiger:
lpadmin -p 37S -L “37 South” -E -v lpd://37s.ourcompany.com -P “/Library/Printers/PPDs/Contents/Resources/en.lproj/HP LaserJet 5200.gz”
Every printer says it’s “paused”.
Finally, does anyone know how to allow the non-admin user to add printers?
Cheers,
Ryan
ChicagoApril 29, 2008 at 4:25 pm #372506khiltd
ParticipantSo is the only problem that the queues are always paused, or does the command actually fail somehow? Have you tried this with any printers that were not made by HP? Many of the old LaserJet drivers are completely incompatible with Leopard and their only official response has been “buy a new printer.”
April 29, 2008 at 6:19 pm #372508prometheon123
ParticipantThanks for the info about HP printers and Leopard. Unfortunately, all of the printers were made by HP. 🙁
I looked at the printers.conf file and here is an example of what is listed:
Info 33-West
Location 33 West
DeviceURI lpd://33-Ryan.ourcompany.com
State Stopped
StateMessage Filter “/Library/Printers/hp/filter/hppostprocessing” for printer “33-West” not available: No such file or directory
StateTime 1208532368
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printerApril 29, 2008 at 7:33 pm #372513khiltd
ParticipantI don’t know anything about that particular printer, but I’d try setting it up normally before blaming your script. They do have a “HP LaserJet Universal Mac Installer Utility for OS X 10.5” up on the downloads page which has a kernel extension for the 5200 in it.
April 30, 2008 at 12:06 pm #372515prometheon123
ParticipantThanks for the help. I’ll do a Netinstall of Leopard when i get to the office and try the updated installer then run my shell script to see if this yields any better results.
-
AuthorPosts
- You must be logged in to reply to this topic.