Re: Print dialogue

frank brierley <[email protected]>
Newsgroups gmane.comp.gnome.print
Message-ID <[email protected]>
Andreas,

Following your suggestion, the '-l' was added to the custom item in
GNOME-GENERIC-PS.xml

<Item Id="custom">
 <Name>Custom</Name>
 <Key Id="Module" Value="libgnomeprint-custom.so"/>
 <Option Id="Command" Type="String" Default="lpr -l"/>
</Item>

(added '-l' switch to the default tag of the Option item)

and a new Item was added

<Item Id="EpsonSty">
 <Name>EpsonSty</Name>
 <Key Id="Module" Value="libgnomeprint-custom.so"/>
 <Option Id="Command" Type="String" Default="lpr -l -PEpsonSty"/>
</Item>

The immediate result was the 'l' switch was added to the default custom
item.  The second Item - an Epson Stylus printer - became available
after a gnome restart.  Just what I was looking for.

The printers in my office are reasonably static so changing the config
file doesn't need to happen all that often - probably only at a
libgnomeprintiu upgrade.

Thanks for the suggestion.

Frank
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.