Package x2go :: Module printactions :: Class X2goPrintActionPDFVIEW
[frames] | no frames]

Class X2goPrintActionPDFVIEW

source code

     object --+    
              |    
X2goPrintAction --+
                  |
                 X2goPrintActionPDFVIEW

Print action that views incoming print job in an external PDF viewer application.

Instance Methods
 
__init__(self, client_instance=None, pdfview_cmd=None, logger=None, loglevel=56)
This is a meta class and has no functionality as such.
source code

Inherited from X2goPrintAction: do_print

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  __name__ = 'PDFVIEW'
  __decription__ = 'View as PDF document'
  pdfview_cmd = None

Inherited from X2goPrintAction: __description__

Properties

Inherited from X2goPrintAction: description, name

Inherited from object: __class__

Method Details

__init__(self, client_instance=None, pdfview_cmd=None, logger=None, loglevel=56)
(Constructor)

source code 

This is a meta class and has no functionality as such. It is used as parent class by »real« X2Go print actions.

Parameters:
  • client_instance (obj) - the underlying X2goClient instance
  • pdfview_cmd (str) - command that starts the external PDF viewer application
  • logger (obj) - you can pass an X2goLogger object to the X2goPrintActionPDFVIEW constructor
  • loglevel (int) - if no X2goLogger object has been supplied a new one will be constructed with the given loglevel
Overrides: object.__init__