Code Example

The following examples show how to define CMRs and rendering intent for graphics objects. Rendering intent and a CMR are defined for Record Format and XML page definitions which are the only two page definitions types for which DRAWGRAPHIC commands are legal.

  DEFINE mycmr CMRNAME
               'Pict1550CC001.001PictV550@@'
               'CS@@@@@@@@@@@@spac@@@@@@@@@@@RGB@'
               'XYZ@@@@@@@@@' ;

  PAGEDEF cmr11L  REPLACE yes;
    FONT f1;
    LAYOUT 'L1';
      DRAWGRAPHIC BOX  BOXSIZE 1 in 2 in
        RENDER relcm CMR  myCMR audit;

  PAGEDEF cmr11X  REPLACE yes;
    FONT f1 TYPE ebcdic;
    XLAYOUT QTAG 'x1';
      DRAWGRAPHIC BOX  BOXSIZE 1 in 2 in
        RENDER relcm CMR  myCMR audit;