Public Member Functions

Koo::Printer::Printer::Printer Class Reference

Provides various static functions to easily print files and/or data comming from the server. More...

List of all members.

Public Member Functions

def open
 Opens the specified file with system's default application.
def sendToPrinter
 Sends the specified file directly to the printer.
def printFile
 Sends the specified file to printer or opens it with the default application depending on user settings.
def printData
 Prints report information contained in the data parameter.

Detailed Description

Provides various static functions to easily print files and/or data comming from the server.

It encapsulates system dependent code and handles user preferences, such as sending directly to the printer if the system allows that.

Definition at line 44 of file Printer.py.


Member Function Documentation

def Koo::Printer::Printer::Printer::printData (   data,
  model,
  ids 
)

Prints report information contained in the data parameter.

Which will typically be received from the server.

Definition at line 73 of file Printer.py.

def Koo::Printer::Printer::Printer::printFile (   fileName,
  fileType 
)

Sends the specified file to printer or opens it with the default application depending on user settings.

Definition at line 64 of file Printer.py.

def Koo::Printer::Printer::Printer::sendToPrinter (   fileName  ) 

Sends the specified file directly to the printer.

Note that on non-windows systems it will try to execute system's lpr application.

Definition at line 54 of file Printer.py.


The documentation for this class was generated from the following file:
Generated by Doxygen