|
Look at the DDS specifications for printer file keywords and see which work
in SCS mode. The manual is out there in PDF.
From
System i Programming DDS for printer files Version 6 Release 1
DRAWER (Drawer) keyword in printer files
You use this record-level keyword to specify the drawer from which
noncontinuous forms are selected. The format of the keyword is:
DRAWER(drawer-number | &drawer-number)
Drawer-number specifies the drawer from which the paper or the envelope is
to be fed. Valid values are 1 - 255 and *E1 as follows:
1 The paper is fed from the first drawer on the sheet-feed paper handler.
2 The paper is fed from the second drawer on the sheet-feed paper handler.
n The paper is fed from the nth drawer on the sheet-feed paper handler.
*E1 The envelope is fed from the envelope drawer on the sheet-feed paper
handler.
You can specify the drawer number as a constant or a program-to-system
field. When you specify the drawer number as a program-to-system field, the
field must exist in the same record format as the DRAWER keyword. It must
be defined as a length of 4, data type A and usage P.
If you do not specify the DRAWER keyword, the value specified on the DRAWER
parameter of the CRTPRTF, CHGPRTF or OVRPRTF command determines the paper
source drawer.
DRAWER is ignored at run time if it is not specified on a page boundary.
The printer is on a page boundary when no named or constant fields are
processed for a page. As soon as a named or constant field is processed,
the printer is no longer on a page boundary. The printer is on a page
boundary again when a SKIP, SPACE, or ENDPAGE keyword is processed that
causes the printer to move to a new page.
DRAWER, SKIP, and SPACE keywords are processed in the following order:
SKIPB SPACEB DRAWER SPACEA SKIPA
DRAWER is in effect only for the record format specified. After records
with the specified record format are processed, the paper-source drawer for
the next record format (if the DRAWER keyword is not specified) is the
drawer specified at the file level (CRTPRTF, CHGPRTF, or OVRPRTF command).
For files created with DEVTYPE(*SCS), if the DRAWER keyword is specified on
a record format that spans several pages, it remains in effect only for the
page on which it is specified.
On Fri, Jul 18, 2025 at 3:26 PM Jon Segasture <rvrratjon@xxxxxxxxxxx>
wrote:
Hello everyone,feed
I am helping a company that, believe it or not, is moving their AS/400
(yes, it is an AS/400) model 170 running V5R2 to a cloud provider. They
bought that machine probaby in 1998 to get y2k compliant. They got their
moneys worth and then some. They currently print invoices on a tractor
form that are envelope size and are stuffed in an envelope and mailedout.
We are looking to move that to a laser printer, but the first page willregular
need to be on pre-printed form and all other pages need to print on
paper. I have always done that in the past using AFPDS going to laserthe
printers such as the IBM Infoprint printers with IPDS capabilities and we
would print the first page from a drawer with the pre-printed form and
other pages from another drawer with plain paper. My question is how canwe
accomplish this if we just want to use a regular laser printer withspool
multiple drawers but without IPDS capability? I would imagine it the
file is defined as SCS, the drawer keyword inhold.
the DDS won't do anything, and I know if I send an AFPDS spool file to
an non-IPDS printer, it just laughs at me and puts the spool file on
list
Any insight is appreciated.
Thanks, Jon
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
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.