ASCII Template PF used to print a form with logos on plain paper

Any IBM i topic that does not fit in another forum
Post Reply
NFCOChad
Posts: 3
Joined: Wed Feb 05, 2025 2:27 am

ASCII Template PF used to print a form with logos on plain paper

Post by NFCOChad »

We acquired a company years ago whose entire system is written in Sys36 and RPG 3. They have a printing process that uses an PF ASCII Template in a print command. The template produces all the lines, boxes, shading, and logos etc for a PO.

We need to update the logo and some of the box labels that the template produces.

We are clueless as to how to go about this. Any guidance would be greatly appreciated.

I can attach some docs when I am back in the office tomorrow.
Scott Klement
Site Admin
Posts: 856
Joined: Sun Jul 04, 2021 5:12 am

Re: ASCII Template PF used to print a form with logos on plain paper

Post by Scott Klement »

Hi,

It is either RPG II on the System/36, or RPG III on the System/38. RPG III did not run on the System/36.

If you're interested in bringing me in as a consultant to help with your project, I'm available. I can send you an email.
NFCOChad
Posts: 3
Joined: Wed Feb 05, 2025 2:27 am

Re: ASCII Template PF used to print a form with logos on plain paper

Post by NFCOChad »

I guess the point of mentioning RPG and RPG36 was to indicate that this is really old and hasn't been touched since 1997. We are on a Power9 that still has programs that are of "type" RPG36 and RPG.

This is the command we are dealing with

PRTASCII PRINTER(np5) SOURCEFILE(QTEMP/PRTPOFIL) +
TEMPLATE(DEETERPO) LOADTMPMCR(*YES) +
FONTID(4099) FONTPITCH(12) SAVE(*YES)

And attached is a snip of the form it creates. We want to swap out the logo.

How do we access the DEETERPO template to make modifications? I'm just looking for guidance on how to do it, I'm not looking for someone to do the work for us.
Attachments
PO Example
PO Example
PO.jpg (66.57 KiB) Viewed 11442 times
jonboy49
Posts: 239
Joined: Wed Jul 28, 2021 8:18 pm

Re: ASCII Template PF used to print a form with logos on plain paper

Post by jonboy49 »

I'm guessing that PRTASCII is part of a third party product as I see no sign of it in any IBM docs and I have never heard of it.

What library is that command in?
NFCOChad
Posts: 3
Joined: Wed Feb 05, 2025 2:27 am

Re: ASCII Template PF used to print a form with logos on plain paper

Post by NFCOChad »

It does appear to be a 3rd party command. We will go a different route and recreate the form in our current forms package.
Post Reply