Sponsored Content
Operating Systems Linux Red Hat How to setup printer queues for multiple-trays? Post 302901487 by gjackson123 on Wednesday 14th of May 2014 04:10:44 AM
Old 05-14-2014
How to setup printer queues for multiple-trays?

Dear Redhat Linux Gurus,
I need to setup RedHat linux printer queues that can print to certain multiple trays on HP LaserJet in general, particulary on the following models:
HP LaserJet 600 M601,
HP LaserJet 2420dn,
HP LaserJet 4000dn
The command syntax used to setup these printer queues is as follows and have been able to do simple single page printing:

Code:
 
lpadmin -E -p <printer-queue> -v socket://<IP address|DNS name> -E
 
e.g. lpadmin -E -p laserjet600 -v socket://192.168.0.4

However, I need to print to individual tray which holds various size of papers but failed to do so with the commands below:

Code:
 
lp -d <printer-queue> -o Upper or tray0 or tray1
 
e.g. lp -d laserjet600 -o Upper or tray0 or tray1

Unfortunately, all print jobs have come out from the bottom (Lower - tray2) tray instead.
I would appreciate the following advice:
( i ) How to check whether CUPS software is used and what version it is running?
( ii ) Any additional setup or driver need to be installed?
( iii ) Any reference of related printer setups would be appreciated even though I have gone through CUPS software Users Manual
& Online Help

Many thanks,
George
 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Local Printer Setup

Hi to all, A real virgin to unix, so sorry for such a basic question. Have a older unix terminal with crashed server. Software resides to terminal. Don't have network printing capabilities. I removed network printer and gone local, but don't know how to redirect the device for local... (3 Replies)
Discussion started by: Rogie
3 Replies

2. UNIX for Dummies Questions & Answers

HP-UX printer setup

Hi, not entirely sure if this should be here or IP networking for dummies... I am trying to set up a new printer remotely (large office). The people at the other end have no problems printing to it from a Microsoft environment (Word, Excel, etc). However, they are unable to print to it from Unix... (4 Replies)
Discussion started by: Ypnos
4 Replies

3. Solaris

Printer Setup

How do you add a HP network printer on a Sun Solaris Unix box? I have the IP address of the printer. I try using the admintool tool, but am confusing about setup the printer to connect to the IP address... (4 Replies)
Discussion started by: racquetbal
4 Replies

4. HP-UX

Printer Setup Issues

We have several printers setup to send the print file to a specific IP address and place in a specific folder based on printer selection (this is a Win2000 Server). The issue we are having is before sending the file, I do a lpstat for the printer and it shows ready and waiting. We send the job to... (4 Replies)
Discussion started by: kurt.renn@rmsna
4 Replies

5. UNIX Desktop Questions & Answers

printer/filter setup

trying to get my laserjet to print under FC5. Got APSFILTER; what to answer to question 'parallel or serial printer port when it is USB? Do I need an updated filter software? I tried 'parallel', get 'permission denied when I try lp or lpr command- thanks- Marshall (2 Replies)
Discussion started by: blann
2 Replies

6. AIX

Cannot setup a printer queue

So I've got this asc file that someone sent me for setting up a Zebra printer on AIX. When I use smit or the command line I get this error when I try to setup the printer up: File /usr/lib/lpd/pio/predef/master does not exist. The master file is there. This only happens when I setup a... (2 Replies)
Discussion started by: Hurmoth
2 Replies

7. Linux

Printer Setup(s)

I'm so frustrated. I have almost no experience with setting up printers and networking through Linux. That being said, I need some help. In fact, I don't even know if this setup is possible, and for all I know, I might need a Window's solution. I'm a hardcore Linux guy, so talk to me that... (0 Replies)
Discussion started by: drewrockshard
0 Replies

8. Red Hat

printer setup issue

I am a linux newbie who is in over his head.... We have a 3rd party company hosting our servers and they are running RHEL 4 (actaully is is OEL, but Oracle just rebranded RH) they installed a bunch of printers on the servers there. Our application prints but the formatt is off. When we had the... (0 Replies)
Discussion started by: jayjabour
0 Replies

9. HP-UX

Printer Setup - Model

Hi, I have set up an HP printer, model 2300, on an Integrity server running on HP-Ux B.11.31; using the Jetdirect Printer Installer For Unix, version E.10.34. This particular printer is printing the same job multiple times and I cannot figur out why that is. 1. Is there perhaps a flag in... (0 Replies)
Discussion started by: Koketso
0 Replies

10. Hardware

Printer Setup

Hi, I have set up an HP printer, model 2300, on an Integrity server sunning on HP-Ux B.11.31 using the Jetdirect Printer Installer For Unix, version E.10.34. This particular printer is printing the same job multiple times and I cannot figur out why that is. Is ther perhaps a flag in the... (1 Reply)
Discussion started by: Koketso
1 Replies
cupsaccept(8)							    Apple Inc.							     cupsaccept(8)

NAME
cupsaccept/cupsreject - accept/reject jobs sent to a destination SYNOPSIS
cupsaccept [ -E ] [ -U username ] [ -h hostname[:port] ] destination(s) cupsreject [ -E ] [ -U username ] [ -h hostname[:port] ] [ -r reason ] destination(s) DESCRIPTION
The cupsaccept command instructs the printing system to accept print jobs to the specified destinations. The cupsreject command instructs the printing system to reject print jobs to the specified destinations. The -r option sets the reason for rejecting print jobs. If not specified, the reason defaults to "Reason Unknown". OPTIONS
The following options are supported by both cupsaccept and cupsreject: -E Forces encryption when connecting to the server. -U username Sets the username that is sent when connecting to the server. -h hostname[:port] Chooses an alternate server. -r "reason" Sets the reason string that is shown for a printer that is rejecting jobs. CONFORMING TO
The cupsaccept and cupsreject commands correspond to the System V printing system commands "accept" and "reject", respectively. Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also, printer and class names are not case-sensitive. Finally, the CUPS versions may ask the user for an access password depending on the printing system configuration. SEE ALSO
cancel(1), cupsenable(8), lp(1), lpadmin(8), lpstat(1), CUPS Online Help (http://localhost:631/help) COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc. 10 June 2014 CUPS cupsaccept(8)
All times are GMT -4. The time now is 06:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy