On Sun, 2005-12-18 at 23:49 +0100, Lionel Elie Mamane wrote:
> 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
> 

OK, 600dpi then.


> >  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.
> 

No, if it tells you the resolution explicitly then that's all we need,
espeically since it matches the ppd file.


> > 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.

NO, now that we know it should be 600, we wouldn't expect 300dpi to
work.


> > 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.
> 

Odd.


> > 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.)

33% isn't "too" large - sounds like the difference between A4 paper and
US legal paper size.  Are your paper size settings consistent? (the
print dialog box in mozilla can change them, though it may not record
the change between different invocations of mozilla).

> 
> 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.
> 

OK.


> > 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.
> 

>From the command line, "lp output.pdf".  Or the print button in your pdf
viewer.

> 
> 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.
> 

Hmm, quite odd.  Perhaps the fix was in the ppd file?  I understood you
downloading a fresh version of it for the testing we did above. In that
case the new settings may not have come through until both CUPS and
mozilla got restarted.

Yes, the inner workings of Xprint are a Black Magic.  Unfortunately our
Chief Sorceror has disappeared beyond the Ether fighting Dragons, and
the rest of us are left to muddle through as best we can.


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

When you say the PS file is wrong, do you mean it's grossly mis-scaled
when you view in gv?  This is a known problem, I think it's already
reported.

You should have better luck with PDF though. Check the paper size and
send me a copy of an errant pdf file, if it's still broken, before
opening a new bug on it.

Drew



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

Reply via email to