[Bug 503774] New: cups fails to set -o 'HPOptionDuplexer=True' for HP 4050 PPD
http://bugzilla.novell.com/show_bug.cgi?id=503774 Summary: cups fails to set -o 'HPOptionDuplexer=True' for HP 4050 PPD Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: SuSE Other Status: ASSIGNED Severity: Normal Priority: P5 - None Component: Printing AssignedTo: jsmeix@novell.com ReportedBy: jsmeix@novell.com QAContact: jsmeix@novell.com CC: mge@novell.com Found By: Development How to reproduce: Set up a queue "hp4050" for a HP 4050 PostScript ptinter with this PPD: /usr/share/cups/model/manufacturer-PPDs/hp/HP_LaserJet_4050_Series.ppd.gz "HP LaserJet 4050 Series Postscript (recommended)" ---------------------------------------------------------------------------- $ lpoptions -p hp4050 -l HPOption_Tray3/Tray 3: True *False HPOption_Tray4/Tray 4: True *False HPOption_Duplexer/Duplex Unit: True *False .. PageSize/Media Size: *Letter LetterSmall Executive Legal LegalSmall A4 ... ---------------------------------------------------------------------------- Then try to change some stuff using #lpadmin -p 'hp4050' -o 'HPOptionTray3=True' -o 'HPOptionTray4=True' \ -o 'HPOptionDuplexer=True' -o 'PageSize=A4' ---------------------------------------------------------------------------- $ lpoptions -p hp4050 -l HPOption_Tray3/Tray 3: True *False HPOption_Tray4/Tray 4: True *False HPOption_Duplexer/Duplex Unit: True *False .. PageSize/Media Size: *Letter LetterSmall Executive Legal LegalSmall *A4 ... ---------------------------------------------------------------------------- But the expected result should have been: HPOption_Tray3/Tray 3: *True False HPOption_Tray4/Tray 4: *True False HPOption_Duplexer/Duplex Unit: *True False -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503774 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503774 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=503774#c1 --- Comment #1 from Johannes Meixner <jsmeix@novell.com> 2009-05-22 06:52:44 MDT --- '_' is a possible character in a main keyword but /usr/lib/YaST2/bin/determine_printer_driver_options ignores it ------------------------------------------------------------------ # Simply delete unusual (in particular all non-ASCII) characters # but keep the delimiters / * and newline: MAXIMUM_WAIT="10" $LPOPTIONS -h localhost -p $QUEUE -l \ | tr -c -d '[:alnum:] <>/:\*\n' >$TMP_DATA & ------------------------------------------------------------------ so that YaST builds its command with wrong main keywords using e.g. "HPOptionTray..." instead of "HPOption_Tray...". A first idea for a fix (it works at least for me): ------------------------------------------------------------------ # The PPD specification reads that main keywords can contain # any printable ASCII character within the range of decimal 33 # to decimal 126 inclusive. Also keep newline and space # but exclude " which is needed as YCP string delimiter: MAXIMUM_WAIT="10" $LPOPTIONS -h localhost -p $QUEUE -l \ | tr -c -d '\n \041\043-\176' >$TMP_DATA & ------------------------------------------------------------------ -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503774 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mzugec@novell.com Summary|cups fails to set -o |yast2-printer fails to set |'HPOptionDuplexer=True' for |PPD options with special |HP 4050 PPD |characters in keywords -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503774 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=503774#c2 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |Factory --- Comment #2 from Johannes Meixner <jsmeix@novell.com> 2009-06-02 08:54:54 MDT --- Fixed in YaST SVN in yast2-printer version 2.18.17 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=503774 https://bugzilla.novell.com/show_bug.cgi?id=503774#c3 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rf@suse.com --- Comment #3 from Johannes Meixner <jsmeix@suse.com> 2013-10-24 12:06:25 CEST --- Ralf, the issue in your yast2-printer (cannot set "HPOption_Duplexer") is fixed since a long time but the issue was not severe so that it was not backported to yast2-printer in SLE11. The AutoYaST functionality in the current yast2-printer is very incompatible (different entries in autoinst.xml) with the AutoYaST functionality in yast2-printer in SLE11. If you do not need compatible AutoYaST functionality, you can upgrade to the current yast2-printer. The current yast2-printer 2.23.1 is available also for SLE11 from the "Printing" project of the openSUSE build service e.g. for direct RPM download from http://download.opensuse.org/repositories/Printing/ FYI: yast2-printer version 3.0.0 is the autogenerated Ruby code that implements the same functionality that the latest YCP version 2.23.1 provides (for SLE11 only YCP works). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=503774 http://bugzilla.novell.com/show_bug.cgi?id=503774#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (503774) was mentioned in https://build.opensuse.org/request/show/11386 Factory / yast2-printer -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com