[Bug 136904] paper tray selection doesn´t work
Jörg Spilker
js at jetsys.de
Sun Nov 12 06:37:21 CET 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=136904
------- Additional Comments From js jetsys de 2006-11-12 06:37 -------
Well, the HP manufacturer PPPD for the printers seems to be not correct. After installing the printer for the first time, i called the cups setup pages and recognized that Tray2 option was set to "not installed". I changed this to "installed" and changed also the DefaultTray to Tray2.
This is now how my hplaserjet.ppd looks like:
*%=================================================
*% Paper Sources
*%=================================================
*OpenUI *InputSlot: PickOne
*OrderDependency: 20 AnySetup *InputSlot
*DefaultInputSlot: Tray2
*InputSlot Tray1/Tray 1: "<</ManualFeed false /MediaPosition 3>> setpagedevice"
*InputSlot Tray2/Tray 2: "<</ManualFeed false /MediaPosition 0>> setpagedevice"
*InputSlot Tray3/Tray 3: "<</ManualFeed false /MediaPosition 1>> setpagedevice"
*?InputSlot: "
save
[(Tray2) (None) (Tray1) (Tray2)]
statusdict /papertray get exec
{get exec} stopped { pop pop (unknown) } if = flush
restore
"
*End
*CloseUI: *InputSlot
*% Enable/Disable Manual Feed
*OpenUI *ManualFeed/Tray 1 (Manual): Boolean
*OrderDependency: 20 AnySetup *ManualFeed
*DefaultManualFeed: True
*ManualFeed True/True: "
<</ManualFeed true>> setpagedevice"
*End
*ManualFeed False/False: "
<</ManualFeed false>> setpagedevice"
*End
*?ManualFeed: "
save
currentpagedevice /ManualFeed get
{(True)}{(False)}ifelse = flush
restore
"
*End
*CloseUI: *ManualFeed
Shouldn´t cups output to Tray2 if there is no Tray options specified.
More information about the Kde-print-devel
mailing list