Common API functions (4): Print Functions

Source: Internet
Author: User
Abortdoc Cancel printing a document
Abortprinter Deletes a buffer file associated with a printer.
Addform Add a new form to the printer form List
Addjob Obtain a valid path name to create a background print file for the job. It also assigns a job number to the job.
Addmonitor Add a printer monitor to the System
Addport Start the "add Port" dialog box to allow users to add a new port to the list of available system ports.
Addprinter Add a new printer to the System
Addprinterconnection Connect to the specified printer
Addprinterdriver Add a print driver to the specified systemProgram
Addprintprocessor Adds a print processor to the specified system.
Addprintprovidor Add a printing supplier to the System
Advanceddocumentproperties Start printer document Settings dialog box
Closeprinter Close an opened printer object
Configureport Start a port configuration dialog box for the specified port
Connecttoprinterdlg Start the printer connection dialog box and use it to connect to a printer that accesses the network
Deleteform Delete a form from the list of available printer forms
Deletemonitor Deletes a specified print monitor.
Deleteport Start the "delete port" dialog box to allow users to delete a port from the current system.
Deleteprinter Remove the specified printer flag from the system
Deleteprinterconnection Delete the connection to the specified printer
Deleteprinterdriver Delete a printer driver from the system
Deleteprintprocessor Deletes a print processor from the specified system.
Deleteprintprovidor Delete A printing supplier from the system
Devicecapabilities This function can be used to obtain information related to the capabilities of a device.
Documentproperties Printer configuration control function
Enddocapi End a successful print job
Enddocprinter Specify the end of a document at the level of the background print program
Endpage Use this function to print a page and prepare a device scenario to print the next page.
Endpageprinter Specifies the end of a page in a print job.
Enumforms List available forms for a printer
Enumjobs Enumerative print jobs in the queue
Enummonitors Enumerative available print monitors
Enumports Enumerate available ports of a system
Enumprinterdrivers Enumerative Printer Drivers installed in the specified system
Enumprinters Enumerative printers INSTALLED IN THE SYSTEM
Enumprintprocessordatatypes Enumerative data types supported by a print processor
Enumprintprocessors Print processors available in enumeration system
Escape Device Control Functions
Findcloseprinterchangenotification Disable a printer notification object obtained using the findfirstprinterchangenotification Function
Findfirstprinterchangenotification Create a new change notification object so that we can pay attention to the changes in the printer status.
Findnextprinterchangenotification Use this function to determine the cause for triggering a printer to change the notification signal.
Freeprinterpolicyinfo Releases a buffer allocated by the findnextprinterchangenotification function.
Getform Obtains information related to the specified form.
Getjob Obtains information about a specified job.
Getprinter Obtains information about a specified printer.
Getprinterdata Set registry configuration information for the printer
Getprinterdriver Obtains information about the printer driver for the specified printer.
Getprinterdriverdirectory Determines what directory the specified system contains the printer driver.
Getprintprocessordirectory Determines the directory where the specified system contains the printer processor driver and files
Openprinter Open the specified printer and obtain the printer handle.
Printermessagebox Display a printer error message box on the system with the specified print job
Printerproperties Enable Printer Properties dialog box to configure the printer
Readprinter Read data from the printer
Resetdc Resetting a device scenario
Resetprinter Change the default data type and document settings of the specified printer
Schedulejob Submit a job to print
Setabortproc Specify the function cancellation address for Windows.
Setform Set Information for the specified form
Setjob Controls the status of a print job
Setprinter Controls the status of a printer
Setprinterdata Set the printer registry configuration information
Startdoc Start a print job
Startdocprinter Start a new document at the background printing level
Startpage Call this function before printing a new page.
Startpageprinter Specify the start of a new page in the print job.
Writeprinter Write Data in 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.