|
We have been doing this for years this way, these instructions are straight
from the IBM manual.
We have a PDF of the 2009 W2 from the IRS website.
We have a AFP printer defined on our PC as print to file, output Page
segment. We print the PDF to that file using adobe viewer. We write it to a
shared folder on the as/400.
We then do a CPYFRMPCD to QGPL/AFPRES member AFPRES TRNTBL(*NO). Then
CRTPAGSEG from the AFPRES file.
Then print the page segment from STRAFPU. Get half of the page. Left side
only.
W2 is attached.
Tom Deskevich
Infocon Corporation
Phone 814-472-6066
Fax 814-472-5019
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.