[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#388569: marked as done (general: always printed in letter format)



Your message dated Wed, 1 Nov 2006 13:13:40 +0100
with message-id <20061101121340.GA4618@oesoft.at>
and subject line Bug#388569: printing working again
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: general
Severity: important


Sorry for reporting on this unspecific level, but i cannot
isolate.

Since updating to etch some weeks ago i was not able to print
from firefox, because always letter format is requested on the
printer panel. This happens independend of the input in the
printer property fields in the printing dialog if firefox (where
i entered "A4") and independend of the printer settings in cups
(where i also use "A4") - see bug 383.255.

First i thought this a specific problem of firefox, but now i
have the same missbehaviour with xpdf, so i think it is a more
general problem which i cannot identify.

Both programms worked fine in sarge.

The only help i can give, is that i can work around in both cases
by printing to a file and remove the first line containing
"/PageSize 3" with an editor and afterwards use lpr on the
command line to print that modified postscript-file.

Because i cannot think that this is the intended "new debian way
of printing" and because a am happy with debian for years i dont
want to change distribution because of this, but i also dont want
to life with this situation for a long time. 

I use a standard gnome desktop installation and the Cups printing
system. My printer is a HP Laserjet 4 plus.


Two examples:
=============

* head of the original postscript file (requesting letter format
  independend of the "%%DocumentPaperSizes: A4" line) produced by
  firefox:

%!PS-Adobe-3.0
%%BoundingBox: 0 0 595 842
%%HiResBoundingBox: 0 0 595.25 841.9
%%Creator: Mozilla PostScript module (rv:1.8.0.6/0)
%%DocumentData: Clean8Bit
%%DocumentPaperSizes: A4
%%Orientation: Portrait
%%Pages: 1
%%PageOrder: Ascend
%%EndComments
% MozillaCharsetName: iso-8859-1

%%BeginProlog
/setpagedevice where
{ pop 2 dict
  dup /PageSize [ 595.25 841.9 ] put
  dup /Policies 1 dict
    dup /PageSize 3 put
  put
  setpagedevice
} if


* diff file against the modified firefox postscript file which
  worked fine on my printer:

--- firefox_letter.ps	2006-09-21 10:41:32.000000000 +0200
+++ firefox_a4.ps	2006-09-21 10:41:55.000000000 +0200
@@ -15,7 +15,6 @@
 { pop 2 dict
   dup /PageSize [ 595.25 841.9 ] put
   dup /Policies 1 dict
-    dup /PageSize 3 put
   put
   setpagedevice
 } if


* original postscript file (requesting letter format) 
  produced by xpdf:

%!PS-Adobe-3.0
%%Creator: xpdf/pdftops 3.01
%%LanguageLevel: 2
%%DocumentSuppliedResources: (atend)
%%DocumentMedia: plain 595 841 0 () ()
%%BoundingBox: 0 0 595 841
%%Pages: 1
%%EndComments
%%BeginDefaults
%%PageMedia: plain
%%EndDefaults
%%BeginProlog
%%BeginResource: procset xpdf 3.01 0
/xpdf 75 dict def xpdf begin
% PDF special state
/pdfDictSize 15 def
/pdfSetup {
  3 1 roll 2 array astore
  /setpagedevice where {
    pop 3 dict begin
      /PageSize exch def
      /ImagingBBox null def
      /Policies 1 dict dup begin /PageSize 3 def end def
      { /Duplex true def } if
    currentdict end setpagedevice
  } {
    pop pop
  } ifelse
} def
/pdfStartPage {
  pdfDictSize dict begin
  /pdfFillCS [] def
  /pdfFillXform {} def
  /pdfStrokeCS [] def
  /pdfStrokeXform {} def
  /pdfFill [0] def
  /pdfStroke [0] def
  /pdfFillOP false def
  /pdfStrokeOP false def
  /pdfLastFill false def
  /pdfLastStroke false def
  /pdfTextMat [1 0 0 1 0 0] def
  /pdfFontSize 0 def
  /pdfCharSpacing 0 def
  /pdfTextRender 0 def
  /pdfTextRise 0 def
  /pdfWordSpacing 0 def
  /pdfHorizScaling 1 def
  /pdfTextClipPath [] def
} def
/pdfEndPage { end } def


* diff file against the modified xpdf postscript file which
  worked fine on my printer:

--- xpdf_letter.ps	2006-09-21 10:25:32.000000000 +0200
+++ xpdf_a4.ps	2006-09-21 10:38:57.000000000 +0200
@@ -20,7 +20,6 @@
     pop 3 dict begin
       /PageSize exch def
       /ImagingBBox null def
-      /Policies 1 dict dup begin /PageSize 3 def end def
       { /Duplex true def } if
     currentdict end setpagedevice
   } {




By the way printing from openoffice works fine (at least writer
and calc).


Feel free to request any information you need to isolate that
missbehaviour.



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=de_AT@euro, LC_CTYPE=de_AT@euro (charmap=ISO-8859-15)


--- End Message ---
--- Begin Message ---
After some update-cycles printing works normal again with the
same hardware like always. Also the not working (stored)
postscript-files from my first reporting work fine now, so that
they are not to blame.

Because I did not try after each upgrade so I cannot tell which
change did the trick. But it is working again and thats the most
important message.

Thanks to all who helped removing the bug.

gerhard

-- 
 .''`.   gerhard oettl   on   Debian/Gnu Linux
: :'  :  
`. `'`   gpg key: 1024D/D59131AA 2002-06-18
  `-

--- End Message ---

Reply to: