Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Aouttier

macrumors member
Original poster
Mar 3, 2016
42
0
Belgium
When I execute the following command from the terminal on my MacBook Pro, it runs without any problem:

Code:
do shell script "lp -d Hewlett-Packard_HP_LaserJet_500_colorMFP_M570dw -o sides=two-sided-long-edge -o InputSlot=Tray3 " & quoted form of (theFile)


When I perform the exact same code on my Mac mini, it doesn't print double sided. Does anyone know what causes the error, and what I can do about it?
 
Are you running the same operating system on both machines? It might be a difference in the CUPS versions. Maybe try combining the output options. Change

-o sides=two-sided-long-edge -o InputSlot=Tray3

to

-o sides=two-sided-long-edge InputSlot=Tray3

Why not print from the GUI instead of from Terminal?
 
You might also try resetting the printing system on the odd behaving machine. If that doesn’t work, try removing the printer from System Preferences and re-adding it.
 
It's solved!

Both Macs had the same IOS, and also the same version of CUPS..... but a different driver of the printer. The Mac mini has the driver of the printer that was inside the iOS. I have download one of HP..... (I was not enough to remove it by System Preferences and than to re-adding it. No, I had to install the software of HP, which I hate... now, I have an additional program on my Mac, which is just ballast)
 
Both Macs had the same IOS, and also the same version of CUPS..... but a different driver of the printer. The Mac mini has the driver of the printer that was inside the iOS. I have download one of HP..... (I was not enough to remove it by System Preferences and than to re-adding it. No, I had to install the software of HP, which I hate... now, I have an additional program on my Mac, which is just ballast)

Sounds about right for the wonderful world of printers... They always want some ***** software and never just conform to a simple standard
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.