Paul McNett wrote:
> Bob Sysero llc Dev wrote:
>   
>> Paul McNett wrote
>>     
>>>> In other words if you if you send the report to the printer the XML will 
>>>> be sent to ReportLab to be printed that has no relation to the PDF. To 
>>>> preview the report I think one would send the XML to ReportLab for 
>>>> preview? To create a PDF file I think I would send the XML to the 
>>>> ReportLab.
>>>> I have been able create a PDF file within the print dialog from with 
>>>> OpenOffice without any problem. I just haven't had the time to test 
>>>> ReportLab let but I feel it will not be a problem.
>>>>     
>>>>         
>>> No. The sole role of reportlab is to *create* the pdf using the api which 
>>> includes a 
>>> canvas object and drawing/paging operations. Dabo's ReportWriter is a 
>>> wrapper around 
>>> this that provides for banded reports.
>>>
>>> Nothing is responsible for previewing or printing your pdf except code that 
>>> you will 
>>> write. Well, there's a utility function provided by dabo to preview any pdf 
>>> using the 
>>> default pdf viewer, but this is separate from reportlab, ReportWriter, or 
>>> ReportDesigner.
>>>
>>> Paul
>>>       
>> The dabo ReportDesigner is used to create the report design and when 
>> saved will create a filerpt.rfxml. Dabo reportWriter banded report that 
>> is then passed to reportlab that will create the PDF file. Then I can 
>> use a dabo utility function to preview using my default pdf viewer. Does 
>> dabo have a print dialog that I can pass the PDF file to be printed? In 
>> other words how do you print the report to the printer in Ubuntu?
>>     
>
> We haven't done any printing for dabo yet, although this is something I've 
> been 
> meaning to research and wrap. wxPython has at least a couple different ways 
> to set 
> print settings and send print jobs.
>
> In the meantime, you can use dabo.lib.reportUtils.previewPDF("myreport.pdf") 
> to 
> preview it in the default pdf viewer, and use the print function from the pdf 
> viewer 
> to print the pdf.
>
> Paul
Understand

Bob



_______________________________________________
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]

Reply via email to