[MacTUG] Final Mac OS X cli Printer setup

Marlon A. Griffith m3griffi at uwaterloo.ca
Thu Feb 5 11:45:43 EST 2015


Hopefully!

With the last tidbit provided by James, Here is a cli string that will setup a printer and allow the user to samba print, with an authentication prompt. It was tested on 10.8.5.

Exmaple:
# To my department's b&w printer using a generic ppd; for details, http://www.eng.uwaterloo.ca/twiki/bin/view/MAG/CliPrinterSetup
# With negotiate, you will be prompted for your AD userid and password, and you don't require the system to know your Kerberos domain

     lpadmin -p eng_engcomp -D "Eng comp laserjet test 2" -L "Engineering Computing" -E \
      -v smb://eng-serve.nexus.uwaterloo.ca/eng_engcomp  -m 'drv:///sample.drv/generic.ppd' \
      -o HPOption_Duplexer=True -o printer-is-shared=false -o auth-info-required=negotiate

Marlon x38146


More information about the MacTUG mailing list