Printing functions
PowerScript provides predefined functions that you can use to
generate simple and complex lists and reports. Using only three functions,
you can create a tabular report in your printer’s default font. Using
additional functions, you can create a report with multiple text fonts,
character sizes, and styles, as well as lines and pictures.
The following table lists the functions for printing.
|
Function |
Description |
|---|---|
|
|
There are five Print function formats. You can |
|
PrintBitMap |
Prints the specified bitmap. |
|
PrintCancel |
Cancels the specified print job. |
|
PrintClose |
Sends the current page of a print job to the printer |
|
PrintDataWindow |
Prints the specified DataWindow as a print |
|
PrintDefineFont |
Defines one of the eight fonts available for a print |
|
PrintGetPrinter |
Gets the current printer name. |
|
PrintGetPrinters |
Gets the list of available printers. |
|
PrintLine |
Prints a line of a specified thickness at a specified |
|
PrintOpen |
Starts the print job and assigns it a print job |
|
PrintOval |
Prints an oval (or circle) of a specified size at a |
|
PrintPage |
Causes the current page to print and sets up a new |
|
PrintRect |
Prints a rectangle of a specified size at a specified |
|
PrintRoundRect |
Prints a round rectangle of a specified size at a |
|
PrintScreen |
Prints the screen image as part of a print |
|
PrintSend |
Sends a specified string directly to the |
|
PrintSetFont |
Sets the current font to one of the defined fonts for |
|
PrintSetPrinter |
Sets the printer to use for the next print function |
|
PrintSetSpacing |
Sets a spacing factor to determine the space between |
|
PrintSetup |
Calls the printer Setup dialog box and stores the |
|
PrintSetupPrinter |
Displays the printer setup dialog box. |
|
PrintText |
Prints the specified text string at a specified |
|
PrintWidth |
Returns the width (in thousandths of an inch) of the |
|
PrintX |
Returns the x value of the print |
|
PrintY |
Returns the y value of the print |
For more information about printing functions, see the PowerScript
Reference.