×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Thanks... That's the answer. It is somewhere in Adobe preferences.
Had another user open it in Nitro Pro - it defaults to Portrait.
Same user opened it in Acrobat Reader - it defaults to Portrait.
There's also a setting for "Choose paper source by PDF page size" - that works too.
Bottom line... I don't need to do anything special with the OVRPRTF
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Justin Taylor
Sent: Thursday, September 19, 2019 8:53 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: OVRPRTF to PDF
I'd think that PAGRTT() would be the answer. Have you checked the orientation setting for printing in Adobe? Mine defaults to "Auto portrait/landscape".
HTH
-----Original Message-----
From: Greg Wilburn [mailto:gwilburn@xxxxxxxxxxxxxxxxxxxxxxx]
Sent: Wednesday, September 18, 2019 4:21 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: OVRPRTF to PDF
I have several older reports where the print file is AFPDS...
I've been using an old method for a while to create PDFs and have been slowly moving over to using
OVRPRTF FILE(<printfile>) DEVTYPE(*AFPDS) TOSTMF(&STMF) WSCST(*PDF)
This works fantastic - the PDFs are much smaller now.
However, some of the reports (when printed to a printer) are landscape. The PDF version looks fine on the screen, but if you attempt to print from Acrobat Reader the file is Portrait (cutting off the right-hand side).
I tried several options on the OVRPRTF command with no luck. Rotating the page 90 degrees is not the answer (its rotated on screen)
Anyone have experience with this?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.