Skip to main content
Participant
March 2, 2017
Question

Force orientation of printer to Portrait using AVDocPrintParamsRec

  • March 2, 2017
  • 0 replies
  • 244 views

Hi,

I'm currently writing a PLUGIN for Adobe Pro using Adobe SDK X! and everything works great. I'm currently facing a challenge when printing using the default printer (windows 7.0) with the API AVDocPrintPagesWithParams()

I need to initialize the  AVDocPrintParamsRec structure to insure that the page size is FItToPaper and that the orientation is Portrait. Right now it's always pointing to "Auto portrait/landscape". 

The end results is that landscape pages in the document will get rotated to Portrait automatically. I need for the pages to be scaled down and Fit in Portrait mode without any rotation.

I was playing with the option  AVDocPrintNupData without any success.

Need help,

Thanks,

This topic has been closed for replies.