naxpicks.blogg.se

Windows api enumprintersw
Windows api enumprintersw










  1. Windows api enumprintersw driver#
  2. Windows api enumprintersw windows#

The DeletePrinterConnection function deletes a connection to a printer that was established by a call to AddPrinterConnection or ConnectToPrinterDlg. The DeletePrinter function deletes the specified printer object. The AddPrinterConnection function adds a connection to the specified printer for the current user.Īdds a connection to the specified printer for the current user and specifies connection details. The AddPrinter function adds a printer to the list of supported printers for a specified server. The AbortPrinter function deletes a printer's spool file if the printer is configured for spooling. These functions add and configure the printers that the print spooler uses. The PrinterProperties function displays a printer-properties property sheet for the specified printer.

Windows api enumprintersw driver#

If the user selects a printer, the function attempts to create a connection to it if a suitable driver is not installed on the server, the user is given the option of creating a printer locally. The ConnectToPrinterDlg function displays a dialog box that lets users browse and connect to printers on a network. The ConfigurePort function displays the port-configuration dialog box for a port on the specified server. The AdvancedDocumentProperties function displays a printer-configuration dialog box for the specified printer, allowing the user to configure that printer. These functions display a user interface that enables the user to select or configure a printer. The StartPagePrinter function notifies the spooler that a page is about to be printed on the specified printer. The StartDocPrinter function notifies the print spooler that a document is to be spooled for printing. You can also use the SetJob function to set print job parameters, such as the print job priority and the document name. The SetJob function pauses, resumes, cancels, or restarts a print job on a specified printer. The ScheduleJob function requests that the print spooler schedule a specified print job for printing. Reports to the Print Spooler service whether an XPS print job is in the spooling or the rendering phase and what part of the processing is currently underway. Retrieves a handle to the specified printer, print server, or other types of handles in the print subsystem, while setting some of the printer options. The OpenPrinter function retrieves a handle to the specified printer or print server or other types of handles in the print subsystem. The GetJob function retrieves information about a specified print job. The EnumJobs function retrieves information about a specified set of print jobs for a specified printer. The EndPagePrinter function notifies the print spooler that the application is at the end of a page in a print job. The EndDocPrinter function ends a print job for the specified printer. The DocumentProperties function retrieves or modifies printer initialization information or displays a printer-configuration property sheet for the specified printer. The DocumentEvent function is an event handler for events associated with printing a document. The ClosePrinter function closes the specified printer object.

windows api enumprintersw

The function retrieves the name of the file you can use to store the job. The AddJob function adds a print job to the list of print jobs that can be scheduled by the print spooler. These functions send print jobs to a printer and track and control the print jobs in the print spooler. The functions of the Print Spooler API are divided into the following groups:

Windows api enumprintersw windows#

The Print Spooler API contains the functions and data structures that applications use to manage the Windows print spooler and the printers and print jobs that it controls.












Windows api enumprintersw