On Fri, 2005-02-04 at 10:02 +0200, Meelis Roos wrote:
> Package: xprt-common
> Version: 0.1.0.alpha1-8
> Severity: normal
>
>
> I ran into problems with mozilla printing too large images. OK, changed
> xprt-common's dpi setting to 300 and it strted printing normally.
>
> But this is not a solution - I cannot hardcode 300 for all xprint
> applications. 300 is the default on this specific deskjet but I can use
> higher reolution or another printer.
>
> Setting global 600 dpi in xprint causes printout to be too large with
> my default deskjet settings.
>
> Sending 300 dpi images to 600 or 720 dpi printers is also suboptimal.
>
Remember that the debconf question said if you have a more complex setup
like yours, then you need to adjust the config files by hand. There is
more information in the FAQ
(/usr/share/doc/xprt-common/Xprint_FAQ.txt.gz) at Q. 211:
Q:
How do I change the default printer resolution ?
A:
This is controlled via the "default-printer-resolution" attribute in
the document attribute pool
(${XPCONFIGDIR}/${LANG}/print/attributes/document and/or
${XPCONFIGDIR}/C/print/attributes/document). Examples:
1. Adding/modifying the following line to/in
${XPCONFIGDIR}/C/print/attributes/document sets the default
resolution for all printers to 600 DPI:
*default-printer-resolution: 600
2. Adding/modifying the following two lines to/in
${XPCONFIGDIR}/C/print/attributes/document sets the default
resolution for all printers to 300 DPI except for printer
"tekcolor_ps" which should default to 1200 DPI:
*default-printer-resolution: 300
tekcolor_ps.default-printer-resolution: 1200
That is, the file to change is /etc/Xprint/C/print/attributes/document.
You'll see there that *default-printer-resolution is already set.
The '*' means it applies to all printers. You override it by giving the
name of your printer which needs the separate setting, putting the name
instead of the '*', like "tekcolor_ps" in this example.
> So this setting needs to be queried from the printing subsystem about
> the current printer (if possible at all - I'm not sure it is) or the
> need for this setting should be eliminated.
>
It's on the "To Do" list.
Drew
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]