[reportlab-users] re: [ reportlab-Bugs-718145 ] Big incompatibility
problem with Ghostscript using images
Nigel Heron
reportlab-users@reportlab.com
Thu, 10 Apr 2003 14:44:24 -0400
i'm having the same problem sending generated PDF files through Harlequin RIP (and
Transverter RIP)
after a week of debugging (only error i get is "invalid PS code", which didn't help
much!!),
i think it's the fact that the filter names are abbreviated
look at pdfdoc.py and change this line in "loadImageFromPIL()":
self._filters = 'A85','Fl' # Ascii85decode, FlateDecode
to
self._filters = 'ASCII85Decode','FlateDecode'
haven't heard back from the print shop yet, but i think that was the problem.
(among other things i had to do to get it to work, was not to use standard fonts,
because they're not embedded, and nuke "preamble" in canvas.py)
-nigel.
Robin Becker wrote:
> Hi Paulo, we have checked your bug report using the standard
> test_platypus_general.py script and with both ReportLab-1.17
> and the latest CVS we see no problems.
>
> We tested with Mandrake 9.1 and used our SMB printer with a
> ghostscript driver.
>
> It is possible that that image doesn't show a problem so
> if you are still seeing a problem can you email me directly
> robin@reportlab.com
> or post in the users list ie
> reportlab-users@reportlab.com
>
> Also a simple test script illustrating the problem and perhaps
> some details of the system etc may help.
>
> -----Original message-----
> Subject: [ reportlab-Bugs-718145 ] Big incompatibility problem with
> Ghostscript using images
> To: noreply@sourceforge.net
> From: "SourceForge.net" <noreply@sourceforge.net>
> Date: Wed, 9 Apr 2003 03:19:45 -0700
> Message-ID: <E193CgD-0003Z0-00@sc8-sf-web4.sourceforge.net>
>
> Bugs item #718145, was opened at 2003-04-09 12:19
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=100682&aid=718145&group_id=682
>
> Category: platypus
> Group: essential fix
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Paolo Casciello (x-cash)
> Assigned to: Robin Becker (rgbecker)
> Summary: Big incompatibility problem with Ghostscript using images
>
> Initial Comment:
> There's a big problem when i add images into a page
>
> using platypus.
>
> The resulting PDF is viewable from Adobe Acrobat but
>
> it's not printable. Investigating the problem i
>
> discovered that ghostscript is unable to "see" the
>
> image in the PDF.
>
> This problem isn't present in the 1.09 version of
>
> reportlab toolkit.
>
> This is a great incompatibility problem since
>
> ghostscript is the main .ps conversion method used for
>
> printing in Linux environment.
>
> I hope you fix this soon, cause reportlab for other
>
> systems other than windows is quite useless with this
>
> problem.
>
> --
> Robin Becker
> _______________________________________________
> reportlab-users mailing list
> reportlab-users@reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users