Comment 8 for bug 821818

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The bug in system-config-printer is present in Natty and Oneiric. To reproduce it without having the printer, run the commands

cd /usr/share/system-config-printer
python /usr/share/system-config-printer/newprinter.py --setup-printer file:/tmp/printout --devid 'MANUFACTURER:Lexmark International;COMMAND SET:PCL 6 Emulation, PostScript Level 3 For Mac Emulation, NPAP, PJL;MODEL:Lexmark E230;CLS:PRINTER;DES:Lexmark E230;CID:Lexmark_Internationa0D83, Lexmark_InternationaCC02, Lexmark_Internationa9D12, Lexmark_Internationa5DD3;COMMENT:ECP1.0, LV_043D, LP_009A, LF_0035;'

It is enough only to do

cd /usr/share/system-config-printer
python /usr/share/system-config-printer/newprinter.py --setup-printer file:/tmp/printout --devid 'MFG:Lexmark International;CMD:PCL6;MDL:Lexmark E230;'

The bug disappears if the field "COMMAND SET" (or "CMD") is not supplied at all or empty:

cd /usr/share/system-config-printer
python /usr/share/system-config-printer/newprinter.py --setup-printer file:/tmp/printout --devid 'MFG:Lexmark International;MDL:Lexmark E230;'