|
<copy from my own instructions to new developers in our team> How to create an overlay 1. Create the lay-out of the overlay in any windows application that can print output 2. Print the lay-out to the IBM AFP printer driver (available at http://www2.printers.ibm.com/R5PSC.NSF/web/ipprintdriver). The printer driver must be configured to output to a file using the desired resource type (i.e. overlay). Consult the printer driver help text on how to do this. 3. Create an empty physical file on the AS/400 (record length 32766 bytes) using the following command: CRTPF FILE(library/file) RCDLEN(32766) LVLCHK(*NO) MAXMBRS(*NOMAX) 4. Add a member for the overlay to be created using the following command : ADDPFM FILE(library/file) MBR(member) TEXT(description) 5. Upload the overlay file to the physical file on the AS/400 with any FTP package. The following example assumes that you use FTP included in all versions of Windows. Start an MS-DOS session and issue the following commands : · ftp systemname · bin · cd library (as400) · lcd directory (pc) · put pcfile as400file.member 6. Create the overlay on the AS/400 using the following command: CRTOVL OVL(library/overlay) FILE(library/file) MBR(member) DATATYPE(*AFPDS) 7. Override the print file with the option DEVTYPE(*AFPDS) and specify the overlay FRONTOVL(library/overlay) <end copy> HTH Peter Colpaert Application Developer Honda Europe NV Langerbruggestraat 104 B-9000 GENT Peter.Colpaert@honda-eu.com Tel: +32 9 2501 334 Fax: +32 9 2501 231 ---------- "He's ALIVE, Jim. Where did I go wrong?" ---------- tomh@simas.com@midrange.com on 17/05/2002 04:21:37 Please respond to midrange-l@midrange.com Sent by: midrange-l-admin@midrange.com To: midrange-l@midrange.com cc: Subject: Re: RE: How do I create an overlay? I'm using Word2000 to create the file, and saving it as a Word2000 file. I'm FTPing it to QDLS/TEST, BIN format. As far as proper AFP format, I have no clue. How do I do that? _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. ______________________________________________________________________ The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or the entity to whom it is addressed and others authorised to receive it. If you have received it by mistake, please let the sender know by e-mail reply and delete it from your system. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance of the contents of this information is strictly prohibited and may be unlawful. Honda Europe NV is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.