Setting >1 Page Orientation in PDFs

Author: Gene Wirchenko

Posted: 2016-11-16 at 16:59:14

Hello:

One of the print options for my client billing app is to PDF

file. I wrote the code for use with Adobe's Adobe PDF printer

driver. It works mostly. I am now looking at switching to

Bullzip. It works mostly.

I would like to get rid of the "mostly".

The problem I have is with printer orientation. I can set the

orientation at the beginning of the print job to either portrait or

landscape. That works just fine. What I can not do is change the

orientation midjob. This problem exists with both Adobe PDF and

Bullzip. Any later change to the orientation during the print job is ignored.

To set the orientation, I first close printer, use a .frx with

the appropriate orientation, and then do a =sys(1037,3).

When printing to a physical printer, there is no problem: the

orientation changes.

Please note that I generate my output with set printer on and

?. Switching to .frt/.frx is not a viable option.

The reason that I want this is because some PDFs should contain

more than one report. (Some invoices should also have a transaction

report following them.) Fortunately, I currently do not have a need

to have these combined print job PDFs contain both portrait and

landscape pages, but it would be nice to have in case it is ever

needed. And it does not seem it should be so difficult.

What am I doing wrong, or is it impossible?

Sincerely,

Gene Wirchenko

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/fc9994f49876c8f35c412558678bd94a@mtlp000084

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2016 Gene Wirchenko