[reportlab-users] PDFs generated by ReportLab not printing
Andy Robinson
andy at reportlab.com
Fri May 22 08:02:15 EDT 2009
2009/5/22 King Simon-NFHD78 <simon.king at motorola.com>:
> I can't see an option to Save a Postscript file directly from Acrobat
> Reader except by using the "Print to file" option.
On Linux, try "acroread --help". On Windows they don't offer that
feature - it might encourage people to automate stuff ;-)
> So it really does look like there is something wrong with the postscript
> commands inside my PDF. Now that I can reproduce the problem, I'll start
> eliminating parts of the report to see if I can figure out exactly which
> part triggers the problem.
Do you have the PDF specification to hand? The two commands to save
and restore state are 'q' and 'Q' , and they should always come in
matched, properly nested pairs as if they were '(' and ')' in a
programming language. Maybe you could teach an editor to highlight
and fold them ;-)
- Andy
More information about the reportlab-users
mailing list