Previous Topic: XPxxxxxxNext Topic: XUSERxxx Module


XCHRxxxx

The XCHRxxxx module contains a font definition named xxxx. For each device type, one or more font elements are present. Each font element is valid for one or more orientations (combinations of orientation in FORMDEF and PAGEDEF). When a font is to be selected or assigned a number, the font elements for the relevant device type are searched until one is found which supports the present orientation.

XCHRxxxx Macros

The following macros are used in the XCHRxxxx module:

$LPDVP

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

$LPCHAR

Defines a font element, which contains valid orientations, how to select the font, width, height, and baseline position.

$LPCMS

Defines command skeletons for commands to select a font, or to assign a number to a font.

XCHRGT12 $LPDVP DEVICE=XX-XEROX

         $LPCHAR SELECT=NUMBER,POPO=YES,LALA=YES,                 
              CHARSP=25,LINESP=50,BASELIN=11                      
         $LPCMS CMDTYPE=TEXT,TYPE1=C,DATA1="1B+'                  
         $LPCMS CMDTYPE=NUM                                       
         $LPCMS CMDTYPE=TEXT,TYPE1=C,DATA1='Titan12iso-P'C20D0A', 
              TYPE2=X,DATA2='0D0C',TYPE3=C,DATA3='''              
         $LPCMS END=YES                                           
         $LPCHAR SELECT=NUMBER,POLA=YES,LAPO=YES,                 
              CHARSP=24,LINESP=50,BASELIN=11                      
         $LPCMS CMDTYPE=TEXT,TYPE1=C,DATA1="1B+'                  
         $LPCMS CMDTYPE=NUM                                       
         $LPCMS CMDTYPE=TEXT,TYPE1=C,DATA1='XCP12.5iso-L'C20D0A', 
              TYPE2=X,DATA2='0D0C',TYPE3=C,DATA3='''              
         $LPCMS END=YES                                           
         $LPCHAR END=YES                                          
*                                                                 
         $LPDVP DEVICE=XX-HPIDA                                   
         $LPCHAR SELECT=DIRECT,POPO=YES,LALA=YES,POLA=YES,LAPO=YES,
              CHARSP=25,LINESP=50,BASELIN=11                      
         $LPCMS CMDTYPE=TEXT,TYPE1=C,DATA1="1B(s0p12h10v0s0b6T'   
         $LPCMS END=YES                                           
         $LPCHAR END=YES                                          
         $LPDVP END=YES                                           
         END