- Что такое драйвер XPS? — Вокруг-Дом — 2021
- Table of Contents:
- Формат XPS
- XPS драйвер
- Как правильно установить все драйвера на ноутбук DELL (Апрель 2021).
- XPSDrv Printer Drivers
- Overview of XPS
- Introduction to XPS for Printing
- Driver Support for OpenXPS
- Supported OpenXPS Scenarios
- Unsupported OpenXPS Scenarios
- Impact on App Developers
- Impact on Driver Developers
- Настройка печати через XPS Драйвер Для принтеров HP
- Возможные неполадки:
Что такое драйвер XPS? — Вокруг-Дом — 2021
Table of Contents:
XPS — это способ получить больший контроль над тем, как документ выглядит как на экране, так и на печатной странице. Поскольку XPS отличается от стандартной печати, вам может потребоваться специальный драйвер для использования файлов XPS на вашем принтере.
Без драйвера XPS файлы XPS могут печататься неправильно. Кредит: Riccardo_Mojana / iStock / Getty Images
Формат XPS
XPS расшифровывается как XML Paper Specification. Он был разработан Microsoft из набора руководств с открытым исходным кодом. Файл XPS содержит не только содержимое конкретного документа, но и конкретные инструкции о том, как он отображается на экране и как его следует преобразовать в печатный документ. Идея состоит в том, чтобы при распечатке страницы выглядели одинаково, как на экране. Как концепция, XPS похожа на формат Adobe в формате PDF.
XPS драйвер
Многие принтеры не смогут использовать файлы XPS для печати документа без добавления дополнительного драйвера, программного инструмента, который действует как переводчик между операционной системой (например, Windows) и аппаратным устройством. Если у вас возникли проблемы с файлами XPS, проверьте веб-сайт производителя вашего принтера, чтобы узнать, доступен ли драйвер XPS для вашей модели. Внимательно проверьте эти инструкции по установке, так как они могут отличаться от инструкций для обычных драйверов. Например, в некоторых моделях Canon необходимо сначала удалить стандартный драйвер Windows для принтера перед установкой драйвера XPS.
Как правильно установить все драйвера на ноутбук DELL (Апрель 2021).
XPSDrv Printer Drivers
The XPSDrv printer driver extends Microsoft’s GDI-based, version 3 printer driver architecture to support consuming XML Paper Specification (XPS) documents. With an XPSDrv printer driver, the XPS Document format is used as a spool file format and as a document file format.
Overview of XPS
The XML Paper Specification (XPS) is the foundation for document and printing improvements in Windows Vista. This specification describes the appearance of fixed-format documents by using a structured, XML-based document format.
The XPS Document format consists of XML markup that defines the layout of a document and the visual appearance of each page along with rendering rules for displaying or printing the document.
Introduction to XPS for Printing
The XPS Document format serves as a document format, a spool file format, and a page description language (PDL) for printers. If you consistently use XPS throughout a document cycle, you can greatly improve print predictability and reliability. Fidelity and performance improve when the document format is the same as the spool file format and the PDL. By using the XPS Document format throughout the print processing, you can eliminate the need for any document format conversions between an application and the printer, so you can deliver a «what you see is what you get» (WYSIWYG) experience.
The XPS spool file uses the XPS Document format. The XPS spool file is open and extensible, can be viewed by using platform services, and can be reintroduced into document workflows.
The markup in the XPS spool file to describe XPS Documents is compatible with the Extensible Application Markup Language (XAML) markup in Windows Presentation Foundation (WPF). Therefore, documents that are described in the XPS spool file can be rendered natively in WPF without data or fidelity loss because no conversion is necessary. The XAML tags in the XPS spool file are XAML representations for existing rendering classes in WPF. The XPS Document format is identical to the «print» format and effectively preserves application content and user intent.
This section includes:
For more detailed information about XPS printing for printer driver developers, see XPSDrv Printer Driver.
Driver Support for OpenXPS
OpenXPS is the Open XML Paper Specification format for documents, and it’s based on the Ecma International standard specification.
For the most up to date information about this specification, see Open XML Paper Specification.
WindowsВ 8 provides full support for OpenXPS, side-by-side with continued support for the existing Microsoft XPS format. This topic focuses on support for OpenXPS via the v4 driver model. For OpenXPS support that is relevant to Windows application developers, see App Support for OpenXPS Printing.
Supported OpenXPS Scenarios
The Windows print path has been developed to ensure that the submitted XPS format matches a supported format of the targeted print driver, and will convert formats as needed. Windows also provides APIs to query the print driver, so that the application can provide compatible elements and avoid any additional conversion within the print system.
A print driver can use its manifest to indicate whether it supports Microsoft XPS, Open XPS, or both formats. Either Microsoft XPS or OpenXPS can be presented to the filters in the print filter pipeline, using the existing stream and object model (OM) interfaces – no new interfaces are required by drivers to support OpenXPS. The format that is presented to the filters, depends on the format that is supported by the driver, or the format that is provided by the application.
The Microsoft XPS Document Writer (MXDW) has been updated to allow MXDW to output either Microsoft XPS or OpenXPS from any Windows desktop application. Likewise, the Microsoft XPS Viewer and the Reader app in Windows 8 can open both XPS formats. If needed, users can print from the XPS Viewer to MXDW in order to convert formats.
Unsupported OpenXPS Scenarios
Some legacy functionality is either not supported, or provides a downgraded experience when used with OpenXPS.
Unsupported: Sending OpenXPS files directly to the spooler (bypassing the XPS Print API) is an unsupported scenario. Doing this, will produce the following functionality issues:
- XPS spool files sent directly to the spooler will be treated as MSXPS and handled accordingly.
- The results of sending an OpenXPS file directly to the spooler are undefined and will likely cause the print job to fail.
NoteВ В There are no plans to provide support for this scenario.
Not recommended: Sending an OpenXPS stream from an application directly to the XPS Print API is not a recommended technique. For example, do not send an OpenXPS stream directly to the StartXPSPrintJob method. If you do this, the resulting conversion from one flavor of XPS to another as a stream can be very expensive for performance.
Instead, you should use IPrintDocumentPackageTarget to submit the print job as an XPS OM to avoid performance degradation.
Not recommended: Sending an XPS spool file directly to the spooler. If you do this, the print system will not find the required metadata added by the print path APIs, assume that the format is MSXPS, and will attempt to convert it to OpenXPS. If the spool file that was sent directly to the spooler was an OpenXPS-formatted file, the attempt by the print filter pipeline to вЂconvert’ it to OpenXPS will have undefined results. If the file that was sent to the spooler was an MSXPS-formatted file and the driver is an OpenXPS-only driver, then the conversion by the print filter pipeline to OpenXPS will be successful. But this late stage conversion will result in a significant loss in print system performance.
Impact on App Developers
For information about the impact on app developers regarding the Windows 8 support for OpenXPS, see App Support for OpenXPS Printing.
Impact on Driver Developers
The following are the basic steps for enabling OpenXPS in a v4 print driver:
- Driver manifest: Add “OpenXPS” to the Driver Render section.
- Driver manifest: Add “oxps” to the FileSave section, if applicable.
- Filter pipeline: Update print filters to handle OpenXPS elements.
For a given stream, and with the appropriate object interfaces, a client can use the OpenXPS format to transfer data to the filters in the print filter pipeline. To transfer a data stream, the client uses the IID_IPrintReadStream and IID_IPrintWriteStream interfaces. To transfer data to an OM component, the client uses the IID_IXpsDocumentProvider and IID_IXpsDocumentConsumer interfaces. Drivers that declare support for OpenXPS will have to ensure that the print filters provided can correctly handle the OpenXPS format when this format is received from the pipeline manager.
Driver Manifest: DriverRender section. During driver installation, the setup process checks the DriverRender section of the manifest to see if the XpsFormat entry includes OpenXPS. The XpsFormat entry can include both XPS (for Microsoft XPS) and OpenXPS, to indicate dual support. The order in which the two formats are listed in the XpsFormat entry determines the preferred format for the driver.
Here are some examples of how to update the DriverRender section.
Indicating support for OpenXPS only:
Indicating support for MSXPS only:
Indicating support for both formats, with a preference for OpenXPS:
Indicating support for both formats, with a preference for MSXPS:
The driver developer determines the preferred format for their V4 print driver, and this decision is based on the functionality that the driver was designed to provide. For example, a print driver could be developed to provide JPEG XR support for high-fidelity images.
The print system makes various decisions based on the DriverRender information in the manifest. Here are some examples of those decisions:
GDI-based print jobs sent to v4 drivers
The Microsoft XPS Document Converter (MXDC) takes GDI print job input and converts the job to an XPS spool file. The format of that spool file will match the preferred XPS format denoted in the DriverRender section of the manifest.
XPS Print API format conversion
The XPS Print API will query supported XPS formats for the target driver. If the driver supports both formats, the XPS Print API will pass the XPS Print Job to the spooler AS SUBMITTED by the application. No conversion will be performed.
If the target driver only supports one or the other format, then the job will be converted to the correct format before spooling.
If no XpsFormat is provided in the manifest, the behavior will default to MSXPS only. OpenXPS input will be converted to MSXPS. This behavior provides the strongest backward compatibility for drivers.
XPS files sent directly to spooler
XPS files sent directly to the spooler are, by default, MSXPS. Submitting OpenXPS direct to the spooler is not supported. However, .NET prior to 4.5+ serialized its own MSXPS and submitted the job directly to the spooler. This behavior was implemented prior to the introduction of the XPS Print API (xpsprint.dll).
To provide backward compatibility for these .NET applications, the print filter pipeline manager will check the spool file to determine if it was received direct-to-spooler. If so, it will be assumed to be MSXPS. The print filter pipeline manager will query the driver’s XPS formats at that point. If the driver supports MSXPS, no conversion will be performed. If the driver only supports OpenXPS, the print filter pipeline manager will perform a conversion of the file. Conversion at this point in the job is performance expensive; however, it ensures that legacy .NET apps will be able to print to new v4 OpenXPS drivers.
Driver Manifest: FileSave section. The FileSave section of the v4 print driver manifest provides extensions for the File Save dialog used by the PORTPROMPT: port. (PORTPROMPT: should be used in lieu of FILE: in WindowsВ 8.1, because PORTPROMPT: will allow users to access all file locations to which they have rights, even when the application is running in low-rights mode.) The entries in the FileSave section are associated with the entries in the DriverRender section by index.
This will ensure that when the user sends a print job to this driver, and the port is set to PORTPROMPT:, the File Save dialog will display XPS and OpenXPS as file type options in the dialog, and apply .xps or .oxps respectively, as the file extension.
For additional information about other options for the File Save section of the manifest, see V4 Driver Manifest.
Настройка печати через XPS Драйвер Для принтеров HP
Для принтеров HP серий P110х, P156х, P16хх нужно проделать дополнительные операции по устанавке дополнительного XPS драйвера.
Для принтеров HP серий M113х — M121х необходимо устанавливать дополнительный XPS драйвер.
Инструкция по установке XPS драйвера для принтеров HP
1. Загрузите XPS драйвер для вашего принтера и распакуйте в папку C:\TEMP.
2. Посмотрите какой порт использует драйвер Вашего принтера (Панель управления / Устройства и принтеры / / контекстное меню Свойства принтера / вкладка Порты).
3. Запустите мастер «Добавление принтера» на панели управления, укажите что «Нужный принтер отсутствует в списке» и выберите пункт «Добавить локальный или сетевой принтер с параметрами, заданными вручную». В следующем окне укажите порт, который используется вашим принтером:
4. В диалоговом окне установки драйвера принтера выберите «Установить с диска. » и укажите путь к папке, выбранной при распаковке архива в пункте 1. (напр. C:\TEMP). Выберите из списка модель. Обратите внимание! Выбираемый драйвер должен строго соответствовать модели вашего принтера.
5. Укажите имя для принтера. Именно этот принтер нужно будет выбирать при печати из 1С.
6. Снимите галочку Использовать этот принтер по умолчанию, чтобы не использовать перенаправленную печать на локальном компьютере. Для проверки настройки можно воспользоваться функцией «Печать пробной страницы» — если документ будет распечатан, принтер настроен правильно и можно печатать документы из 1С.
Обратите внимание! После установки драйвера необходимо завершить сеанс на облаке (Ctrl+Alt+End, Выход из системы) и подключиться заново. При печати документа необходимо будет выбрать из списка принтер, созданный вами (например, через диалоговое окно Файл / Печать).
Возможные неполадки:
I. Принтер перестал печатать или перестал отображаться в списке доступных принтеров.
1. Корректно завершите сеанс на облаке через Пуск — Завершение сеанса, либо нажмите на клавиатуре комбинацию Ctrl+Alt+End, «Завершить сеанс» и зайдите на облако повторно.
2. Перезагрузите Ваш компьютер.
II. Принтер отображается в списке на облаке, но при этом не печатает.
1. Проверьте, печатает ли принтер из вашего локального ПК (например, документы Word или таблицы Excel).
2. Если принтер не печатает с ПК убедитесь, что он включен и установлены последние версии драйверов. После этого подключитесь к облаку заново и проверьте печать из 1С.