CRTPRTF (Create Printer File) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: No
>>-CRTPRTF------------------------------------------------------>
 
          .-*CURLIB/------.
>--FILE(--+---------------+--printer-device-file-name--)-------->
          '-library-name/-'
 
>--+------------------------------------------------------+----->
   |           .-*NONE-------------------------------.    |
   |           | .-*LIBL/--------.                   |    |
   '-SRCFILE(--+-+---------------+--source-file-name-+--)-'
                 +-*CURLIB/------+
                 '-library-name/-'
 
>--+-----------------------------------------+------------------>
   |          .-*FILE-------------------.    |
   '-SRCMBR(--+-source-file-member-name-+--)-'
 
                                                        (2)
>--+--------------------------------------------------+--------->
   |            .-------------------------.           |
   |            V .-*SRC or *SOURCE-----. | (1)       |
   '-OPTION(--+---+-*NOSRC or *NOSOURCE-+-+------+--)-'
              | .-*LIST---.                      |
              +-+-*NOLIST-+----------------------+
              | .-*NOSECLVL-.                    |
              +-+-*SECLVL---+--------------------+
              | .-*NOEVENTF-.                    |
              '-+-*EVENTF---+--------------------'
 
>--+--------------------------------+--------------------------->
   |          .-20-------------.    |
   '-GENLVL(--+-severity-level-+--)-'
 
>--+------------------------------+----------------------------->
   |        .-0--------------.    |
   '-FLAG(--+-severity-level-+--)-'
 
>--+--------------------------+--------------------------------->
   |       .-*JOB--------.    |
   '-DEV(--+-*SYSVAL-----+--)-'
           '-device-name-'
 
>--+----------------------------------+------------------------->
   |           .-*SCS------------.    |
   '-DEVTYPE(--+-*IPDS-----------+--)-'
               |            (3)  |
               +-*USERASCII------+
               |        (3)      |
               +-*AFPDS----------+
               +-*AFPDSLINE------+
               '-*LINE-----------'
 
>--+----------------------+--+-------------------------+-------->
   |          .-*NO--.    |  |             .-*YES-.    |
   '-IGCDTA(--+-*YES-+--)-'  '-IGCEXNCHR(--+-*NO--+--)-'
 
>--+-----------------------------+------------------------------>
   |        .-*SRCMBRTXT----.    |
   '-TEXT(--+-*BLANK--------+--)-'
            '-'description'-'
 
>--+------------------------------------------------------------+-->
   |            .-66----------.  .-132--------.  .-*ROWCOL-.    |
   '-PAGESIZE(--+-page-length-+--+-page-width-+--+-*UOM----+--)-'
 
>--+-----------------------+--+------------------------+-------->
   |       .-6--------.    |  |       .-10--------.    |
   |       |   (4)    |    |  '-CPI(--+-5---------+--)-'
   '-LPI(--+-3--------+--)-'          +-12--------+
           +-4--------+               |      (4)  |
           |     (4)  |               +-13.3------+
           +-7.5------+               +-15--------+
           +-8--------+               +-16.7------+
           +-9--------+               |    (4)    |
           '-12-------'               +-18--------+
                                      |    (4)    |
                                      '-20--------'
 
>--+----------------------------------------------+------------->
   |            .-*DEVD----------------------.    |
   '-FRONTMGN(--+-offset-down--offset-across-+--)-'
 
>--+---------------------------------------------+-------------->
   |           .-*FRONTMGN------------------.    |
   '-BACKMGN(--+-*DEVD----------------------+--)-'
               '-offset-down--offset-across-'
 
>--+--------------------------------------+--------------------->
   |          .-60-------------------.    |
   '-OVRFLW(--+-overflow-line-number-+--)-'
 
>--+--------------------+--------------------------------------->
   |        .-*NO--.    |
   '-FOLD(--+-*YES-+--)-'
 
>--+---------------------------------------------------------+-->
   |                    .-' '-------------------------.      |
   |            .-*YES--+-'--replacement-character--'-+-.    |
   '-RPLUNPRT(--+-*NO-----------------------------------+--)-'
 
>--+---------------------+--+---------------------------+------->
   |         .-*NO--.    |  |           .-*NONE----.    |
   '-ALIGN(--+-*YES-+--)-'  '-CTLCHAR(--+-*FCFC----+--)-'
                                        '-*MACHINE-'
 
>--+-----------------------------------------------------------+-->
   |          .-*NORMAL-----------------------------------.    |
   |          | .---------------------------------------. |    |
   |          | V                                  (5)  | |    |
   '-CHLVAL(--+---(--channel-value--line-number--)------+-+--)-'
 
>--+-----------------------------+------------------------------>
   |            .-*CONTENT--.    |
   '-FIDELITY(--+-*ABSOLUTE-+--)-'
 
>--+-----------------------------+------------------------------>
   |           .-*STD-------.    |
   '-PRTQLTY(--+-*DEVD------+--)-'
               +-*DRAFT-----+
               +-*NLQ-------+
               '-*FASTDRAFT-'
 
>--+----------------------------+------------------------------->
   |            .-*DEVD----.    |
   '-FORMFEED(--+-*AUTOCUT-+--)-'
                +-*CONT----+
                +-*CONT2---+
                '-*CUT-----'
 
>--+-------------------------------+---------------------------->
   |          .-1-------------.    |
   '-DRAWER(--+-*E1-----------+--)-'
              +-*FORMDF-------+
              '-source-drawer-'
 
>--+----------------------------+------------------------------->
   |          .-*DEVD------.    |
   '-OUTBIN(--+-output-bin-+--)-'
 
>--+------------------------------------------+----------------->
   '-FONT(--+-*CPI-----------------------+--)-'
            +-*DEVD----------------------+
            |             .-*NONE------. |
            '-identifier--+-point-size-+-'
 
>--+-------------------------------------------------+---------->
   |         .-*DEVD----------------------------.    |
   '-CHRID(--+-*SYSVAL--------------------------+--)-'
             +-*JOBCCSID------------------------+
             +-*CHRIDCTL------------------------+
             '-graphic-character-set--code-page-'
 
>--+-----------------------+------------------------------------>
   |          .-*JOB--.    |
   '-DECFMT(--+-*FILE-+--)-'
 
>--+---------------------------------------------------------------------------------------------------+-->
   |             .-*FONT--------------------------------------------------------------------------.    |
   |             | .-*LIBL/--------.                 .-*LIBL/--------.             .-*NONE------. |    |
   '-FNTCHRSET(--+-+-*CURLIB/------+--character-set--+-*CURLIB/------+--code-page--+-point-size-+-+--)-'
                   '-library-name/-'                 '-library-name/-'
 
>--+--------------------------------------------------------------------+-->
   |          .-*FNTCHRSET-----------------------------------------.    |
   |          | .-*LIBL/--------.                   .-*NONE------. |    |
   '-CDEFNT(--+-+-*CURLIB/------+--coded-font-name--+-point-size-+-+--)-'
                '-library-name/-'
 
>--+---------------------------------------------------------+-->
   |          .-*NONE-----------------------------------.    |
   |          | .-*LIBL/--------.                       |    |
   '-PAGDFN(--+-+---------------+--page-definition-name-+--)-'
                +-*CURLIB/------+
                '-library-name/-'
 
>--+---------------------------------------------------------+-->
   |          .-*NONE-----------------------------------.    |
   '-FORMDF(--+-*DEVD-----------------------------------+--)-'
              | .-*LIBL/--------.                       |
              '-+---------------+--form-definition-name-'
                +-*CURLIB/------+
                '-library-name/-'
 
>--+--------------------------------------------+--------------->
   |            .-*NONE--------------------.    |
   |            | .----------------------. |    |
   |            | V                 (1)  | |    |
   '-AFPCHARS(--+---coded-font-name------+-+--)-'
 
>--+-------------------------+--+-----------------------+------->
   |             .-*NO--.    |  |          .-*AUTO-.    |
   '-TBLREFCHR(--+-*YES-+--)-'  '-PAGRTT(--+-*DEVD-+--)-'
                                           +-*COR--+
                                           +-0-----+
                                           +-90----+
                                           +-180---+
                                           '-270---'
 
>--+--------------------+--+-----------------------+------------>
   |           .-1-.    |  |          .-*TEXT-.    |
   '-MULTIUP(--+-2-+--)-'  '-REDUCE(--+-*NONE-+--)-'
               +-3-+
               '-4-'
 
>--+------------------------------+--+----------------------+--->
   |          .-*JOB---------.    |  |           .-0---.    |
   '-PRTTXT(--+-*BLANK-------+--)-'  '-JUSTIFY(--+-50--+--)-'
              '-'print-text'-'                   '-100-'
 
>--+-------------------------+--+--------------------+---------->
   |          .-*NO-----.    |  |       .-*INCH-.    |
   '-DUPLEX(--+-*YES----+--)-'  '-UOM(--+-*CM---+--)-'
              +-*TUMBLE-+
              '-*FORMDF-'
 
>--+---------------------------------------------------------------------------------------+-->
   |            .-*NONE---------------------------------------------------------------.    |
   |            | .-*LIBL/--------.                .-0-----------.  .-0-------------. |    |
   '-FRONTOVL(--+-+---------------+--overlay-name--+-offset-down-+--+-offset-across-+-+--)-'
                  +-*CURLIB/------+
                  '-library-name/-'
 
>--+-------------------------------------------------------------------------------------------------------+-->
   |           .-*FRONTOVL----------------------------------------------------------------------------.    |
   '-BACKOVL(--+-*NONE--------------------------------------------------------------------------------+--)-'
               | .-*LIBL/--------.                .-0-----------.  .-0-------------.  .-*NOCONSTANT-. |
               '-+---------------+--overlay-name--+-offset-down-+--+-offset-across-+--+-*CONSTANT---+-'
                 +-*CURLIB/------+
                 '-library-name/-'
 
>--+-------------------------+--+---------------------------+--->
   |             .-*NO--.    |  |              .-*DEVD-.    |
   '-CVTLINDTA(--+-*YES-+--)-'  '-IPDSPASTHR(--+-*NO---+--)-'
                                               '-*YES--'
 
>--+---------------------------------------------------------+-->
   |              .-*DEVD-------------------------------.    |
   '-USRRSCLIBL(--+-*NONE-------------------------------+--)-'
                  +-*JOBLIBL----------------------------+
                  +-*CURLIB-----------------------------+
                  | .---------------------------------. |
                  | V                            (1)  | |
                  '---user-resource-library-name------+-'
 
>--+-------------------------------+---------------------------->
   |              .-*NONE-----.    |
   '-CORNERSTPL(--+-*DEVD-----+--)-'
                  +-*BOTRIGHT-+
                  +-*TOPRIGHT-+
                  +-*TOPLEFT--+
                  '-*BOTLEFT--'
 
>--+------------------------------------+----------------------->
   |              .-*NONE----------.    |
   '-EDGESTITCH(--+-| EDGESTITCH |-+--)-'
 
>--+------------------------------------+----------------------->
   |              .-*NONE----------.    |
   '-SADLSTITCH(--+-| SADLSTITCH |-+--)-'
 
>--+-------------------------+--+----------------------+-------->
   |          .-*DEVD---.    |  |          .-*YES-.    |
   '-FNTRSL(--+-*SEARCH-+--)-'  '-DFRWRT(--+-*NO--+--)-'
              +-240-----+
              '-300-----'
 
>--+-------------------------+---------------------------------->
   |         .-*YES-----.    |
   |         |     (6)  |    |
   '-SPOOL(--+-*NO------+--)-'
 
>--+----------------------------------------------------+------->
   |        .-*JOB---------------------------------.    |
   '-OUTQ(--+-*DEV---------------------------------+--)-'
            | .-*LIBL/--------.                    |
            '-+---------------+--output-queue-name-'
              +-*CURLIB/------+
              '-library-name/-'
 
>--+-----------------------------+------------------------------>
   |            .-*STD------.    |
   '-FORMTYPE(--+-form-type-+--)-'
 
>--+----------------------------------+------------------------->
   |          .-1----------------.    |
   '-COPIES(--+-number-of-copies-+--)-'
 
>--+---------------------------------------------------+-------->
   |             .-1-------------.  .-*END--------.    |
   '-PAGERANGE(--+-*ENDPAGE------+--+-ending-page-+--)-'
                 '-starting-page-'
 
>--+----------------------------------+------------------------->
   |           .-100000----------.    |
   '-MAXRCDS(--+-*NOMAX----------+--)-'
               '-maximum-records-'
 
>--+--------------------------------------------+--------------->
   |           .-0-------------------------.    |
   '-FILESEP(--+-number-of-file-separators-+--)-'
 
>--+----------------------------+--+--------------------+------->
   |            .-*FILEEND-.    |  |        .-*NO--.    |
   '-SCHEDULE(--+-*JOBEND--+--)-'  '-HOLD(--+-*YES-+--)-'
                '-*IMMED---'
 
>--+--------------------+--------------------------------------->
   |        .-*NO--.    |
   '-SAVE(--+-*YES-+--)-'
 
>--+---------------------------------+-------------------------->
   |          .-*JOB------------.    |
   '-OUTPTY(--+-output-priority-+--)-'
 
>--+---------------------------+-------------------------------->
   |          .-*SOURCE---.    |
   '-USRDTA(--+-user-data-+--)-'
 
>--+-----------------------------+------------------------------>
   |           .-*CURUSRPRF-.    |
   '-SPLFOWN(--+-*JOB-------+--)-'
               +-*CURGRPPRF-+
               '-*JOBGRPPRF-'
 
>--+------------------------------------+----------------------->
   |             .-*NONE-----------.    |
   |             | .-------------. |    |
   |             | V        (1)  | |    |
   '-USRDFNOPT(--+---option------+-+--)-'
 
>--+--------------------------------------+--------------------->
   |             .-*NONE-------------.    |
   '-USRDFNDTA(--+-user-defined-data-+--)-'
 
>--+----------------------------------------------------------------+-->
   |             .-*NONE---------------------------------------.    |
   |             | .-*LIBL/--------.                           |    |
   '-USRDFNOBJ(--+-+---------------+--object-name--+-*DTAARA-+-+--)-'
                   +-*CURLIB/------+               +-*DTAQ---+
                   '-library-name/-'               +-*FILE---+
                                                   +-*PSFCFG-+
                                                   +-*USRIDX-+
                                                   +-*USRQ---+
                                                   '-*USRSPC-'
 
>--+-------------------------+---------------------------------->
   |             .-*NO--.    |
   '-IGCCHRRTT(--+-*YES-+--)-'
 
>--+----------------------------+------------------------------->
   |          .-*CPI-------.    |
   '-IGCCPI(--+-*CONDENSED-+--)-'
              +-5----------+
              +-6----------+
              '-10---------'
 
>--+-------------------------+---------------------------------->
   |           .-*YES---.    |
   '-IGCSOSI(--+-*NO----+--)-'
               '-*RIGHT-'
 
>--+-----------------------------------------------------------------------+-->
   |             .-*SYSVAL--------------------------------------------.    |
   |             | .-*LIBL/--------.                   .-*NONE------. |    |
   '-IGCCDEFNT(--+-+-*CURLIB/------+--coded-font-name--+-point-size-+-+--)-'
                   '-library-name/-'
 
>--+-------------------------------------+---------------------->
   |            .-*IMMED------------.    |
   '-WAITFILE(--+-*CLS--------------+--)-'
                '-number-of-seconds-'
 
>--+---------------------+--+----------------------+------------>
   |         .-*NO--.    |  |          .-*YES-.    |
   '-SHARE(--+-*YES-+--)-'  '-LVLCHK(--+-*NO--+--)-'
 
>--+--------------------------------------+--------------------->
   |       .-*LIBCRTAUT--------------.    |
   '-AUT(--+-*CHANGE-----------------+--)-'
           +-*ALL--------------------+
           +-*USE--------------------+
           +-*EXCLUDE----------------+
           '-authorization-list-name-'
 
>--+-----------------------+--+-----------------------------+--><
   |           .-*YES-.    |  |        .-*SRCMBRTXT----.    |
   '-REPLACE(--+-*NO--+--)-'  '-TEXT(--+-*BLANK--------+--)-'
                                       '-'description'-'
 
EDGESTITCH
 
   .-*DEVD---.  .-*DEVD-----------------.  .-*DEVD----------.
|--+-*BOTTOM-+--+-reference-edge-offset-+--+-number-staples-+--->
   +-*RIGHT--+
   +-*TOP----+
   '-*LEFT---'
 
   .-*DEVD------------------.
   | .--------------------. |
   | V               (7)  | |
>--+---staple-offset------+-+-----------------------------------|
 
SADLSTITCH
 
                                  .-*DEVD------------------.
                                  | .--------------------. |
   .-*DEVD-.  .-*DEVD----------.  | V               (7)  | |
|--+-*TOP--+--+-number-staples-+--+---staple-offset------+-+----|
   '-*LEFT-'
 
 

Notes:

  1. A maximum of 4 repetitions.

  2. All parameters preceding this point can be specified in positional form.

  3. This value cannot be specified with SPOOL (*NO).

  4. DBCS systems only.

  5. A maximum of 12 repetitions.

  6. This value cannot be specified with DEVTYPE(*USERASCII) or DEVTYPE(*AFPDS).

  7. A maximum of 122 repetitions.