Bug#343581: xprint-common: print downscaled by factor of 2 irrespective of default_printer_resolution

2007-04-17 Thread Drew Parsons
On Tue, 2007-04-17 at 07:45 +0200, Lionel Elie Mamane wrote:
 On Tue, Apr 17, 2007 at 01:38:12AM +0200, Brice Goglin wrote:
 
  About a years ago, you reported a bug to the Debian BTS regarding
  xprint downscaling printing resolution by a factor of 2. Do you
  still experience this problem today?
 
 No, as the bug log already says, problem disappeared, nobody knows
 why.

Thanks for the confirmation.

 
 Additionally, to the best of my knowledge, the Debian build of
 mozilla/galeon is not using xprint anymore, so I don't know how to
 retest (it was only application using xprint I know of).


Iceweasel (firefox) still uses Xprint.

Drew


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



Bug#343581: xprint-common: print downscaled by factor of 2 irrespective of default_printer_resolution

2007-04-16 Thread Brice Goglin
Hi,

About a years ago, you reported a bug to the Debian BTS regarding xprint
downscaling printing resolution by a factor of 2. Do you still
experience this problem today? With Xorg/Etch? If not, I will close this
bug in the next weeks.

Thanks,
Brice



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



Bug#343581: xprint-common: print downscaled by factor of 2 irrespective of default_printer_resolution

2007-04-16 Thread Lionel Elie Mamane
On Tue, Apr 17, 2007 at 01:38:12AM +0200, Brice Goglin wrote:

 About a years ago, you reported a bug to the Debian BTS regarding
 xprint downscaling printing resolution by a factor of 2. Do you
 still experience this problem today?

No, as the bug log already says, problem disappeared, nobody knows
why.

Additionally, to the best of my knowledge, the Debian build of
mozilla/galeon is not using xprint anymore, so I don't know how to
retest (it was only application using xprint I know of).

-- 
Lionel


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



Bug#343581: xprint-common: print downscaled by factor of 2 irrespective of default_printer_resolution

2005-12-18 Thread Drew Parsons
On Fri, 2005-12-16 at 12:07 +0100, Lionel Elie Mamane wrote:
 Package: xprint-common
 Version: 1:0.1.0.alpha1-13
 Severity: important
 
 When I print from galeon through xprint through a cups queue to a
 Color LaserJet 2550 Series printer, the print is scaled down by a
 linear factor of 2 (it occupies only the top-left quarter of the
 page). This irrespective of whether the default_printer_resolution is
 600, 1200 or 2400.
 

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)


 This seems to have appeared with my upgrade from 1:0.1.0.alpha1-12,
 but I'm not sure; maybe I just didn't print for a long time from this
 computer.
 

There's no reason the situation would have changed from -12 to -13, but
if you want to verify behaviour with older version you can find them at
http://snapshot.debian.net/

Drew



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



Bug#343581: xprint-common: print downscaled by factor of 2 irrespective of default_printer_resolution

2005-12-18 Thread Lionel Elie Mamane
On Sun, Dec 18, 2005 at 08:23:49PM +1100, Drew Parsons wrote:
 On Fri, 2005-12-16 at 12:07 +0100, Lionel Elie Mamane wrote:

 When I print from galeon through xprint through a cups queue to a
 Color LaserJet 2550 Series printer, the print is scaled down by a
 linear factor of 2 (it occupies only the top-left quarter of the
 page). This irrespective of whether the default_printer_resolution
 is 600, 1200 or 2400.

 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:

CMYK Inks   
CMYK Inks:  Fast

Color Options   
Color Options:  Automatic
Edge Control:   Normal
Graphics Halftone:  Smooth
Graphics Neutral Grays: Black only
Photographs Halftone:   Smooth
Photographs Neutral Grays:  4-color
Print Color as Gray:Off
RGB Color:  sRGB
Text Halftone:  Smooth
Text Neutral Grays: Black only

Finishing   
Manually Print on 2nd Side: No

General 
Media Size: a4
Media Type: Unspecified
Paper Source:   Tray 1
Tray 1 (Manual):False

Options Installed   
Memory Configuration:   64 - 71 MB RAM
Paper Matching: Prompt User for Correct size
Tray 2 (Optional):  Not Installed
Tray 3 (Optional):  Not Installed

Watermark/Overlay   
Watermark Angle:45i
Watermark Color:Gray
Watermark Font: Helvetica Bold
Watermark Intensity:Medium
Watermark Pages:All
Watermark Size (points):48
Watermark Style:Medium Outline
Watermark Text: Draft
Watermark/Overlay:  None

Banners 
Starting Banner:none
Ending Banner:  none


 This seems to have appeared with my upgrade from 1:0.1.0.alpha1-12,
 but I'm not sure; maybe I just didn't print for a long time from
 this computer.

 There's no reason the situation would have changed from -12 to -13, but
 if you want to verify behaviour with older version you can find them at
 http://snapshot.debian.net/

Indeed -12 exhibits the same problem.

-- 
Lionel


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



Bug#343581: xprint-common: print downscaled by factor of 2 irrespective of default_printer_resolution

2005-12-18 Thread Drew Parsons
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).

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.  Have you tried the CUPS test page. I
can't remember if it explicitly says what resolution it uses, but you
can use the image of the 1-degree rays to tell 300dpi from higher
resolutions.

Oh, another trick worth trying is to set your Xprint resolution to 300
dpi and see if the print comes out correctly. Not satisfactory long term
if your printer supports 2400 dpi, but it will help confirm if we've
correctly diagnosed the problem.  In that regard, is the mis-scaling
always to a factor of 2?  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.

I suspect the PDF files which Xprint generates will not have the same
problem.  You may have luck printing to PDF file (find them in
~/Xprintjobs) and sending the pdf file to your printer.

Drew



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



Bug#343581: xprint-common: print downscaled by factor of 2 irrespective of default_printer_resolution

2005-12-18 Thread Lionel Elie Mamane
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]



Bug#343581: xprint-common: print downscaled by factor of 2 irrespective of default_printer_resolution

2005-12-18 Thread Drew Parsons
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]



Bug#343581: xprint-common: print downscaled by factor of 2 irrespective of default_printer_resolution

2005-12-18 Thread Lionel Elie Mamane
On Mon, Dec 19, 2005 at 11:01:43AM +1100, Drew Parsons wrote:
 On Sun, 2005-12-18 at 23:49 +0100, Lionel Elie Mamane wrote:

 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.

OK.

 Or the print button in your pdf viewer.

Well, this converts to postscript and sends the postscript to the cups
queue.

 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.

I downloaded the latest PPD, but it was byte-to-byte identical to the
one I already had, except that the default paper size was a4 instead
of letter.

 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.

Yes, I mean that.

-- 
Lionel


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



Bug#343581: xprint-common: print downscaled by factor of 2 irrespective of default_printer_resolution

2005-12-16 Thread Lionel Elie Mamane
Package: xprint-common
Version: 1:0.1.0.alpha1-13
Severity: important

When I print from galeon through xprint through a cups queue to a
Color LaserJet 2550 Series printer, the print is scaled down by a
linear factor of 2 (it occupies only the top-left quarter of the
page). This irrespective of whether the default_printer_resolution is
600, 1200 or 2400.

This seems to have appeared with my upgrade from 1:0.1.0.alpha1-12,
but I'm not sure; maybe I just didn't print for a long time from this
computer.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)

Versions of packages xprint-common depends on:
ii  debconf [debconf-2.0]1.4.62  Debian configuration management sy
ii  xbase-clients6.8.2.dfsg.1-11 miscellaneous X clients

Versions of packages xprint-common recommends:
ii  xfonts-base6.8.2.dfsg.1-11   standard fonts for X
ii  xprint 1:0.1.0.alpha1-13 Xprint - the X11 print system (bin

-- debconf information:
* xprint-common/default_printer_resolution: 2400


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