• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

mac printarea different

Guest
Jul 06, 2014 Jul 06, 2014

Copy link to clipboard

Copied

Hello!  I love your Adobe products.

I was working with flash builder 4.6 on MacOS 10.8.5.

My problem is that printableArea of the PrintJob class in Web-version is different with Air-version.

My coding here...

>>> Air-version

myPrintJob.addPage(_page, PrintJob.printableArea);

>>> Web-version

myPrintJob.addPage(_page, new Rectangle(

     (myPrintJob.paperWidth - myPrintJob.pageWidth) / 2,

     (myPrintJob.paperHeight - myPrintJob.pageHeight) / 2,

     myPrintJob.pageWidth,

     myPrintJob.pageHeight

));

I debugged the value. The paper is "A4".

- Air-version

PrintJob.printableArea = (18, 18, 559, 783)

- Web-version

myPrintJob(paperWidth = 595, paperHeight = 842, pageWidth = 559, pageHeight = 783)

But… Printed result as PDF is a lot different.

WHAT HAVE I MISTAKE?

If you want, I can send the printed result as pdf.

I Hope your answer.

Thank you.

Views

178

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines