Is there a way to print the DayView, WeekView, MonthView calendar controls? I have the controls grabbing events from the database and building nice looking calendars, but there doesn’t seem to be a method for printing these nice looking calendars.
You can save a component to an image like this:
component = event.source.parent.getComponent('Week View') system.print.printToImage(component) #or... #system.print.printToImage(component,"c:\path\to\myimage.png")
or do a print job using system.print.createPrintJob
I tend to just give users the ability to save images that they can print on their own because the java print dialog is very(!) slow for me.