Checks the status of a shared printer.
(Request) Specifies the following bits:
(Request) Specifies tab stops should be set in every column that is a multiple of the value specified.
(Request) Specifies which of the print server's printers the data file should be queued to (printer numbers start at zero).
(Request) Specifies the number of times the spool file should be sent to the printer.
(Request) Specifies the form number the client wants the job to be printed on.
(Request) Specifies the filename the client wants to appear on the print banner page (NULL-padded if fewer than 14 characters).
When a print server adds a job to the print queue, it records the client's current print parameters and later uses them to control printing the job.
TabSize has meaning only if bit 6 is set in PrintFlags. If bit 6 is set, the print server assumes that the file being printed is a standard ASCII file. Any tabs that are encountered while printing the file will be replaced by enough spaces to move the printer over to the next tab stop column. If tabs are being expended by the print server, the print server will interpret any Control Z character (0x1A) in the print file as an end-of-file mark and will stop printing the file.
If the tab expansion bit (bit 6) is cleared in PrintFlags, the printer makes no assumptions about the nature of the file it is printing or the nature of the device the file is being sent to. If bit 6 is cleared, the print server can drive many different types of devices (printer, plotters, etc.), but the burden of appropriately controlling these devices rests with the client using the device.
After each job is added to the queue, the print server resets the print parameters to the default values as follows:
PrintFlags 0 (no banner, no tabs, no file delete)
TabSize 8
TargetPrinter 0
Copies 1
FormType 0
BannerName 0 (no banner name)