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 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.