[cups] Problem with output-tray-selection for unfiltered (raw) documents using lp/lpr

laluenne at online.de laluenne at online.de
Fri May 20 02:18:19 PDT 2016


Hi,

i'm trying to print a preformated file (.prn-file) on my laserprinter, tray 2 (lower).
But it always comes out of tray1.

I broke down the problem to the cups-internal usage of filtering (-l option). I can reproduce the problem without my prn-file. So the problem probably is not be related to the content.

Example:

# echo "Lower with -l" | lpr -l -o media=lower
-> take paper from tray 1 (upper) !!!!

# echo "Lower without -l" | lpr -o media=lower
-> take paper from tray 2 (lower)

# echo "Upper without -l" | lpr -o media=upper
-> take paper from tray 2 !!!!!

# echo "Upper with -l" | lpr -l -o media=upper
-> take paper from tray 1


So, regardless of the -o option, with "-l" the upper-tray is always used.
Without "-l", the cups-default-page-configuration (set to tray2) is uses, also regardless of the -o option!


Can you help? Is there a cups-related forum to diskuss things like that?

Please answers in CC to: laluenne [at] online [dot] de



More informations:

I don't think that this problem is related to my printer and/or computer, but here is my testing-environment. Same problem with both pc and both drivers...

environment a)
debian-stable (Linux rku115411 4.4.9-v7+ #884 SMP Fri May 6 17:28:59 BST 2016 armv7l GNU/Linux).
cups: Installed: 1.7.5-11+deb8u1 (Candidate: 1.7.5-11+deb8u1)

PPD: CD5235MP.PPD (from TA) PPD file for CD 5235_DC 6235 (German) 
*FileVersion: "8.1111"
*FormatVersion: "4.3"



environment b)
Ubuntu (Linux rku114655 3.13.0-86-generic #131-Ubuntu SMP Thu May 12 23:33:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux)
cups: Installiert: 1.7.2-0ubuntu1.7 (Installationskandidat: 1.7.2-0ubuntu1.7)

PPD: FS1200.PPD (from cups/kyocera) PPD for Kyocera FS-1200 (German)
*FileVersion: "8.2"
*FormatVersion: "4.3"

PPD: CD5235MP.PPD (from TA) PPD file for CD 5235_DC 6235 (German) 
*FileVersion: "8.1111"
*FormatVersion: "4.3"


Printer:
> Triumph-Adler TA DC-6235 (equals Kyocera fs-1135 MFP)
> System-Firmware: 2MJ_2F00.005.005
> Engine-Firmware: 2MK_1000.003.002
> Fax-Firmware: 2H9_5100.008.001
> Seriennummer: NR82505518
> Medieneingabe
> 
> Tray Format Type Capacity Quantity
> Universal A4 Normal 50 empty
> Tray 1 A4 Normal 250 100 %
> Tray 2 A4 Normal 250 100 %



More information about the cups mailing list