Group Printer Functions
NumPrinter()
Retrieves the number of parallel ports (printer ports).
NumPrinter() --> nPrinterCount
PrintFile()
Prints an ASCII file and optionally deletes high-bit (MSB).
PrintFile( <cFileName>, [<lIgnoreHighByte>] ; // Default: .F. ) --> lSuccess
PrintInit()
Initializes a printer.
PrintInit( [<nLPTport>], ; // Default: 1 [<lResetRC>] ; // Default: .F. ) --> nPrinterState
PrintReady()
Checks whether a printer connected to the specified port is ready.
PrintReady( [<nLPTport>] ; // Default: 1 ) --> lPrinterIsReady
PrintScr()
Prints the contents of the screen.
PrintScr() --> cNullString
PrintScrX()
Function PrintScrX() is not supported.
PrintSend()
Sends a string or a single character to the printer.
PrintSend( <cString|nASCIICode>, ; // Type: CN [<nLPTport>] ; // Type: N Default: 1 ) --> nCharNotSend
PrintStat()
Determines the status of a parallel port.
PrintStat( [<nLPTport>] ; // Default: 1 ) --> nPrinterState
SpoolActiv()
Checks whether a spooler is active for a specified port.
SpoolActiv( [<nLPTport>] ; // Default: 1 ) --> lSpoolIsActive
SpoolAdd()
Adds the contents of a file to the spooler queue.
SpoolAdd( <cFileName>, [<nLPTport>] ; // Default: 1 ) --> lIsSpooled
SpoolControl()
Controls a spooler.
SpoolControl( <nAction>, [<nLPTport>] ) --> lSuccess
SpoolCount()
Determines the number of print jobs.
SpoolCount( [<nLPTport>] ; // Default: 1 ) --> nPrintJobCount
SpoolDel()
Deletes a specified print job from the queue.
SpoolDel( <cFileName>, [<nLPTport>] ; // Default: 1 ) --> lDeleted
SpoolEntry()
Retrieves a document name (filename) of a specified job in the print queue
SpoolEntry( [<nJobPosition>], ; // Default: 1 [<nLPTport>] ; // Default: 1 ) --> cFileName
SpoolFlush()
Deletes all print jobs from the queue.
SpoolFlush( [<nLPTport>] ; // Default: 1 ) --> lAllDeleted
SpoolName()
Returns the name of a printer.
SpoolName( [<nLPTport>] ; // Default: 1 ) --> cPrinterName
ToF()
Function ToF() is not supported.