Can we get supported paper size of printer in Actionscript 3

106 Views Asked by At

Can we get supported paper size of printer in Actionscript 3? I read the help document of adobe PrintJob class but can not find the method to get the list of paper size of printer. Thanks.

1

There are 1 best solutions below

0
On

You should use PrintJob.paperArea to get paper size in points, then use this table to convert width*height into readable paper format. According to the manual, this property is available before you actually start a print job, so it should suffice.