Previous Topic: FORMDEFNext Topic: XCHRxxxx


XPxxxxxx

The XPxxxxxx module contains a PAGEDEF named xxxxxx. A PAGEDEF defines the size of a logical page, and includes information used to position the data from the files on the logical page. Multiple PAGEDEFs can be defined within the same module for the same device type. Each is then referred to as a PAGEFORMAT, and can be selected by the Invoke Data Map control record in a file.

XPxxxxxx Macros

The following macros are used in the XPxxxxxx module:

$LPDVP

Names the device type for all macro calls until the next $LPDVP macro.

$LPPDF

Defines a PAGEDEF or PAGEFORMAT. The logical page size and orientation are specified as parameters.

$LPPRTL

Creates a print line in the PAGEDEF. A print line defines where on a logical page to print one or more records. A print line includes a channel (if specified by the invoker), a position relative to the PAGEDEF, the distance between lines, and a repeat count. When a request for a channel skip is issued, the print lines within the current PAGEDEF are searched, and the first one containing the requested channel is used to position the data on the PAGEDEF.

$LPCMS

Defines command skeletons for commands to be executed at file initiation. The command skeletons must be ordered according to the alphabetic order of the parameters on the $LPPDF macro call which selected them.

XPA06462 $LPDVP DEVICE=XX-XEROX                     
         $LPPDEF ORIENT=PORT,WIDTH=2450,HEIGHT=3200 
         $LPPRTL CHAN='1',COUNT=64,ACROSS=0,DOWN=39,
            LINESP=50                               
         $LPPRTL END=YES                            
         $LPPDEF END=YES                            
*                                                   
         $LPDVP DEVICE=XX-HPIDA                     
         $LPPDEF ORIENT=PORT,WIDTH=2450,HEIGHT=3200 
         $LPPRTL CHAN='1',COUNT=64,ACROSS=0,DOWN=39,
            LINESP=50                               
         $LPPRTL END=YES                            
         $LPPDEF END=YES                            
         $LPDVP END=YES                             
         END