×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Modify CUPS Printer - A3 Paper in Tray 3

Modify CUPS Printer - A3 Paper in Tray 3

Modify CUPS Printer - A3 Paper in Tray 3

(OP)
I have a HP Color LaserJet CP5225dn that I set up using the web server at http://localhost:631/ for 50x iMacs. I have 2 trays installed. Tray 2 is A4 paper and Tray 3 is A3 paper. How do I configure the paper size per tray? At the moment the print only recognises A4 paper.

Support Technician in an Educational Environmant

RE: Modify CUPS Printer - A3 Paper in Tray 3

(OP)
lpadmin -p "Art_105_A3_Printer" -v "ipp://10.182.128.74" -P "/Library/Printers/PPDs/Contents/Resources/Printer_Driver.gz" -o printer-is-shared=false -o Media=A3 -o InputSlot=Tray3; cupsenable "Art_105_A3_Printer" -E; cupsaccept "Art_105_A3_Printer";​​

Support Technician in an Educational Environmant

RE: Modify CUPS Printer - A3 Paper in Tray 3

(OP)
Does anyone know how to add Tray 3 via commandline?

Support Technician in an Educational Environmant

RE: Modify CUPS Printer - A3 Paper in Tray 3

(OP)
Where can I find the options for options for lpadmin or lpoptions?

Support Technician in an Educational Environmant

RE: Modify CUPS Printer - A3 Paper in Tray 3

(OP)
Got it, run lpoptions -l /Library/Printers/PPDs/Contents/Resources/HP Color LaserJet CP5220d Series.gz against the printer driver. Which will produce all the options.Below is the command to install Tray 3 with A3 paper.

lpadmin -p "105_A3_Paper" -v "socket://10.182.128.74/" -P "/Library/Printers/PPDs/Contents/Resources/HP Color LaserJet CP5220d Series.gz" -o printer-is-shared=false -o Media=A3 -o InputSlot=Tray3 -o sides=one-sided -o HPOption_Tray3=True; cupsenable "105_A3_Paper" -E; cupsaccept "105_A3_Paper";

Support Technician in an Educational Environmant

RE: Modify CUPS Printer - A3 Paper in Tray 3

(OP)
Also I can configure a Windows share printer
sudo lpadmin -p Art_105_Colour -v smb://8567dip000sf002.detnsw.win/Art%20105%20Colour -P "/Library/Printers/PPDs/Contents/Resources/HP Color LaserJet CP5220d Series.gz" -o printer-is-shared=false -o PageSize=A4 -o InputSlot=Tray2 -o sides=one-sided -o HPOption_Tray3=True -o auth-info-required=negotiate; cupsenable Art_105_Colour -E; cupsaccept Art_105_Colour;

Support Technician in an Educational Environmant

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close