Bug 179 - page prints too small when printing from mozilla using CUPS
Summary: page prints too small when printing from mozilla using CUPS
Status: RESOLVED WORKSFORME
Alias: None
Product: xprint
Classification: Unclassified
Component: Application support: Mozilla (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Roland Mainz
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 02:10 UTC by Alon Rubinstein
Modified: 2004-06-08 04:58 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
A spooled file that prints out wrong. (142.86 KB, application/postscript)
2004-02-11 02:15 UTC, Alon Rubinstein
no flags Details

Description Alon Rubinstein 2004-02-11 02:10:39 UTC
I have mozilla-1.6 installed. When I print a file to the Xprint printer xxx@:64
it prints too small - exactly a quarter of the size it should be. This was also
happening with previous versions of mozilla.

when printing to the Postscript/Default printer the printing is layed out
correctly but with giberish characters ( when I print hebrew webpages ).

this does not seem to be happening on a hp7260 printer using hpijs..

The system:
mozilla-1.6 
linux 2.4.23
CUPS
printer is okipage 10ex with reccomended by linuxprinting.org pxlmono driver.
Comment 1 Alon Rubinstein 2004-02-11 02:15:48 UTC
Created attachment 88 [details]
A spooled file that prints out wrong.
Comment 2 Roland Mainz 2004-05-06 12:11:58 UTC
Please take a look at
http://xprint.mozdev.org/docs/Xprint_FAQ.html#printout_only_covers_1_4_of_the_paper
-- snip --
Q: "Printing itself works but the printout covers only 1/4 of the paper
- what am I doing wrong ?"

A: This is usually an indicator for a wrong DPI setting. The default
"PSdefault" model config uses 300 DPI but some printers only support
600 DPI.
   
Workaround:  Edit ${XPCONFIGDIR}/C/print/attributes/document and
replace the line "*default-printer-resolution: 300" with
"*default-printer-resolution: 600" (Note that locale-specific settings
in ${XPCONFIGDIR}/${LANG}/print/attributes/document always override
values set in ${XPCONFIGDIR}/C/print/attributes/document.)
   
Solution:  Create a model-config for your printer which only contains
attributes supported by your printer ("printer-resolutions-supported"
is the attribute in the "model-config" which holds the space-seperated
list of DPI values which are supported by the printer).
-- snip --

... does that help ?
Comment 3 Alon Rubinstein 2004-05-07 15:26:39 UTC
yes tha seems to have done the trick!!
is there no automatic way to detetct these settings from the printer and fixing
it accordingly on the fly?
Comment 4 Roland Mainz 2004-06-09 14:58:43 UTC
Alon Rubinstein wrote:
> yes tha seems to have done the trick!!
> is there no automatic way to detetct these settings from the printer and 
> fixing it accordingly on the fly?

For CUPS&co. the "xpppdtomodelconfig" will be a help (see bug 636) ...

... anyway... marking bug as WORKSFORME.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.