[reportlab-users] problem with reportlab generating pdf
Robin Becker
robin at reportlab.com
Wed Jul 9 13:31:29 EDT 2008
Justinas Urbanavicius wrote:
> well this i got when opening pdf file, there is this message only, instead
> of the wanted content. So i presumed that it was an error. if it was raw PDF
> like Andy wrote, i wouldn't see this strange marks when opened with adobe
> reader, and i did copy this from the pdf
>
The stange marks at the tope are actually some japanese glyph that andy put in
to indicate early on that the PDF is actually an 8bit quantity ie not pure ascii
text. Further down there's part of a compressed stream; other stuff is PDF
controls/comments which are mostly, but not always human readable. This is
indeed a PDF document by the looks of it. Is it possible that PDF was converted
by something into PDF? It should certainly be possible to render most of a PDF
document using reportlab.
> On Wed, Jul 9, 2008 at 7:13 PM, Robin Becker <robin at reportlab.com> wrote:
>
>> Justinas Urbanavicius wrote:
>>
>>> hi, i'm using pisa 3.0 with is based on reportlab and when trying to
>>> convert
>>> html file to pdf, the following error is produced.
>>> i myself can't understand a single thing what is here written, maybe
>>> someone
>>> can helpout?
>>>
>> the stuff below looks like a raw pdf document. If you're seeing it in a
>> browser it probably means the server/application is not sending the right
>> mime type or your browser is misinterpreting it (ie hasn't got a plugin for
>> pdf etc etc). I would try and look at the pdf, but it has been totally
>> corrupted by email and as PDF is a binary format I won't be able to use it.
>>
>>
>>> %PDF-1.3
>>> %ӌ˞ ReportLab Generated PDF document http://www.reportlab.com
>>> % 'BasicFonts': class PDFDictionary
>>> 1 0 obj
>>>
>> ........
>>
>>> /Info 5 0 R
>>> /Root 4 0 R
>>> /Size 9 >>
>>> startxref
>>> 3073
>>> %%EOF
>>>
>>> --
>> Robin Becker
>>
>> _______________________________________________
>> reportlab-users mailing list
>> reportlab-users at reportlab.com
>> http://two.pairlist.net/mailman/listinfo/reportlab-users
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> reportlab-users mailing list
>> reportlab-users at reportlab.com
>> http://two.pairlist.net/mailman/listinfo/reportlab-users
--
Robin Becker
More information about the reportlab-users
mailing list