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



Simplest way I can think of:

1). Create the *OVL object on the IBM i; various tools for doing this, including good old STRAFPU.

2). Create the Printer File (CRTPRTF) used by your (RPG IV?) program. Ensure it is defined as DEVTYPE(*AFPDS). Specify your *OVL object for the FRONTOVL or BACKOVL of every page. (You could get more sophisticated by using the OVERLAY DDS keyword.)

3). Modify your Printer File - or use OVRPRTF FILE(*PRTF) DEVTYPE(*AFPDS) TOSTMF('/home/<your directory>/<file name>.pdf') WSCST(*PDF)

4). Run your program. This will generate a PDF file in the above IFS directory

5). Download the above PDF to your PC and print it. (RDi is great for copy/paste of files from the IFS to Local Windows directory).

No faffing around with printer emulation or *WSCST objects. Works for me for "one-off" printing - hope it does the job for you.

Brian.

-----Original Message----- From: Booth Martin
Sent: Friday, March 17, 2017 9:30 PM
To: RPG programming on the IBM i / System i
Subject: ACS create printer

My goal is to print a report with an overlay on my Canon inkjet printer
printer. The instructions are overwhelming me.

Is there a simple, straight forward set of instructions available that
does not require my knowing the details of every IBM printer ever made
before I can proceed?


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.