Typographical conventions

This guide uses specific typographical conventions to help you distinguish among the various PageScript 32 and syntax elements. These conventions are used to make the guide more readable.

Convention Applies to Examples
Monospaced font Code examples for i := 0 to PSGetPrinterCount()
Monospaced bold font PageScript 32 commands and functions PSBeginDoc(), PSGetPrinter()
Monospaced italic font Variable names, array names, arguments cTitle

Syntax. The structure of a PageScript 32 function or procedure is called its syntax. The following example shows the syntax for the PSTextOut() procedure.

Function PSTextOutEx(nTop, nLeft, xValue, cPicture)

The following table identifies the syntax elements of the PSTextOut() procedure :

Syntax element Items in the TEXTOUTEX function
Procedure keyword PSTextOut()
Arguments and types nTop, nLeft, xValue and cPicture

This guide uses special glyphs to help you distinguish the elements that can be used with the different print modes. They also indicates if the procedure and function may be called before starting a new document, while printing the document or both. The following table shows all the glyphs used in this guide :

Print modes Description
- Raw Procedures and function that are supported by the RAW print mode.
- Emulation Procedures and function that are supported by the EMULATION print mode.

The EMULATION print mode is not available at the DLL level. Instead, it is implemented at the programming language level and not supported by every programming languages.

For this reason, this image is not used in this guide but may appear in future language specific documentation.

Currently, only [x]Harbour is supported.

- Windows Procedures and function that are supported by the WINDOWS print mode.
- PDF File Procedures and function that are supported by the PDF File print mode.
Glyph Description
- Before Indicates a procedure or function that must be called before printing (before calling PSBeginDoc() or PSBeginRawDoc()).
- Printing Indicates a procedure or function that may only be called while printing.
- Before or while printing Indicates a procedure or function that may be called at any time.