PageScript 32 - User guide for [x]Harbour and Xbase++ - Version 3.0.3

Print Preview Window

The Print Preview Window

Function reference

PSAbort()

PSAsciiToAnsi()

PSBarCode()

PSBeginDoc()

PSBeginDocEx()

PSBeginEmuDoc()

PSBeginRawDoc()

PSBitmap()

PSEllipse()

PSEllipseEx()

PSEndDoc()

PSEndEmuDoc()

PSEndRawDoc()

PSFrame()

PSFrameEx()

PSGetAsciiToAnsi()

PSGetBin()

PSGetBorderColor()

PSGetBorderThickness()

PSGetCaps()

PSGetCoorSystem()

PSGetCopies()

PSGetCPI()

PSGetDecimalSep()

PSGetDefPrinter()

PSGetDefaultPrinter()

PSGetDuplex()

PSGetFillColor()

PSGetFillPattern()

PSGetFonts()

PSGetFontAngle()

PSGetFontBColor()

PSGetFontCount()

PSGetFontFColor()

PSGetFontJustify()

PSGetFontName()

PSGetFontNames()

PSGetFontSize()

PSGetFontStyle()

PSGetJustify()

PSGetLPI()

PSGetMaxHeight()

PSGetMaxWidth()

PSGetOrientation()

PSGetPageSize()

PSGetPaperBin()

PSGetPaperBins()

PSGetPaperBinCount()

PSGetPaperBinNames()

PSGetPaperBinNumbers()

PSGetPaperCount()

PSGetPaperNames()

PSGetPaperNumbers()

PSGetPrinter()

PSGetPrinters()

PSGetPrinterCaps()

PSGetPrinterCapsEx()

PSGetPrinterCount()

PSGetPrinterHandle()

PSGetPrinterNames()

PSGetTextHeight()

PSGetTextWidth()

PSGetTitle()

PSGetUnit()

PSGetUseDIB()

PSGetVersion()

PSGetXerox()

PSInit()

PSIsPreviewVisible()

PSLine()

PSLineEx()

PSNewPage()

PSPrintDialog()

PSPrintFile()/PSPrintEmuFile()

PSPrintRawFile()

PSSetAsciiToAnsi()

PSSetBin()

PSSetBorder()

PSSetBorderColor()

PSSetBorderThickness()

PSSetClipperComp()

PSSetCoorSystem()

PSSetCopies()

PSSetCPI()

PSSetDecimalSep()

PSSetDevice()

PSSetDirectPrint()

PSSetDuplex()

PSSetFileName()

PSSetFill()

PSSetFillColor()

PSSetFillPattern()

PSSetFont()

PSSetFontAttributes()

PSSetFontAngle()

PSSetFontBColor()

PSSetFontFColor()

PSSetFontName()

PSSetFontSize()

PSSetFontStyle()

PSSetJustify()

PSSetLPI()

PSSetOrientation()

PSSetPageSize()

PSSetPaperBin()

PSSetPDFOwnerPassword()

PSSetPrinter()

PSSetPWBounds()

PSSetPWColors()

PSSetPWPosition()

PSSetPWSize()

PSSetPWState()

PSSetPWZoomLevel()

PSSetRowCol()

PSSetTitle()

PSSetUnit()

PSSetUseDIB()

PSSetXerox()

PSTextBox()

PSTextBoxEx()

PSTextOut()

PSTextOutEx()

PSVersion()

PSWaterMark()

RGB()

Obsolete or unsupported

These functions are either unsupported or became obsolete in this version of PageScript 32 for xbase like programming languages.

PSPrnChanged()

PSRefreshPrinters()

PSSendMail()

PSSetPrintPreview()

PSSetTimeSlice()

PSShowIcon()

PSShutDown()

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 XBase++ and [x]Harbour are supported. More languages may be supported in the future.

- 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.