大网数据广告活动
打印与设备

Documents and Printing

· 52CE 我爱测

These topics describe the documents and printing features of Windows that enable applications to save, view, and print.

These topics describe the documents and printing features of Windows that enable applications to save, view, and print.

In this section

Topic Description
<a href="/windows/desktop/printdocs/what-s-new-for-printing-in-windows-vnext">What's New for Printing</a> Windows 8 supports <a href="/previous-versions/windows/apps/hh465225(v=win.10)">printing for Windows Store apps using JavaScript and HTML</a> and <a href="/previous-versions/windows/apps/hh465196(v=win.10)">printing for Windows Store apps using C#/VB/C++ and XAML</a>. Windows 8 also includes a new COM-based API that provides full support for Open XPS and access to portions of the new printer drivers that Windows 8 supports. For more information about the new API, see <a href="/windows/desktop/printdocs/tailored-app-printing-api">Print Document Package API</a>. The Windows Print Driver Inbox Program makes sure that Windows 8 includes support for a high percentage of the popular printers.
<a href="/windows/desktop/printdocs/jobbindalldocuments">XPS Documents</a> Information about the XPS Document API an XPS Digital Signatures.<ul><li><a href="/previous-versions/windows/desktop/dd316976(v=vs.85)">XPS Document API</a> The XPS Document API is a native Windows API that supports the XPS OM. The XPS Document API was introduced in Windows 7 and can be used in user-mode programs and XPSDrv printer drivers.</li><li><a href="/previous-versions/windows/desktop/ff819108(v=vs.85)">XPS Digital Signature API</a> XPS Digital Signatures enable document signing, verification of the signer's identity, and indication of whether an XPS document has changed since it was signed.</li></ul>
Printing Information about the printing features supported by Windows. These features include:- Print Document Package API Provides apps with an interface that allows the management of the PrintDocument package.- Print Spooler API Provides an interface to the print spooler so that applications can manage printers and print jobs.- Print Ticket API Provides applications with functions to manage and convert print tickets.- GDI Print API Provides applications with a device-independent printing interface. - XPS Print API Provides an interface to the print spooler that applications can use to send XPS documents to a printer. Note: The XPS Print API is not supported and may be altered or unavailable in the future. Client applications should use the Print Document Package API instead.
<a href="/windows/desktop/printdocs/printschema">Print Schema</a> The Print Schema and related technologies describe a printer's features and specify the printing preferences of a document to printers and viewing applications. The <a href="https://download.microsoft.com/download/D/E/C/DECA6E6B-3E81-48E7-B7EF-6D92A547D03C/print-schema-spec-2-0.zip">Print Schema Specification</a> is a downloadable document that contains information about the Print Schema and how to use it in documents and printing. The online information that is found in this section is provided for your information only and might not accurately reflect the current version of the <a href="https://download.microsoft.com/download/D/E/C/DECA6E6B-3E81-48E7-B7EF-6D92A547D03C/print-schema-spec-2-0.zip">Print Schema Specification</a>. Refer to the <a href="https://download.microsoft.com/download/D/E/C/DECA6E6B-3E81-48E7-B7EF-6D92A547D03C/print-schema-spec-2-0.zip">Print Schema Specification</a> for the most current design information.

Additional resources

The Print Sample sample app demonstrates how to print from a Windows Store app starting with Windows 8.

The features described in this section are for native Windows programming. To use similar features in .NET (managed) programming, see Windows Presentation Foundation Documents.

XPS documents are built on the Packaging API. See the Packaging API, for lower level access to the contents of an XPS document.

Related topics

Bidirectional printer communications (Hardware Dev Center)

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。