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



Hi Vern, yes you have to write new code but it's worth.

Using program to system fields is a convenient way to stay flexible.

A R PRTRSC
A AFPRSC(&PRTNAME &PRTAFPTIPO &PRTV -
A &PRTH (*ROTATION &PRTAFPROTA) -
A (*PATH &PRTPATH))
A PRTV 5S 3P
A PRTH 5S 3P
A PRTNAME 250A P
A PRTPATH 250A P
A PRTAFPTIPO 10A P
A PRTAFPROTA 3S 0P

And this one to print text in any position:

A R PRT0010O0P
A TEXT('Char 132')
A PRTFLD132 132
A FNTCHRSET(&PRTFONT &PRTCODPAGE
A (*POINTSIZE &PRTPOINT))
A POSITION(&PRTV &PRTH)
A TXTRTT(0)
A 01 COLOR(BLU)
A 02 COLOR(BRN)
A 03 COLOR(GRN)
A 04 COLOR(PNK)
A 05 COLOR(RED)
A 06 COLOR(TRQ)
A 07 COLOR(YLW)
A PRTV 5S 3P
A PRTH 5S 3P
A PRTPOINT 4S 1P
A PRTFONT 8A P
A PRTCODPAGE 8A P

I don't use printer files since 2015 so I don't know if AFPRSC has been
improved or not.

HTH
--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco


Il giorno ven 11 giu 2021 alle ore 14:07 Vern Hamberg <
vhamberg@xxxxxxxxxxxxxxx> ha scritto:

I might say it is more than "it" - although AFPRSC has been around since
V5R4, people are not aware of it.

And you can't use it in the OVERLAY parameters of a PRTF, so you have to
move that into source - not impossible, just makes a difference.

We have replaced PAGSEG specs with AFPRSC to good results even with GIFs
- PNGs are not supported on the i yet that I know of.

If possible, please include an example of your use of AFPRSC keyword and
relevant parameter values.

Regards
Vern

On 6/11/2021 6:14 AM, Marco Facchinetti wrote:
Next time use AFPRSC and single page Pdf's. Store the original document
and
the corresponding Pdf in the same Ifs folder and that's it.

HTH
--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco


Il giorno ven 11 giu 2021 alle ore 02:47 DFreinkel <
dfreinkel@xxxxxxxxxxxxxxxxx> ha scritto:

I was able to use box and line to get what I needed.
It was slower than an overlay but this way anyone can maintain it.

Thanks

Darryl Freinkel
iPad

On Jun 10, 2021, at 5:43 PM, Vern Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:
Overlays are still created the same way - you use a printer driver in
windows to "print" the source, then copy to the i, then run the CRTOVL
command, I think it is.
The drivers are now obtained from Ricoh, IIRC.

HTH
Vern

----- Original Message -----
From: dfreinkel@xxxxxxxxxxxxxxxxx
To: "RPG programming on IBM i" <rpg400-l@xxxxxxxxxxxxxxxxxx>
Sent: Thursday, June 10, 2021 4:20:20 PM
Subject: How do I create overlays on v7.4

Its been a long time since I created an overlay and IBM changed
something on
how to create the overlays.



Does anyone know what the procedure is or is there a way using the DDS
in a
printer file that will let me create boxes and lines?



TIA



Darryl Freinkel

A4G

Telephone: 770.321.8562 Mobile: 678.355.8562



--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


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.