On Mon, Dec 19, 2005 at 01:16:53AM +1100, Drew Parsons wrote:
> On Sun, 2005-12-18 at 11:32 +0100, Lionel Elie Mamane wrote:
>> On Sun, Dec 18, 2005 at 08:23:49PM +1100, Drew Parsons wrote:

>>> Can you confirm you haven't got your printer set to running at 300
>>> dpi in the printer (not Xprint) configuration?  For instance if
>>> you use CUPS then check at http://localhost:631/printers (use the
>>> "Configure Printer" link)

>> There isn't any resolution setting there. Here's the full config page:

> Hmm, that makes it more complicated, sorry about that.  Seems the
> PPD files are not sufficiently standardised so we can't always rely
> on getting resolution settings from them.  I presume you've
> installed the most recent PPD file (from the manufacturer or
> linuxprinting.org).

I rechecked today: Manufacturer sends me to linuxprinting.org and I
get the same PPD I already have from linuxprinting.org .

It contains, among others:

 *DefaultResolution: 600dpi

That's the only occurrence of the string "resolution" in it.

> It's hard to know what to suggest from here. Does your printer have
> a configuration page you can print off (from the printer's control
> panel, independently of your computer)?  It might tell you the
> default resolution that it's running on.

It says 600 dpi, both for colour and for monochrome. (bits per pixel:
1 and 8)

>  Have you tried the CUPS test page. I can't remember if it
> explicitly says what resolution it uses,

Yes, it does: 600x600dpi.

> but you can use the image of the 1-degree rays to tell 300dpi from
> higher resolutions.

Shall I send you a scan? Without a reference to compare to, I can't
decide.

> Oh, another trick worth trying is to set your Xprint resolution to
> 300 dpi and see if the print comes out correctly.

It doesn't.

> In that regard, is the mis-scaling always to a factor of 2?

Yes, the xprint resolution setting doesn't seem to make any
difference.

> If your printer is configured to 300dpi, then I would expect Xprint
> resolution settings of 600, 1200 or 2400 to give mis-scaling factors
> of 2,4 and 8 respectively.

No, always 2.

> I suspect the PDF files which Xprint generates will not have the
> same problem.

They seem to be mis-scaled by a factor of 1.33 approximately, as seen
by xpdf or gv. (33% too small.)

The PostScript, on the other hand, is mis-scaled in the other
direction: A factor of four, I'd say.

This is all independent of the debconf "default resolution" setting.

> You may have luck printing to PDF file (find them in ~/Xprintjobs)
> and sending the pdf file to your printer.

How do you expect me to send it to my printer? Convert it to
PostScript and send it to the Cups queue? The printer doesn't have an
FTP server, nor an HTTP/IPP server.


And now... the problem has mysteriously disappeared! I changed the
setting multiple times, each time printing from Galeon, and I always
got a quarter-page. I started testing with Mozilla, I was getting a
quarter-page, too, with different settings. I change the setting one
last time, restart Mozilla, and it works! Back to galeon... it works!
I don't understand a thing of how this is behaving. Veeery
strange. Well, thanks for your suggestions.


PDF and PS files are still wrong, though. Probably I should do a
separate bug report about these.

-- 
Lionel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to