[Jsprintsetup] Custom Paper Size
watchcricket at hotmail.com
Fri Mar 18 13:45:28 PDT 2011
I came to know regarding your firefox add-on and started liking it. I am kind of learning/preparing a demo.
I am currently using your 0.9.0 beta so that I can use custom paper sizes.
However, I am having issues with printing using the custom paper size. Below is my code:
Goal: To print a page in "Rotated Legal" (14.0in x 8.5in) size!
jsPrintSetup.setPrinter('HP Officejet 7300');
jsPrintSetup.definePaperSize(44, 119, 'na_legal_rotated', 'na_legal_14x8.5in', 'US Legal Rotated', 14.0, 8.5, jsPrintSetup.kPaperSizeInches);
Result: I am not seeing the print in "14.0in x 8.5in" size!!
I would really appreciate if you could take a moment to steer me in the right direction.
Many thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Jsprintsetup