Discussion:
render bug with google maps
Ludovic Gasc
2007-08-21 07:37:28 UTC
Permalink
Hi,

I have a HP PSC 1510 and Kubuntu 7.04.
I have a problem to print google maps, I have a different render
between the screen and the printer with Konqueror and Firefox browser.
I think that it's a bug with the printer driver.

A screenshot of a map :
Loading Image...
The printed paper : Loading Image...

The path isn't present and the arrow doesn't have a transparent background.

You can see my bug report with more informations :
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/125468

Thanks you very much for your response.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Ludovic Gasc
2007-08-21 18:35:03 UTC
Permalink
Hi,

I have a HP PSC 1510 and Kubuntu 7.04.
I have a problem to print google maps, I have a different render
between the screen and the printer with Konqueror and Firefox browser.
I think that it's a bug with the printer driver.

A screenshot of a map :
http://launchpadlibrarian.net/8785973/map%20screenshot.png
The printed paper : http://launchpadlibrarian.net/8785979/kscan_0049.jpeg

The path isn't present and the arrow doesn't have a transparent background.

You can see my bug report with more informations :
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/125468

Thanks you very much for your response.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Johannes Meixner
2007-08-22 07:56:56 UTC
Permalink
Hello,
Post by Ludovic Gasc
http://launchpadlibrarian.net/8785973/map%20screenshot.png
http://launchpadlibrarian.net/8785979/kscan_0049.jpeg
The path isn't present and the arrow doesn't have a transparent background.
Because of the transparency issue: Is the original map file a PDF?

Even the missing path seems to be a transparency issue because
http://launchpadlibrarian.net/8785973/map%20screenshot.png
shows that either the path or the streets are transparent.

If the original map is a PDF, it seems to be no problem in the HPIJS
driver but more likely in the CUPS /usr/lib/cups/filter/pdftops filter
which may not support newer PDF versions which allow transparencies.

But strictly speaking it is even no problem of pdftops but
of the PDF itself (i.e. the software which makes the PDF)
because a PDF which is meant for reliable printing
should be in cmpliance to the PDF/X standard, see
http://en.wikipedia.org/wiki/PDF/X

To work around possible PDF transparency issues (and whatever else
nice new PDF features), print into a PostScript file from your browser
(usually just print into a file - the result is usually PostScript)
and then print this PostScript file.


Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Ludovic Gasc
2007-08-22 13:03:20 UTC
Permalink
Hi,

Thanks you very much for your informations.
The map is not a pdf document, is a html document.

I have printed in the file the result with Firefox, the ps file has
the same problem that the printed version (see my attachment).

The bug appears only when an arrow appears on the map.

Apparently, it isn't a bug with hpijs.

If I understand the problem, it's a bug into CUPS, isn't it ?
I want to publish a bug report to the project that generates this bug.

Thanks you very much for your response.
Post by Johannes Meixner
Hello,
Post by Ludovic Gasc
http://launchpadlibrarian.net/8785973/map%20screenshot.png
http://launchpadlibrarian.net/8785979/kscan_0049.jpeg
The path isn't present and the arrow doesn't have a transparent background.
Because of the transparency issue: Is the original map file a PDF?
Even the missing path seems to be a transparency issue because
http://launchpadlibrarian.net/8785973/map%20screenshot.png
shows that either the path or the streets are transparent.
If the original map is a PDF, it seems to be no problem in the HPIJS
driver but more likely in the CUPS /usr/lib/cups/filter/pdftops filter
which may not support newer PDF versions which allow transparencies.
But strictly speaking it is even no problem of pdftops but
of the PDF itself (i.e. the software which makes the PDF)
because a PDF which is meant for reliable printing
should be in cmpliance to the PDF/X standard, see
http://en.wikipedia.org/wiki/PDF/X
To work around possible PDF transparency issues (and whatever else
nice new PDF features), print into a PostScript file from your browser
(usually just print into a file - the result is usually PostScript)
and then print this PostScript file.
Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
HPLIP-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/hplip-devel
Johannes Meixner
2007-08-22 13:29:36 UTC
Permalink
Hello,
Post by Ludovic Gasc
I have printed in the file the result with Firefox, the ps file has
the same problem that the printed version (see my attachment).
...
Post by Ludovic Gasc
If I understand the problem, it's a bug into CUPS, isn't it ?
Your attached PostScript file prints well for me
(i.e. with paths and arrows) using openSUSE 10.2 with CUPS 1.2.7
on my LaserJet 1220 (a PostScript/PCL5e printer)
via its internal PostScript interpreter (using "lp -o raw file.ps"),
via the HPLIP PostScript PPD "HP LaserJet 1220 Postscript (recommended)",
via the HPIJS driver PPD "HP LaserJet 1220 Foomatic/hpijs"
and on my Officejet 7210 (a PCL3 "DJGenericVIP" class printer)
via the HPIJS driver PPD "HP OfficeJet 7200 Foomatic/hpijs (recommended)".

I assume it is also no bug in CUPS (at least not in CUPS 1.2.7).

Perhaps it is a bug in your Linux distribution?


Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Ludovic Gasc
2007-08-22 15:47:05 UTC
Permalink
Your command "lp -o raw file.ps" doesn't work, I have the PS source
code, not the PS file itself.

I have tested the PS render with GS-GPL and GS-ESP, I have the same
problem (not paths).

I have a Kubuntu 7.04 with gs-esp 8.15.4 and cups 1.2.8.

Thanks you very much for your return, I know now that it's a bug with
my distribution.
I will signal this at launchpad.
Post by Johannes Meixner
Hello,
Post by Ludovic Gasc
I have printed in the file the result with Firefox, the ps file has
the same problem that the printed version (see my attachment).
...
Post by Ludovic Gasc
If I understand the problem, it's a bug into CUPS, isn't it ?
Your attached PostScript file prints well for me
(i.e. with paths and arrows) using openSUSE 10.2 with CUPS 1.2.7
on my LaserJet 1220 (a PostScript/PCL5e printer)
via its internal PostScript interpreter (using "lp -o raw file.ps"),
via the HPLIP PostScript PPD "HP LaserJet 1220 Postscript (recommended)",
via the HPIJS driver PPD "HP LaserJet 1220 Foomatic/hpijs"
and on my Officejet 7210 (a PCL3 "DJGenericVIP" class printer)
via the HPIJS driver PPD "HP OfficeJet 7200 Foomatic/hpijs (recommended)".
I assume it is also no bug in CUPS (at least not in CUPS 1.2.7).
Perhaps it is a bug in your Linux distribution?
Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
HPLIP-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/hplip-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

Loading...