Classy::Printer

The command (class) Classy::Printer is used to manage printing. It can be used to open a printer call up a printing dialog, print, ...
Classy::Printer pagesize media
return the width and height of the media (media is given as e.g. A4)
Classy::Printer media {width height}
return the media (e.g. A4) given the pagesize (= a list of width and height)
Classy::Printer printhtml ?options?
prints html to the currently opened printer
Classy::Printer list
returns available printers
Classy::Printer pagesizes
returns available pagesizes
Classy::Printer dialog
open print dialog
Classy::Printer configure ?options?
configure print settings
Classy::Printer open printer
open printer for sending print data
Classy::Printer printcanvas ?options?
print a canvas to the opened printer