× 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.



Up to my past experience with DDS print files this combo is not supported:
- Afpds
- External rotation
- Overlay
- Boxes
- Positions via CPI and LPI

More info:
https://www.ibm.com/docs/en/i/7.5?topic=considerations-special-printer-file-afp-data-stream

Usually the safe combo is:
- Afpds
- Internal rotation TXTRTT keyword
- Afprsc instead of Overlay
- Positions via POSITION() keyword

In this way everything is relative to the margins specified on the FRONTMGN
or BACKMGN parameter on the CRTPRTF command.

HTH
--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco


Il giorno ven 5 gen 2024 alle ore 00:10 DEnglander--- via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> ha scritto:

I have an RPG program that is creating a spool file with an Overlay. The
overlay is basically boxes to make sections on the page. There is one
format in the PRTF with BOX and POSITION keywords, which appears in the
page footer area.

When the program finishes, I release the spool file to a network attached
laser printer and it prints with the boxes and characters aligned.

When I convert it to a PDF and save it to the IFS via CPYSPLF and
WSCST(*PDF) option, I do get a PDF, but the boxes and characters are not
in alignment anymore. It appears that the characters are too high by one
line and about 4 positions to the right too far.

The PRTF is compiled with these parameters: DEVTYPE(*AFPDS) LPI(7.5)
CPI(10) OVRFLW(66). The OVRPRTF in the CL also specifies the Overlay and
PAGRTT parameters.

Has anyone else experienced this? Our development system is on V7R4 with
fairly recent PTFs.

Thank you,

Doug



"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments
accompanying it) contain confidential information belonging to the sender.
The information is intended only for the use of the intended recipient. If
you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution or the taking of any action in reliance
on the contents of the information is strictly prohibited. Any
unauthorized interception of this transmission is illegal under the law.
If you have received this transmission in error, please promptly notify the
sender by reply e-mail, and then destroy all copies of the transmission."
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.