Jeff Johnson wrote: > I really like the PDF printing idea that Dabo uses. I have been using > it in my VFP apps for years for invoices and sending reports to customers. > > 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?
The report writer only works with reportlab, so your route would be to create a (possibly in-memory) PDF "file", then send that to the printer. However, you can also print to the printer directly by copying text to it. But not with Dabo's report writer. I have in way-future plans to move away from reportlab, and instead draw the graphics using wxPython instead, which would give much faster (and displayable natively) report previews, and the ability to output Postscript (the precursor to PDF). But don't wait for that. wxPython has some objects we haven't wrapped yet, that have to do with printing. Paul _______________________________________________ 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]
