Part of stoqlib.reporting.base
Function | build_report | Given a class (BaseReportTemplate instance), build a report. It is |
Function | print_file | Given a filename try to print it. If no printer is specified, print |
Function | print_preview | Try preview the filename using one of the PDF viewers registred in |
Parameters | report_class | The report class to be build. |
(type: A BaseReportTemplate instance
If specified, extra parameters will be send to the report class constructor. ) |
Parameters | filename | The filename to print. |
(type: str ) | ||
printer | The printer name where to print. | |
(type: str ) | ||
extra_opts | Extra options to be passed to the printing command. | |
(type: list of strings ) |