1

Goal: Add a domain printer just through the terminal without using its IP address.

Following the instructions here: https://dae.me/blog/1826/add-a-printer-via-command-line-in-os-x/#comment-256587

I ran this command:

sudo lpadmin -p sharp4141n -L "front office code" -E smb://ESC-PRINT01.byu.local/ESCN284_MX-4141N -P /Users/jaybrown/Desktop/ESC_PRINT01_ESC_N284_SHARP_MX_4141N_PCL6.ppd

But get the error:

lpadmin: Unknown argument “smb://ESC-PRINT01.byu.local/ESCN284_MX-4141N”.

I am on a domain. On an iMac running El Capitan. Please help me out.

enter image description here

  • 1
    It's already been answered on your link - you missed a -v – Tetsujin Aug 14 at 17:44
  • Wow, you're right. That did it. Thanks! – Jay Brown Aug 14 at 17:51
1

As per Tetsujin's comment, it turns out I was missing the -v before the url of the printer.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .