20.07.2014 Views

DOC1 Programmer's Guide

DOC1 Programmer's Guide

DOC1 Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Composition Edit Commands<br />

AFP and Metacode fonts cannot be reversed automatically and customized reversed fonts are<br />

normally created where required. In such fonts each character raster must extend to the<br />

maximum ascender and descender of the font otherwise this function will not work properly;<br />

a symptom of this would be white bars appearing between characters. Refer to your <strong>DOC1</strong><br />

supplier for more information regarding the use of reversed fonts for AFP and Metacode.<br />

Example =SCPP 001.000 001.000;;<br />

=SBTR "Arial-bold" 005.000 001.000 "Amount to pay: %@total";;<br />

SCPP – Set Current Print Position<br />

Function Sets the position to be used when inserting subsequent presentation elements.<br />

Syntax =SCPP•xOffset •yOffset ;;<br />

Parameters ...Offset CE measurements. The position coordinates in relation to the top<br />

left corner of the logical page.<br />

Effects<br />

Subsequent commands that create presentation elements will be positioned using the<br />

coordinates specified in this command.<br />

Comments Negative values will result in a position outside the logical page boundary and should<br />

therefore not be specified.<br />

Example =SCPP +001.000 +001.000;;<br />

SPPS – Set Physical Page Size<br />

Function Specifically defines the size of physical pages.<br />

Syntax =SPPS••{width •height |name };;<br />

Parameters width CE measurement; the width (X direction) of the page<br />

height CE measurement; the height (Y direction) of the page<br />

name<br />

text; a keyword describing the page size. Valid options are:<br />

A4, B4, B5, USLETTER, USLEGAL.<br />

Effects<br />

PCE compensates positioning commands using the size information given.<br />

Comments You will need to code this command when you are processing PostScript and PostScript<br />

variants or where the datastream being manipulated contains multiple logical pages per<br />

physical page.<br />

93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!