Implementing Web Services on Devices for Printing
- April 29, 2015
- Windows Vista
- Windows 7
- Windows 8
- Windows 8.1
- Windows 10
Information about web services that provide a connection protocol for printing and scanning peripherals. The Web Services technology provides a common framework for describing and sharing information.
Windows Vista was the first Microsoft Windows operating system to provide Web Services on devices as a connection protocol for printing and scanning peripherals. Web Services technology provides a common framework for describing and sharing information. Web Services on devices, part of the Windows Rally program, describes a set of protocols for consuming and controlling services on network-connected devices.
Four Web Services specifications exist for printing and scanning, to help device manufacturers take advantage of the improved customer experience around connecting, installing, and using devices with Windows.
For Windows 8.1, the print service definition for web services on devices has been updated to v1.2.
For Windows 10, the print service definition for web services on devices has been updated to v2.0.
Highlights in WS-Print v2.0
WS-Print V2.0 adds a number of new schema elements and operations that supplements the current WS-Print V1.0 service specification. The basic operation of a WS-Print V1.0 print device has not changed. The new operations and schema elements in WS-Print V2.0 allow a mobile client to print without the aid of a driver, and can be used to enhance the capabilities of a v4 print driver.
WS-Print v2.0 defines the following new operations:
- PrepareToPrint – Informational operation which allows printers to warm up
- CreatePrintJob2 – Extension of CreatePrintJob which includes PrintSchema PrintTicket for job configuration
- GetPrintDeviceCapabilities – Allows retrieval of a PrintDeviceCapabilities document
- GetPrintDeviceResources – Allows retrieval of localized resources in ResX
- GetBidiSchemaExtensions – Allows retrieval of Bidi Schema extensions
For more information, see Appendix E in the Print Service Definition v2.0 specification available in the WS-Print v2.0 file download below.
Highlights in WS-Print v1.2
Web Services on Devices for printing (WS-Print) v1.2 adds a number of new schema elements to the current WS-Print V1.1 Service Specification.
WS-Print includes all operations and schema elements used in WS-Print V1.1, but adds support for a new schema element and a new operation. The new schema element “SupportsWSPrintV12” is used to identify support for WS-Print V1.2. The new operation, “SetPrinterElements” enables a client to set the value of a schema element on the printer. For example, the client could set a custom element called “InkHeadAlignmentValue” which the printer would use to realign the inkjet head.
In order to facilitate specification implementation and understanding, the specifications are also available here in complete, stand-alone form, along with their associated Web Services Description Languages (WSDLs) and XML Schema Definitions (XSDs). These four Web Services on devices specifications are covered by the included technical documentation license agreement, which references the WDK.
Download the Specification and Supporting Files for WS-Print v2.0
Print Service Definition v2.0 for Web Services on Devices (1.55 MB zip file containing Microsoft Word document and supporting files; April 29, 2015) Download the Specification and Supporting Files for WS-Print v1.2
(2.64 MB zip file containing Microsoft Word document and supporting files; September 16, 2013) Download the Specifications and Supporting Files
Print Device Definition V1.0 for Web Services on Devices (76 KB self-extracting file containing Microsoft Word document and supporting file; January 29, 2007)
(1.5 MB self-extracting file containing Microsoft Word document and supporting files; February 9, 2012)
Scan Device Definition V1.0 for Web Services on Devices (76 KB self-extracting file containing Microsoft Word document and supporting file; January 29, 2007)