x2go_printjob_handler(job_file=None,
pdf_file=None,
job_title=None,
print_action=None,
parent_thread=None,
logger=None)
| source code
|
This function is called as a handler function for each incoming X2go
print job represented by the class X2goPrintJob.
The handler function will (re-)read the »printing« configuration file
(if no explicit print_action is passed to this function...).
It then will execute the <print_action>.do_print()
command.
- Parameters:
pdf_file (str ) - PDF file name as placed in to the X2go spool directory
job_title (str ) - human readable print job title
print_action (X2goPrintActionXXX nstance) - an instance of either of the possible
X2goPrintActionXXX classes
parent_thread (instance ) - the X2goPrintQueue thread that actually created this
handler's X2goPrintJob instance
logger (instance ) - the X2goPrintQueue's logging instance
|