Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Printing Functions
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
The network driver can provide a variety of printing functions to let File
Manager and Print Manager open printing jobs and monitor the print queues.
 
Function             Description
────────────────────────────────────────────────────────────────────────────
WNetAbortJob         Cancels a print job while still open.
 
WNetCancelJob        Cancels a print job, removing the job from the queue.
 
WNetCloseJob         Closes a print job and enables it for printing.
 
WNetHoldJob          Holds a print job until released.
 
WNetLockQueueData    Locks a queue buffer, allowing a program to view the
                     status of a printing queue.
 
WNetOpenJob          Opens a print job, permitting a program to subsequently
                     write data to the job.
 
WNetReleaseJob       Releases a held print job.
 
WNetSetJobCopies     Specifies the number of copies to print.
 
WNetUnlockQueueData  Unlocks a previously locked queue buffer.
 
WNetUnwatchQueue     Stops watching a specific queue.
 
WNetWatchQueue       Watches a specific queue, informing Print Manager of
                     any changes to the queue.
 
WNetWriteJob         Writes data to a print job.
 
 
                                      ♦