PSBeginRawDoc() |
|
Syntax
Procedure PSBeginRawDoc(nPrinter, cTitle)
TPageScript:BeginRawDoc(nPrinter, cTitle)
Returns
An error code or 0 if the call is successful.
Description
PSBeginRawDoc() starts a new RAW (direct) print job. Instead of printing using GDI functions, RAW printing means that you print directly on the printer port, using the printer's specific escape codes, exactly the same way as you would do on an old DOS printer. You are responsible to send the escape codes recognized by the printer connected to the port. The printer must support RAW printing, which is not the case with Windows only (GDI) printers.
Arguments
nPrinter | The printer number to print. Pass 0 or NIL to print on the default printer. |
cTitle | Title of the print job. |