On Dec 15, 2008, at 11:53 AM, Jeff Johnson wrote:
> I need to be able to print to preprinted forms like packing slips or
> checks. Assuming I have a Dabo app that needs to do this type of
> printing, what approach should I take? Is there a module similar to
> Reportlab that supports printing to a printer? Does the report
> designer
> only work with Reportlab?
There are printing routines in wxPython, but they are very low-level:
you basically have to use the base drawing routines to draw your
output to a device context, and then send that DC to the printer. I've
tried to wrap that a couple of times in the past, but it is too
difficult to easily abstract out.
The Report Designer does only work with ReportLab, and I don't know
of a generic way to print from there. I know some Linux systems can
simply pipe the pdf to the lp device, but that's not too generic of a
solution.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]