Link to home
Start Free TrialLog in
Avatar of 007JB
007JB

asked on

Red Hat Printing Tray Definition

We have an application running on RedHat rhel5 that requires some significant volumes of printing to Ricoh (MP4000, b/w) Multifunction Devices with 4 trays, for different stationery types.
Trays 1-4
1.            A4 Plain
2.            A4 Bill
3.            A4 Survey
4.            A4 Letterhead

We are using CUPS with Ricoh Aficio MP 4000 PXL printer drivers.  On submitting the job – e.g.

Examples:
#>more <filename> | lp –d<printername> -oInputSlot=3Tray
#> lp –d<printername> -oInputSlot=4Tray <filename>

<printername> = “3rd_Floor” or “dept” (as per CUPS reference)


The result of this is correct text but paper sucked from tray 1 (plain) when should be tray X (as specified )…………..
The Live environment works perfectly, so can discount printer, database engine, and..
..Main s/w Application is not at fault as these test are performed outside of it using Putty/terminal with same – negative – results
ppd (printer defs) files are exactly same on each environment too
Avatar of wyliecoyoteuk
wyliecoyoteuk
Flag of United Kingdom of Great Britain and Northern Ireland image

Have you specified the media type on the MFD?
If so, you will also need to specify it when printing or it will default to the plain paper tray.
Avatar of 007JB
007JB

ASKER

Thanks - yes.  We have specified the media type on the MFD itself.  We have our Live Redhat box which detects correct stationery and prints jobs correctly.  Our Test server printing to the same MFD, the same print job does not.  On the face of it both servers have the same settings defined for the printer, but there must be another setting buried somewhere?
Check that they are both running the same version of LPD.
Not all support -o and will just ignore it.
And I think that there should be a space after the -o as in:
-o InputSlot=4Tray <filename>
ASKER CERTIFIED SOLUTION
Avatar of 007JB
007JB

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 007JB

ASKER

Solved ourselves