------------------------------------
till@till-laptop:~/printing/system-config-printer/system-config-printer$ cd /usr/share/system-config-printer/
till@till-laptop:/usr/share/system-config-printer$ python -c 'import cups, ppds;c=cups.Connection();a=c.getPPDs();p=ppds.PPDs(a);print p.getPPDNameFromDeviceID("Canon","iP3000","Canon iP3000",uri="foo")'
No ID match for device foo:
<manufacturer>Canon</manufacturer>
<model>iP3000</model>
<description>Canon iP3000</description>
<commandset></commandset>
Using hpijs/HP/HP-LaserJet_1220-hpijs.ppd
(3, 'hpijs/HP/HP-LaserJet_1220-hpijs.ppd')
till@till-laptop:/usr/share/system-config-printer$
------------------------------------
It seems that when entering any unknown printer model always the PPD hpijs/HP/HP-LaserJet_1220-hpijs.ppd gets auto-selected. Should it not better be the Generic PostScript printer or the Generic text-only printer?
I get the following:
------- ------- ------- ------- ------- - laptop: ~/printing/ system- config- printer/ system- config- printer$ cd /usr/share/ system- config- printer/ laptop: /usr/share/ system- config- printer$ python -c 'import cups, ppds;c= cups.Connection ();a=c. getPPDs( );p=ppds. PPDs(a) ;print p.getPPDNameFro mDeviceID( "Canon" ,"iP3000" ,"Canon iP3000",uri="foo")' >Canon< /manufacturer> iP3000< /model> Canon iP3000< /description> </commandset> HP-LaserJet_ 1220-hpijs. ppd HP/HP-LaserJet_ 1220-hpijs. ppd') laptop: /usr/share/ system- config- printer$ ------- ------- ------- ------- -
till@till-
till@till-
No ID match for device foo:
<manufacturer
<model>
<description>
<commandset>
Using hpijs/HP/
(3, 'hpijs/
till@till-
-------
It seems that when entering any unknown printer model always the PPD hpijs/HP/ HP-LaserJet_ 1220-hpijs. ppd gets auto-selected. Should it not better be the Generic PostScript printer or the Generic text-only printer?