The printing function of the API

Source: Internet
Author: User
AbortDoc Cancel printing of a document
Abortprinter To delete a buffered file associated with a printer
AddForm Add a new form for the printer's form list
AddJob Used to get a valid pathname so that it can be used to create a spool file for the job. It also assigns a job number to the job
Addmonitor Add a printer monitor to the system
AddPort Launches the Add Port dialog box, allowing users to add a new port to the list of available ports in the system
AddPrinter Add a new printer to the system
AddPrinterConnection Connect the specified printer
AddPrinterDriver Add a print driver for the specified system
Addprintprocessor Adds a print processor to the specified system
Addprintprovidor Add a print vendor to the system
Advanceddocumentproperties Start the Printer Document Setup dialog box
ClosePrinter To close an open printer object
Configureport Launches a Port Configuration dialog box for the specified port
Connecttoprinterdlg Start the Connect Printer dialog box to connect to the printer that is accessing the network
Deleteform Delete a form from a list of available forms in a printer
Deletemonitor Delete the specified print monitor
Deleteport Launches the Delete Port dialog box, allowing the user to remove a port from the current system
Deleteprinter Mark the specified printer as removed from the system
Deleteprinterconnection To delete a connection to a specified printer
Deleteprinterdriver Remove a printer driver from the system
Deleteprintprocessor Remove a print processor from the specified system
Deleteprintprovidor Remove a print vendor from the system
DeviceCapabilities Use this function to  about the capabilities of a device
DocumentProperties Printer configuration control function
Enddocapi To end a successful print job
Enddocprinter Specify the end of a document at the print spooler level
EndPage Use this function to print a page and prepare the device scene to print the next page
Endpageprinter Specify the end of a page in a print job
EnumForms Enumerate the forms available to a printer
EnumJobs Enumerating jobs in a print queue
Enummonitors Enumerate the available print monitors
Enumports Enumerate the available ports for a system
Enumprinterdrivers enumeration specifies which printer drivers are installed in the system
EnumPrinters Enumerate the printers installed in the system
Enumprintprocessordatatypes Enumerate the data types supported by a print processor
Enumprintprocessors Enumerate the print processors available in the system
Escape Device Control functions
Findcloseprinterchangenotification Turn off a printer advertisement object obtained with the Findfirstprinterchangenotification function
Findfirstprinterchangenotification Create a new Change notification object so that we can notice various changes to the printer status
Findnextprinterchangenotification Use this function to determine why a printer change notification signal is triggered once
Freeprinternotifyinfo Frees a buffer allocated by the Findnextprinterchangenotification function
GetForm Get information about a specified form
Getjob Get information about a specified job
GetPrinter To  about a specified printer
Getprinterdata To set registry configuration information for a printer
Getprinterdriver To  about the printer driver for the specified printer
Getprinterdriverdirectory Determine what directory is included in the specified system for the printer driver
Getprintprocessordirectory To determine the directory that contains the printer processor drivers and files in the specified system
OpenPrinter Open the specified printer and obtain a handle to the printer
Printermessagebox Displays a printer error message box on the system that owns the specified print job
Printerproperties Start the Printer Properties dialog box to configure the printer
Readprinter Reading data from a printer
ResetDC Reset a device scene
ResetPrinter Change the default data type and document settings for the specified printer
Schedulejob Submit a job for printing
SetAbortProc Specify the address of the cancellation function for Windows
Setform Set up information for the specified form
Setjob Control the status of a print job
SetPrinter Control the state of a printer
Setprinterdata To set the registry configuration information for a printer
StartDoc Start a print job
StartDocPrinter Start a new document at the print spooler level
StartPage Call this function first before printing a new page
Startpageprinter Specify the beginning of a new page in a print job
WritePrinter Write data from the sending directory to the printer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.