Problems printing from html AIR app - error and printout cropped -
I am trying to print from html / javascript air app The code I am using is: < / P>
var pjob = new window.runtime.flash.printing.PrintJob; If (pjob.start ()) {var poptions = new window.runtime.flash.printing.PrintJobOptions; Poptions.printAsBitmap = True; Pjob.addPage (window.html loader, blank, popout); Pjob.send (); } I've copied it from this blog, which claims to be a working app:
In both my code and blog example code, when I To print it, the Function page pops up the Setup box and when I right click on it, the ADL console shows the following error:
2009-04-28 22: 00: 33.950 ADL [19 9 10B] error This still continues to launch the last print dialogue It is, but when I click on the print so it only app to print to the upper left quarter of the window. Both apps have tried to do the same thing, generate error and then harvest the output.
I am using CLI development tool on Mac. I know Mac does not support vector printing, but I'm choosing a bitmap option. What does this error mean and why is it already printing a print job of nine hundred pixels X and Y?
I'm not an expert, and for some reason I am struggling with a print job, but try Giving print rectangle (parameter to add second page)
Comments
Post a Comment