Network Working Group                                       F.D. Wright
Request for Comments: 2567                        Lexmark International
Category: Experimental                                       April 1999
        
Network Working Group                                       F.D. Wright
Request for Comments: 2567                        Lexmark International
Category: Experimental                                       April 1999
        

Design Goals for an Internet Printing Protocol

Internet打印协议的设计目标

Status of this Memo

本备忘录的状况

This memo defines an Experimental Protocol for the Internet community. It does not specify an Internet standard of any kind. Discussion and suggestions for improvement are requested. Distribution of this memo is unlimited.

这份备忘录为互联网社区定义了一个实验性协议。它没有规定任何类型的互联网标准。要求进行讨论并提出改进建议。本备忘录的分发不受限制。

Copyright Notice

版权公告

Copyright (C) The Internet Society (1999). All Rights Reserved.

版权所有(C)互联网协会(1999年)。版权所有。

IESG Note

IESG注释

This document defines an Experimental protocol for the Internet community. The IESG expects that a revised version of this protocol will be published as Proposed Standard protocol. The Proposed Standard, when published, is expected to change from the protocol defined in this memo. In particular, it is expected that the standards-track version of the protocol will incorporate strong authentication and privacy features, and that an "ipp:" URL type will be defined which supports those security measures. Other changes to the protocol are also possible. Implementers are warned that future versions of this protocol may not interoperate with the version of IPP defined in this document, or if they do interoperate, that some protocol features may not be available.

本文档为互联网社区定义了一个实验协议。IESG希望本协议的修订版将作为拟议标准协议出版。拟定标准发布后,预计将改变本备忘录中定义的协议。特别是,预计协议的标准跟踪版本将包含强大的身份验证和隐私功能,并且将定义支持这些安全措施的“ipp:”URL类型。协议的其他更改也是可能的。提醒实施者,本协议的未来版本可能无法与本文档中定义的IPP版本进行互操作,或者,如果实现了互操作,则某些协议功能可能不可用。

The IESG encourages experimentation with this protocol, especially in combination with Transport Layer Security (TLS) [RFC2246], to help determine how TLS may effectively be used as a security layer for IPP.

IESG鼓励对该协议进行试验,特别是结合传输层安全(TLS)[RFC2246],以帮助确定如何将TLS有效地用作IPP的安全层。

Abstract

摘要

This document is one of a set of documents, which together describe all aspects of a new Internet Printing Protocol (IPP). IPP is an application level protocol that can be used for distributed printing using Internet tools and technologies. This document takes a broad look at distributed printing functionality, and it enumerates real-life scenarios that help to clarify the features that need to be included in a printing protocol for the Internet. It identifies requirements for three types of users: end users, operators, and

本文档是一组文档之一,这些文档共同描述了新Internet打印协议(IPP)的所有方面。IPP是一种应用程序级协议,可用于使用Internet工具和技术进行分布式打印。本文档全面介绍了分布式打印功能,并列举了有助于澄清需要包含在Internet打印协议中的功能的实际场景。它确定了三类用户的需求:最终用户、操作员和用户

administrators. The design goals document calls out a subset of end user requirements that are satisfied in IPP/1.0. Operator and administrator requirements are out of scope for version 1.0.

管理员。设计目标文件列出了IPP/1.0中满足的最终用户需求子集。操作员和管理员要求超出了版本1.0的范围。

The full set of IPP documents includes:

整套IPP文件包括:

   Design Goals for an Internet Printing Protocol (this document)
   Rationale for the Structure and Model and Protocol for the
   Internet Printing Protocol [RFC2568]
   Internet Printing Protocol/1.0: Model and Semantics [RFC2568]
   Internet Printing Protocol/1.0: Encoding and Transport [RFC2565]
   Internet Printing Protocol/1.0: Implementer's Guide [ipp-iig]
   Mapping between LPD and IPP Protocols [RFC2569]
        
   Design Goals for an Internet Printing Protocol (this document)
   Rationale for the Structure and Model and Protocol for the
   Internet Printing Protocol [RFC2568]
   Internet Printing Protocol/1.0: Model and Semantics [RFC2568]
   Internet Printing Protocol/1.0: Encoding and Transport [RFC2565]
   Internet Printing Protocol/1.0: Implementer's Guide [ipp-iig]
   Mapping between LPD and IPP Protocols [RFC2569]
        

The "Rationale for the Structure and Model and Protocol for the Internet Printing Protocol" document describes IPP from a high level view, defines a roadmap for the various documents that form the suite of IPP specifications, and gives background and rationale for the IETF working group's major decisions.

“互联网打印协议的结构、模型和协议的基本原理”文件从高层次上描述了IPP,定义了构成IPP规范套件的各种文件的路线图,并为IETF工作组的主要决策提供了背景和基本原理。

The "Internet Printing Protocol/1.0: Model and Semantics" document describes a simplified model consisting of abstract objects, their attributes, and their operations that is independent of encoding and transport. The model consists of a Printer and a Job object. The Job optionally supports multiple documents. IPP 1.0 semantics allow end-users and operators to query printer capabilities, submit print jobs, inquire about the status of print jobs and printers, and cancel print jobs. This document also addresses security, internationalization, and directory issues.

“Internet Printing Protocol/1.0:模型和语义”文档描述了一个简化模型,该模型由抽象对象、抽象对象的属性及其独立于编码和传输的操作组成。该模型由打印机和作业对象组成。作业可以选择支持多个文档。IPP 1.0语义允许最终用户和操作员查询打印机功能、提交打印作业、查询打印作业和打印机的状态以及取消打印作业。本文档还讨论了安全性、国际化和目录问题。

The "Internet Printing Protocol/1.0: Encoding and Transport" document is a formal mapping of the abstract operations and attributes defined in the model document onto HTTP/1.1. It defines the encoding rules for a new Internet media type called "application/ipp".

“Internet打印协议/1.0:编码和传输”文档是模型文档中定义的抽象操作和属性到HTTP/1.1的正式映射。它定义了称为“应用程序/ipp”的新Internet媒体类型的编码规则。

The "Internet Printing Protocol/1.0: Implementer's Guide" document gives insight and advice to implementers of IPP clients and IPP objects. It is intended to help them understand IPP/1.0 and some of the considerations that may assist them in the design of their client and/or IPP object implementations. For example, a typical order of processing requests is given, including error checking. Motivation for some of the specification decisions is also included.

“互联网打印协议/1.0:实施者指南”文件为IPP客户端和IPP对象的实施者提供了见解和建议。它旨在帮助他们理解IPP/1.0以及一些可能有助于他们设计客户端和/或IPP对象实现的注意事项。例如,给出了处理请求的典型顺序,包括错误检查。还包括一些规范决策的动机。

The "Mapping between LPD and IPP Protocols" document gives some advice to implementers of gateways between IPP and LPD (Line Printer Daemon) implementations.

“LPD和IPP协议之间的映射”文档为IPP和LPD(Line Printer Daemon)实现之间网关的实现者提供了一些建议。

TABLE OF CONTENTS

目录

   1. INTRODUCTION.....................................................4
   2. TERMINOLOGY......................................................4
   3. DESIGN GOALS.....................................................6
   3.1. End-user.......................................................6
   3.1.1. Finding or locating a printer................................6
   3.1.2. Create an instance of the printer............................7
   3.1.3. Viewing the status and capabilities of a printer.............7
   3.1.4. Submitting a print job.......................................8
   3.1.5. Viewing the status of a submitted print job..................9
   3.1.6. Canceling a Print Job........................................9
   3.2. Operator (NOT REQUIRED FOR V1.0)...............................9
   3.2.1. Alerting.....................................................9
   3.2.2. Changing Print and Job Status...............................10
   3.3. Administrator (NOT REQUIRED FOR v1.0).........................10
   4. OBJECTIVES OF THE PROTOCOL......................................10
   4.1. SECURITY CONSIDERATIONS.......................................11
   4.2. Interaction with LPD (RFC1179)................................12
   4.3. Extensibility.................................................12
   4.4. Firewalls.....................................................13
   4.5. Internationalization..........................................13
   5. IPP SCENARIOS...................................................13
   5.1. Printer Discovery.............................................14
   5.2. Driver Installation...........................................15
   5.3. Submitting a Print Job........................................15
   5.4. Getting Status/Capabilities...................................16
   5.5. Asynchronous Notification.....................................17
   5.6. Job Canceling.................................................17
   6. Security Considerations.........................................18
   7. REFERENCES......................................................18
   8. ACKNOWLEDGMENTS.................................................19
   9. AUTHOR'S ADDRESS................................................19
   10. APPENDIX - DETAILED SCENARIOS..................................20
   10.1. Printer discovery within an enterprise.......................20
   10.2. Printer discovery across enterprises.........................21
   10.3. Printer discovery on the Internet -logical operations........21
   10.4. Printer discovery on the Internet - authentication...........22
   10.5. Driver Download..............................................23
   10.6. Submitting a print job as a file.............................24
   10.7. Submitting a print job with two documents....................24
   10.8. Submitting a print job as a file, printing fails.............25
   10.9. Submitting a print job with authentication, PRIVACY and
         payment......................................................26
   10.10. Submitting a print job with decryption error................27
   10.11. Submitting a print job with authentication..................28
   10.12. Submitting a print job generated dynamically................29
   10.13. Submitting a print job with a Printer jam - CANCELED........29
        
   1. INTRODUCTION.....................................................4
   2. TERMINOLOGY......................................................4
   3. DESIGN GOALS.....................................................6
   3.1. End-user.......................................................6
   3.1.1. Finding or locating a printer................................6
   3.1.2. Create an instance of the printer............................7
   3.1.3. Viewing the status and capabilities of a printer.............7
   3.1.4. Submitting a print job.......................................8
   3.1.5. Viewing the status of a submitted print job..................9
   3.1.6. Canceling a Print Job........................................9
   3.2. Operator (NOT REQUIRED FOR V1.0)...............................9
   3.2.1. Alerting.....................................................9
   3.2.2. Changing Print and Job Status...............................10
   3.3. Administrator (NOT REQUIRED FOR v1.0).........................10
   4. OBJECTIVES OF THE PROTOCOL......................................10
   4.1. SECURITY CONSIDERATIONS.......................................11
   4.2. Interaction with LPD (RFC1179)................................12
   4.3. Extensibility.................................................12
   4.4. Firewalls.....................................................13
   4.5. Internationalization..........................................13
   5. IPP SCENARIOS...................................................13
   5.1. Printer Discovery.............................................14
   5.2. Driver Installation...........................................15
   5.3. Submitting a Print Job........................................15
   5.4. Getting Status/Capabilities...................................16
   5.5. Asynchronous Notification.....................................17
   5.6. Job Canceling.................................................17
   6. Security Considerations.........................................18
   7. REFERENCES......................................................18
   8. ACKNOWLEDGMENTS.................................................19
   9. AUTHOR'S ADDRESS................................................19
   10. APPENDIX - DETAILED SCENARIOS..................................20
   10.1. Printer discovery within an enterprise.......................20
   10.2. Printer discovery across enterprises.........................21
   10.3. Printer discovery on the Internet -logical operations........21
   10.4. Printer discovery on the Internet - authentication...........22
   10.5. Driver Download..............................................23
   10.6. Submitting a print job as a file.............................24
   10.7. Submitting a print job with two documents....................24
   10.8. Submitting a print job as a file, printing fails.............25
   10.9. Submitting a print job with authentication, PRIVACY and
         payment......................................................26
   10.10. Submitting a print job with decryption error................27
   10.11. Submitting a print job with authentication..................28
   10.12. Submitting a print job generated dynamically................29
   10.13. Submitting a print job with a Printer jam - CANCELED........29
        
   10.14. Submitting a print job with a Printer jam - recovered.......30
   10.15. Submitting a print job with server pull.....................31
   10.16. Submitting a print job with referenced resources............32
   10.17. Getting Capabilities........................................33
   10.17.1. Submission Attributes.....................................33
   10.17.2. Printer Capabilities......................................33
   10.18. Getting Status..............................................34
   10.18.1. Printer State/Status......................................34
   10.18.2. Job Status................................................34
   10.18.3. Status of All My Jobs.....................................34
   10.19. Asynchronous Notification...................................35
   10.19.1. Job Completion............................................35
   10.19.2. Job Complete with Data....................................35
   10.19.3. Print Job Fails...........................................35
   10.20. Cancel a job................................................36
   10.21. End to end Scenario - within an enterprise..................36
   10.22. End to end Scenario - across enterprises....................37
   10.23. End to End Scenario - on the internet.......................40
   11. Full Copyright Statement.......................................43
        
   10.14. Submitting a print job with a Printer jam - recovered.......30
   10.15. Submitting a print job with server pull.....................31
   10.16. Submitting a print job with referenced resources............32
   10.17. Getting Capabilities........................................33
   10.17.1. Submission Attributes.....................................33
   10.17.2. Printer Capabilities......................................33
   10.18. Getting Status..............................................34
   10.18.1. Printer State/Status......................................34
   10.18.2. Job Status................................................34
   10.18.3. Status of All My Jobs.....................................34
   10.19. Asynchronous Notification...................................35
   10.19.1. Job Completion............................................35
   10.19.2. Job Complete with Data....................................35
   10.19.3. Print Job Fails...........................................35
   10.20. Cancel a job................................................36
   10.21. End to end Scenario - within an enterprise..................36
   10.22. End to end Scenario - across enterprises....................37
   10.23. End to End Scenario - on the internet.......................40
   11. Full Copyright Statement.......................................43
        
1. INTRODUCTION
1. 介绍

The IPP protocol is heavily influenced by the printing model introduced in the Document Printing Application (DPA) [ISO10175] standard. Although DPA specifies both end user and administrative features, IPP version 1.0 (IPP/1.0) focuses only on end user functionality.

IPP协议受到文档打印应用程序(DPA)[ISO10175]标准中引入的打印模型的严重影响。虽然DPA同时指定了最终用户和管理功能,但IPP版本1.0(IPP/1.0)只关注最终用户功能。

2. TERMINOLOGY
2. 术语

Internet Printing for the purposes of this document is the application of Internet tools, programs, servers and networks to allow end-users to print to a remote printer using, after initial setup or configuration, the same methods, operations and paradigms as would be used for a locally attached or a local area network attached printer. This could include the use of HTTP servers and browsers and other applications for providing static, dynamic and interactive printer locating services, user installation, selection, configuration, print job submission, printer capability inquiry and status inquiry of remote printers and jobs.

本文件中的互联网打印是指互联网工具、程序、服务器和网络的应用,允许最终用户在初始设置或配置后,使用与本地连接或局域网连接打印机相同的方法、操作和范例,向远程打印机打印。这可能包括使用HTTP服务器和浏览器以及其他应用程序来提供静态、动态和交互式打印机定位服务、用户安装、选择、配置、打印作业提交、打印机功能查询以及远程打印机和作业的状态查询。

For the purposes of this document, a WEB Browser is software available from a number of sources including but not limited to the following: Microsoft Internet Explorer, NCSA Mosaic, Netscape Navigator, Sun Hot Java!. The major task of these products is to use the Hypertext Transport Protocol (HTTP) to retrieve, interpret and display Hypertext Markup Language (HTML). These products are often a part of a complete Internet Printing system because they are often

在本文档中,WEB浏览器是可从多个来源获得的软件,包括但不限于以下来源:Microsoft Internet Explorer、NCSA Mosaic、Netscape Navigator、Sun Hot Java!。这些产品的主要任务是使用超文本传输协议(HTTP)检索、解释和显示超文本标记语言(HTML)。这些产品通常是完整的互联网打印系统的一部分,因为它们通常

used as a means of obtaining the status of or more information about the printing system; however, they may not be present in all implementations.

用作获取打印系统状态或更多信息的手段;但是,它们可能并不存在于所有实现中。

Throughout this document, 'printer' shall be interpreted to include any device which is capable of marking on a piece of media using any available technology. These design goals do not include support for multi-tiered printing solutions involving servers (single or multiple) logically in front of the actual printing device yet all such configurations shall be supported but shall appear to the end-user as only a single device.

在本文件中,“打印机”应解释为包括能够使用任何可用技术在介质上进行标记的任何设备。这些设计目标不包括支持多层打印解决方案,该解决方案涉及实际打印设备前面逻辑上的服务器(单个或多个),但应支持所有此类配置,但最终用户应仅将其视为单个设备。

Throughout this document 'driver' refers to the code installed in some client operating system to generate the print data stream for the intended printer. Some computing environments may not include a separate printer driver. Rather, the generation of the proper print data stream is accomplished in an application on that computer. How such a computer environment or application is updated to support a new printer now made available using IPP is outside the scope of IPP. The actual details for installing a printer driver are operating system dependent and are also outside the scope of IPP. See also section 4.1 (SECURITY CONSIDERATIONS) for security implications of driver download and installation.

在本文档中,“驱动程序”指的是安装在某些客户端操作系统中的代码,用于生成预期打印机的打印数据流。某些计算环境可能不包括单独的打印机驱动程序。相反,正确打印数据流的生成是在该计算机上的应用程序中完成的。如何更新此类计算机环境或应用程序以支持现在使用IPP提供的新打印机不属于IPP的范围。安装打印机驱动程序的实际细节取决于操作系统,也不在IPP的范围内。另请参见第4.1节(安全注意事项),了解驱动程序下载和安装的安全影响。

The IPP protocol will support the following physical configurations:

IPP协议将支持以下物理配置:

- An IPP client talking to an IPP Printer object imbedded in a single, physical output device. - An IPP Client talking to a server containing one or more IPP Printer objects. Each Printer object is associated with exactly one physical output device supported by the server. The protocol between the server and the output devices is undefined. - An IPP Client talking to an IPP Printer object in a server. The Printer object is associated with one or more physical output devices, but the client only sees the Printer object, which is an abstraction and represents all of the associated physical output devices. The protocol between the server and the physical output devices is undefined.

- IPP客户端与嵌入在单个物理输出设备中的IPP打印机对象通信。-与包含一个或多个IPP打印机对象的服务器对话的IPP客户端。每个打印机对象仅与服务器支持的一个物理输出设备相关联。服务器和输出设备之间的协议未定义。-IPP客户端与服务器中的IPP打印机对象对话。打印机对象与一个或多个物理输出设备相关联,但客户端只看到打印机对象,它是一个抽象,表示所有关联的物理输出设备。服务器和物理输出设备之间的协议未定义。

Throughout this document, certain design goals will be identified as not being a part of version 1.0 (or V1.0) of the protocol or as being satisfied by means outside of IPP. IPP is assumed to be one part, an enabler, of a complete Internet Printing solution. For example printer instance creation is not performed by but is enabled by the protocol. Globally, none of the operator or administrators wants and needs are included in the design goals for version 1.0. Some of the end-user wants and needs may also be excluded from version 1.0 and will be so noted in the description of them. Subsequent versions of

在本文件中,某些设计目标将被确定为不属于协议1.0版(或V1.0版)的一部分,或通过IPP以外的方式得到满足。IPP被认为是一个完整的互联网打印解决方案的一部分,一个使能器。例如,打印机实例创建不是由执行的,而是由协议启用的。在全球范围内,没有运营商或管理员希望和需要包含在1.0版的设计目标中。一些最终用户的需求也可能被排除在版本1.0之外,并将在其描述中予以说明。的后续版本

the protocol (e.g. V2.0) may include support for these initially excluded wants and needs.

协议(如V2.0)可能包括对这些最初排除的需求的支持。

3. DESIGN GOALS
3. 设计目标

The next three sections identify the design goals for an Internet printing protocol from three roles assumed by humans: end-user, operator, and administrator. The goals defined here are only those that need to be addressed by an Internet printing protocol. Other wants and needs, such as that the operator needs physical access to the printer (e.g. to be able to load paper or clear jams) are not covered by this document. Section 5 contains scenarios which provide more detailed examples of the entire process including discovery, status, printing and end-of-job reporting.

接下来的三个部分从人类承担的三个角色中确定了Internet打印协议的设计目标:最终用户、操作员和管理员。这里定义的目标只是那些需要通过互联网打印协议来实现的目标。本文档不包括其他需求,例如操作员需要物理访问打印机(例如,能够装入纸张或清除卡纸)。第5节包含的场景提供了整个流程的更详细示例,包括发现、状态、打印和作业结束报告。

3.1. END-USER
3.1. 最终用户

An end-user of a printer accepting jobs through the Internet is one of the roles in which humans act. The end-user is the person that will submit a job to be printed on the printer.

打印机的最终用户通过互联网接受作业是人类扮演的角色之一。最终用户是将提交要在打印机上打印的作业的人。

The wants and needs of the end-user are broken down into six categories: finding/locating a printer, creating a local instance of a printer, viewing printer status, viewing printer capabilities, submitting a print job, viewing print job status, altering the attributes of a print job.

最终用户的需求分为六类:查找/定位打印机、创建打印机的本地实例、查看打印机状态、查看打印机功能、提交打印作业、查看打印作业状态、更改打印作业的属性。

3.1.1. Finding or locating a printer.

3.1.1. 查找或定位打印机。

End-users want to be able to find and locate printers to which they are authorized to print. They want to be able to perform this function using a standard WEB browser or other application. Multiple criteria can be applied to find the printers needed. These criteria include but are not limited to:

最终用户希望能够找到并定位他们有权打印的打印机。他们希望能够使用标准的WEB浏览器或其他应用程序执行此功能。可以应用多个条件来查找所需的打印机。这些标准包括但不限于:

- by name (Printer 1, Joes-color-printer, etc.) - by geographic location (bldg 1, Kentucky, etc.) - by capability or attribute (color, duplex, legal paper, etc.)

- 按名称(打印机1、Joes彩色打印机等)-按地理位置(肯塔基州1号楼等)-按能力或属性(颜色、双面打印、法律纸张等)

Additionally, while it is outside of scope of IPP, end-users want to be able to limit the scope of their searching to:

此外,虽然不在IPP范围内,但最终用户希望能够将其搜索范围限制为:

- inside a functional sub-domain - include only a particular domain (lexmark.com) - exclude specified domains

- 在功能子域内-仅包括特定域(lexmark.com)-排除指定域

While an Internet printing protocol may not of itself include this function, IPP must define and enable a directory schema which will provide the necessary information for a directory service implementation to consistently represent printers by their IPP attributes.

虽然Internet打印协议本身可能不包括此功能,但IPP必须定义并启用目录架构,该架构将为目录服务实现提供必要的信息,以便通过其IPP属性一致地表示打印机。

3.1.2. Create an instance of the printer.

3.1.2. 创建打印机的实例。

After finding the desired printer, an end-user needs to be able to create a local instance of that printer within the end-user operating system or desktop. This local instance will vary depending upon the printing paradigm of the operating system. For example, some UNIX users will only want a queue or a reference to a remote printer created on their machine while other UNIX users and Windows NT users will want the queue and also the necessary icons and registry entries to be created and initialized. Where required, drivers may need to be downloaded from some repository and installed on the computer. All necessary decompressing, unpacking, and other installation actions should occur without end-user interaction or intervention excepting initial approval by the end-user. Once the local instance of the printer has been installed, it shall appear to the end-user of the operating system and to the applications running there as any other printer (local, local area network connected, or network operating system connected) on the end-user desktop or environment. IPP's role in this goal is simply to enable the creation of the printer instance providing information such as where to locate a printer driver for this printer, as an attribute of an IPP Printer.

找到所需的打印机后,最终用户需要能够在最终用户操作系统或桌面中创建该打印机的本地实例。此本地实例将根据操作系统的打印范例而有所不同。例如,一些UNIX用户只希望在其计算机上创建一个队列或对远程打印机的引用,而其他UNIX用户和Windows NT用户则希望创建和初始化该队列以及必要的图标和注册表项。如果需要,可能需要从某些存储库下载驱动程序并将其安装在计算机上。除最终用户的初始批准外,所有必要的解压缩、解包和其他安装操作均应在没有最终用户交互或干预的情况下进行。一旦安装了打印机的本地实例,操作系统的最终用户和在那里运行的应用程序应将其视为最终用户桌面或环境上的任何其他打印机(本地、局域网连接或网络操作系统连接)。IPP在这一目标中的作用只是支持创建打印机实例,该实例作为IPP打印机的一个属性,提供诸如在何处定位此打印机的打印机驱动程序等信息。

3.1.3. Viewing the status and capabilities of a printer.

3.1.3. 查看打印机的状态和功能。

Before using a selected printer or, in fact at any time, the end-user needs the ability to verify the characteristics and status of both printers and jobs queued for that printer. When checking the characteristics of a printer, the end-user typically wants to be able to determine the capability of the device, e.g.:

在使用所选打印机之前,或者实际上在任何时候,最终用户都需要能够验证打印机和排队等待该打印机的作业的特征和状态。在检查打印机的特性时,最终用户通常希望能够确定设备的性能,例如:

- supported media, commonly paper, by size and type - paper handling capability, e.g. duplex, collating, finishing - color capability

- 支持的介质,通常为纸张,按大小和类型-纸张处理能力,例如双面打印、整理、整理-颜色能力

When checking the status of the printer and its print jobs, the end-user typically wants to be able to determine:

检查打印机及其打印作业的状态时,最终用户通常希望能够确定:

- is the printer on-line? - what are the defaults to be used for printing? - how many jobs are queued for the printer? - how are job priorities assigned? (outside the scope of IPP)

- 打印机在线吗打印时使用的默认设置是什么?-打印机排队等待多少个作业?-如何分配工作优先级?(不在IPP范围内)

3.1.4. Submitting a print job.

3.1.4. 提交打印作业。

Once the desired printer has been located and installed, the end-user wants to print to that printer from normal applications using standard methods. These normal applications include such programs as word processors, spreadsheets, data-base applications, WEB browsers, production printing applications, etc. Additionally, the end-user may want to print a file already existing on the end-user's computer -- "simple push". In addition to printing from an application and simple push, the end-user needs to have the ability to submit a print job by reference. Printing by reference is defined to mean as submitting a job by providing a reference to an existing document. The reference, a URI, will be resolved before the actual print process occurs. Submitting a job by reference relieves the user from downloading the document from the remote server and then sending it via IPP to the printer. This saves both time and network bandwidth.

一旦找到并安装了所需的打印机,最终用户希望使用标准方法从正常应用程序打印到该打印机。这些普通应用程序包括文字处理器、电子表格、数据库应用程序、WEB浏览器、生产打印应用程序等。此外,最终用户可能希望打印已存在于最终用户计算机上的文件——“简单推送”。除了从应用程序打印和简单推送外,最终用户还需要能够通过引用提交打印作业。引用打印是指通过提供对现有文档的引用来提交作业。引用(URI)将在实际打印过程发生之前解析。通过引用提交作业可以使用户不必从远程服务器下载文档,然后通过IPP将其发送到打印机。这节省了时间和网络带宽。

Some means shall be provided to determine if the format of a job matches the capability of the printer. This can be done by one of the following (all of which are outside of scope of the IPP protocol):

应提供一些方法来确定作业的格式是否与打印机的能力匹配。这可以通过以下方式之一实现(所有这些都不在IPP协议的范围内):

- the end-user selects the correct printer driver - the printer automatically selects the proper interpreter - the end-user uses some other manual procedure.

- 最终用户选择正确的打印机驱动程序-打印机自动选择正确的解释器-最终用户使用其他一些手动程序。

A standard action shall be defined should the job's requirements not match the capabilities of the printer.

如果作业要求与打印机能力不匹配,则应定义标准操作。

Because the end-user does not want to know the details of the underlying printing process, the protocol must support job-to-printer capability matching (all implementations are not necessarily required to implement this function.) This matching capability requires knowing both the printer's capabilities and attributes and those capabilities and attributes required by the job. Actions taken when a print job requires capabilities or attributes that are not available on the printer vary and can include but are not limited to:

由于最终用户不想知道底层打印过程的细节,协议必须支持作业到打印机的功能匹配(实现此功能不一定需要所有实现)此匹配功能要求了解打印机的功能和属性以及作业所需的功能和属性。当打印作业需要打印机上不可用的功能或属性时,所采取的操作会有所不同,包括但不限于:

- rejecting the print job - redirecting the print job to another printer (Not in V1.0) - printing the job, accepting differences in the appearance

- 拒绝打印作业-将打印作业重定向到其他打印机(不在V1.0中)-打印作业,接受外观差异

Print jobs will also be submitted by background or batch applications without human intervention.

打印作业也将通过后台或批处理应用程序提交,无需人工干预。

End-users need the ability to set certain print job parameters at the time the job is submitted. These parameters include but are not limited to:

最终用户需要能够在提交作业时设置某些打印作业参数。这些参数包括但不限于:

- number of copies - single or two sided printing - finishing - job priority

- 份数-单面或双面打印-整理-作业优先级

3.1.5. Viewing the status of a submitted print job.

3.1.5. 查看已提交打印作业的状态。

After a job has been submitted to a printer, the end-user needs a way to view the status of that job (i.e. job waiting, job printing, job done) and to determine where the job is in the print queue.

作业提交到打印机后,最终用户需要查看该作业的状态(即作业等待、作业打印、作业完成)并确定作业在打印队列中的位置。

In addition to the need to inquire about the status of a print job, automatic notification of the completion of that job is also required.

除了需要查询打印作业的状态外,还需要自动通知该作业的完成情况。

Notification means are not defined by the protocol but the protocol must provide a means of enabling and disabling the notification.

协议未定义通知方式,但协议必须提供启用和禁用通知的方式。

3.1.6. Canceling a Print Job
3.1.6. 取消打印作业

While a job is waiting to be printed or has been started but not yet completed, the original creator/submitter of the print job (i.e. the end-user) shall be able to cancel the job entirely (job is waiting) or the remaining portion of it (job is printing.) Altering the print job itself is not a V1.0 design goal.

当作业正在等待打印或已启动但尚未完成时,打印作业的原始创建者/提交者(即最终用户)应能够完全取消作业(作业正在等待)或其剩余部分(作业正在打印)。更改打印作业本身不是V1.0设计目标。

3.2. OPERATOR (NOT REQUIRED FOR V1.0)
3.2. 操作员(V1.0版不需要)

An operator of a printer accepting jobs through the Internet is one of the roles in which humans act. The operator has the responsibility of monitoring the status of the printer as well as managing and controlling the jobs at the device. These responsibilities include but are not limited to the replenishing of supplies (ink, toner, paper, etc.), the clearing of minor errors (paper jams, etc.) and the re-prioritization of end-user jobs. Operator wants and needs will not be addressed by V1.0 of the protocol.

通过互联网接受作业的打印机操作员是人类行为的角色之一。操作员有责任监控打印机的状态以及管理和控制设备上的作业。这些责任包括但不限于补充供应品(墨水、碳粉、纸张等)、清除小错误(卡纸等)以及重新确定最终用户作业的优先级。协议V1.0不会满足运营商的需求。

The wants and needs of the operator include all those of the end-user but may include additional privileges. For example, an operator may be able to view all print jobs on a printer while the end-user might only be able to see his own jobs.

运营商的需求包括最终用户的所有需求,但可能包括额外的特权。例如,操作员可以查看打印机上的所有打印作业,而最终用户可能只能查看自己的作业。

3.2.1. Alerting.

3.2.1. 警觉。

One of the required operator functions is having the ability to discover or to be alerted to changes in the status of a printer particularly those changes that cause a printer to stop printing and

操作员所需的一项功能是能够发现打印机状态的变化或对其发出警报,特别是那些导致打印机停止打印和打印的变化

to be able to correct those problems. As such, an Internet printing protocol shall be able to alert a designated operator or operators to these conditions such as 'out of paper', 'out of ink', etc. Additionally. the operator shall be able to, asynchronous to other printer activity, inquire as to a printer's or a job's status.

能够纠正这些问题。因此,互联网打印协议应能够提醒指定操作员注意这些情况,例如“缺纸”、“缺墨”等。操作员应能够与其他打印机活动异步,查询打印机或作业的状态。

3.2.2. Changing Print and Job Status.

3.2.2. 更改打印和作业状态。

Another of the required operator functions is the ability to affect changes to printer and job status remotely. For example, the operator will need to be able to re-prioritize or cancel any print jobs on a printer to which the operator has authority.

操作员所需的另一项功能是远程影响打印机和作业状态的更改。例如,操作员需要能够重新排序或取消操作员有权访问的打印机上的任何打印作业。

3.3. ADMINISTRATOR (NOT REQUIRED FOR V1.0)
3.3. 管理员(V1.0不需要)

An administrator of a printer accepting jobs through the Internet is one of the roles in which humans act. The administrator has the responsibility of creating the printer instances and controlling the authorization of other end-users and operators. Administrator wants and needs will not be addressed by V1.0 of the protocol.

通过互联网接受作业的打印机管理员是人类扮演的角色之一。管理员负责创建打印机实例并控制其他最终用户和操作员的授权。协议的V1.0将不会满足管理员的需要。

The wants and needs of the administrator include all those of the end-user and, in some environments, some or all of those of the operator. Minimally, the administrator must also have the tools, programs, utilities and supporting protocols available to be able to:

管理员的需求包括最终用户的所有需求,在某些环境中,还包括运营商的部分或全部需求。至少,管理员还必须具备工具、程序、实用程序和支持协议,以便能够:

- create an instance of a printer - create, edit and maintain the list of authorized end-users - create, edit and maintain the list of authorized operators - create, edit and maintain the list of authorized administrators - create, customize, change or otherwise alter the manner in which the status capabilities and other information about printers and jobs are presented - create, customize, or change other printer or job features - administrate billing or other charge-back mechanisms - create sets of defaults - create sets of capabilities

- 创建打印机实例-创建、编辑和维护授权最终用户列表-创建、编辑和维护授权操作员列表-创建、编辑和维护授权管理员列表-创建、编辑和维护授权管理员列表,更改或以其他方式更改状态功能以及有关打印机和作业的其他信息的显示方式-创建、自定义或更改其他打印机或作业功能-管理计费或其他计费机制-创建默认设置集-创建功能集

The administrator must have the capability to perform all the above tasks locally or remotely to the printer.

管理员必须能够在本地或远程对打印机执行上述所有任务。

4. OBJECTIVES OF THE PROTOCOL
4. 议定书的目标

The protocol to be defined by an Internet printing working group will address the wants and needs of the end-user (V1.0). It will not, at least initially, address the operator or administrator wants and needs (V2.0).

由互联网打印工作组定义的协议将满足最终用户的需求(V1.0)。它至少在最初不会满足操作员或管理员的需要(V2.0)。

The protocol defined shall be independent of the operating system of both the client and the server. Generally, any platform capable of supporting a WEB Browser should be capable of being a client. Generally, any platform providing a WEB/HTTP server and printing services should be capable of being a server. Usage of the WEB Browser and Server is not required for IPP; the operating system, operating system extensions or other applications may provide IPP functionality directly.

定义的协议应独立于客户端和服务器的操作系统。通常,任何能够支持WEB浏览器的平台都应该能够成为客户机。通常,任何提供WEB/HTTP服务器和打印服务的平台都应该能够成为服务器。IPP不需要使用WEB浏览器和服务器;操作系统、操作系统扩展或其他应用程序可直接提供IPP功能。

In many environments such as Windows 95, Windows NT and OS/2, the print data is created and transmitted to the printer on the fly rather than being created, spooled and then transmitted to the printer (a typical UNIX method.) The Internet Printing Protocol must properly handle either methodology and make this transparent to the end-user.

在许多环境中,如Windows 95、Windows NT和OS/2,打印数据是动态创建并传输到打印机的,而不是创建、假脱机然后传输到打印机(典型的UNIX方法)。Internet打印协议必须正确处理这两种方法,并使其对最终用户透明。

4.1. SECURITY CONSIDERATIONS
4.1. 安全考虑

It is required that the Internet Printing Protocol be able to operate within a secure environment. Wherever reasonable, IPP ought to make use of existing security protocols and services. IPP will not invent new security features when the design goals described in this document can be met by existing protocols and services. Examples of such services include Secure Socket Layer Version 3 (SSL3) [SSL] and HTTP Digest Access Authentication [RFC2069]. Note: SSL3 is not on the IETF standards track.

要求Internet打印协议能够在安全环境中运行。在合理的情况下,IPP应利用现有的安全协议和服务。当现有协议和服务能够满足本文档中描述的设计目标时,IPP不会发明新的安全功能。此类服务的示例包括安全套接字层版本3(SSL3)[SSL]和HTTP摘要访问认证[RFC2069]。注:SSL3不在IETF标准轨道上。

Since we cannot anticipate the security levels or the specific threats that any given IPP print administrator may be concerned with, IPP must be capable of operating with different security mechanisms and policies as required by the individual installation. The initial security needs of IPP are derived from two primary considerations. First, the printing environments described in this document take into account that the client, the Printer, and the document to be printed may each exist in different security domains. When objects are in different security domains the design goals for authentication and message protection may be much stronger than when they are all in the same domain.

由于我们无法预测任何给定IPP打印管理员可能关心的安全级别或特定威胁,IPP必须能够根据个别安装的要求使用不同的安全机制和策略进行操作。IPP的初始安全需求源自两个主要考虑因素。首先,本文档中描述的打印环境考虑到客户端、打印机和要打印的文档可能分别存在于不同的安全域中。当对象在不同的安全域中时,身份验证和消息保护的设计目标可能比它们都在同一个域中时强得多。

Secondly, the sensitivity and value of the content being printed will vary from one instance of a print job to another. For example, a publicly available document does not need the same level of protection as a payroll document does. Message protection design goals include data origin authentication, privacy, integrity, and non-repudiation.

其次,打印内容的敏感度和价值因打印作业的不同而不同。例如,公开可用的文档不需要与工资单文档相同的保护级别。消息保护设计目标包括数据源身份验证、隐私、完整性和不可否认性。

In many environments (e.g. Windows, OS/2) a printer driver may be needed to create the proper datastream for printer. This document discusses downloading such a new driver from a variety of sources. Downloading and installing any software, including drivers) on a computer exposes that computer to a number of security risks including but not limited to:

在许多环境(例如Windows、OS/2)中,可能需要打印机驱动程序为打印机创建适当的数据流。本文档讨论从各种来源下载这样一个新的驱动程序。在计算机上下载和安装任何软件(包括驱动程序)会使该计算机面临许多安全风险,包括但不限于:

- defective software - malicious software (e.g. Trojan horses) - inappropriate software (i.e. software doing something deemed unreasonable by the user.)

- 有缺陷的软件-恶意软件(如特洛伊木马)-不适当的软件(即软件做了用户认为不合理的事情。)

As such, proper security considerations and actions need to be taken by the user and/or a system administrator to prevent the compromising of the computer. Administrators should configure downloading mechanism for printer drivers in such a way as to be able to verify the source of driver software and encrypt or otherwise protect that software during download.

因此,用户和/或系统管理员需要采取适当的安全注意事项和措施,以防止计算机受损。管理员应为打印机驱动程序配置下载机制,以便能够验证驱动程序软件的来源,并在下载过程中加密或以其他方式保护该软件。

Examples including security considerations can be found in sections 5 (IPP SCENARIOS) and 10 (APPENDIX - DETAILED SCENARIOS) later in this document.

本文件下文第5节(IPP场景)和第10节(附录-详细场景)提供了包括安全注意事项在内的示例。

4.2. INTERACTION WITH LPD (RFC1179)
4.2. 与LPD的相互作用(RFC1179)

Many versions of UNIX and in fact other operating systems provide a means of printing as described in [RFC1179] (Line Printer Daemon Protocol.) This document describes the file formats for the control and data files as well as the messages used by the protocol. Because of the simplistic approach taken by this protocol, many manufacturers have include proprietary enhancements and extensions to 'lpd.' Because of this divergence and due to other design goals described in this document, there is no requirement for backward compatibility or interoperability with 'lpd'. However, a mapping of LPD functionality and IPP functionality shall be provided so as to enable a gateway between LPD and IPP.

许多版本的UNIX和其他操作系统提供了[RFC1179](Line Printer Daemon Protocol)中所述的打印方法。本文档描述了控制文件和数据文件的文件格式以及协议使用的消息。由于本协议采用了过于简单的方法,许多制造商已经对“lpd”进行了专有的增强和扩展。由于这种差异以及本文档中描述的其他设计目标,因此不需要与“lpd”进行向后兼容性或互操作性。但是,应提供LPD功能和IPP功能的映射,以实现LPD和IPP之间的网关。

4.3. EXTENSIBILITY
4.3. 扩展性

The Internet Printing Protocol shall be extensible by several means that facilitate interoperability and prevent implementation collisions:

互联网打印协议应通过多种方式进行扩展,以促进互操作性并防止实施冲突:

- by providing a process whereby implementers can submit proposals for registration of new attributes and new enumerated values for existing attributes.

- 通过提供一个过程,实现者可以提交注册新属性和现有属性的新枚举值的建议。

* that require review and approval. The Internet Assigned Number Authority (IANA) will be the repository for such accepted registration proposals after review.

* 需要审查和批准的。互联网分配号码管理局(IANA)将在审查后成为此类已接受注册提案的存储库。

* that do not require review and approval. IANA will be the repository for such registrations.

* 不需要审查和批准的。IANA将是此类注册的存储库。

- by providing syntax in the protocol so that implementers may add private (i.e. unregistered) attributes and enumerated attribute values.

- 通过在协议中提供语法,以便实现者可以添加私有(即未注册)属性和枚举属性值。

- by providing versioning and negotiation so as to enable future implementations of IPP to interoperate with implementations of version 1.0 of IPP.

- 通过提供版本控制和协商,使IPP的未来实现能够与IPP的1.0版实现进行互操作。

4.4. FIREWALLS
4.4. 防火墙

As stated in section 3 Design Goals, Internet printing shall, by definition, support printing from one enterprise to another. As such, the Internet printing protocol must be capable of passing through firewalls and/or proxy servers (where enabled by the firewall administrator) preferably without modification to the existing firewall technology.

如第3节“设计目标”所述,根据定义,互联网印刷应支持从一家企业到另一家企业的印刷。因此,互联网打印协议必须能够通过防火墙和/或代理服务器(由防火墙管理员启用),最好不修改现有的防火墙技术。

4.5. INTERNATIONALIZATION
4.5. 国际化

Users of Internet printing will come from all over the world. As such, where appropriate, internationalization and localization will be enabled for the protocol.

互联网印刷的用户将来自世界各地。因此,在适当的情况下,将为协议启用国际化和本地化。

5. IPP SCENARIOS
5. IPP场景

Each of the scenarios in this section describes a specific IPP operation, such as submitting a print job. Section 10 contains several detailed flows for each scenario to provide additional detail. The examples should not be considered exhaustive, but illustrative of the functions and features required in the protocol. Flows are intended to be protocol neutral. It is not assumed that all of the functions and features described in these scenarios will necessarily be supported directly by IPP or in version 1.0 of IPP.

本节中的每个场景都描述了特定的IPP操作,例如提交打印作业。第10节包含每个场景的几个详细流程,以提供更多细节。这些示例不应被视为详尽无遗,而应说明协议中所需的功能和特征。流旨在与协议无关。我们并不认为这些场景中描述的所有功能和特性都必须由IPP或IPP 1.0版直接支持。

See the IPP Model and Semantics document for details on configurations of clients, servers and firewalls.

有关客户端、服务器和防火墙配置的详细信息,请参阅IPP模型和语义文档。

5.1. PRINTER DISCOVERY
5.1. 打印机发现

Client Directory Service Service

客户端目录服务

    +----------------------------------------------------------- >
       give me information on printers with these characteristics
        
    +----------------------------------------------------------- >
       give me information on printers with these characteristics
        
    < -----------------------------------------------------------+
        Information on Printers matching these characteristics
        
    < -----------------------------------------------------------+
        Information on Printers matching these characteristics
        

The objective of printer discovery is to locate printers that meet the client's wants and needs. The Directory Service should provide enough information for the client to make an initial choice. The client may have to connect to each individual Printer offered to get more detail. Not all information available from the Directory Service is obtained using IPP; some information may be administratively provided.

打印机发现的目标是找到满足客户需求的打印机。目录服务应该为客户端提供足够的信息,以便进行初始选择。客户端可能必须连接到提供的每台打印机才能获得更多详细信息。并非所有可从目录服务获得的信息都是通过IPP获得的;有些信息可能是通过行政手段提供的。

The actual protocol used between client and Directory or Name Service is considered outside the scope of IPP. Printer Discover is included in the scenarios to provide design goals for the directory schema for IPP Printers and to further define Printer attributes.

客户端和目录或名称服务之间使用的实际协议被认为不在IPP的范围内。方案中包括打印机发现,以提供IPP打印机目录架构的设计目标,并进一步定义打印机属性。

Characteristics that might be considered when locating a Printer include:

查找打印机时可能考虑的特征包括:

- capabilities of the Printer, e.g. PDLs supported - physical location, e.g. in building 010 - driver required and location - cost per page to print (outside the scope of IPP) - whether or not printer is access controlled - whether or not usage requires client authentication - whether or not Printer can be authenticated - whether or not payment is required for printing (outside the scope of IPP) - maximum job size (spool size) (outside the scope of IPP) - whether or not Printer support compression (outside the scope of IPP) - whether or not Printer supports encryption - administrative limits on this Printer - maximum number of copies per job - maximum number of pages per job

- 打印机功能,如支持的PDL-物理位置,如010号楼-所需驱动程序和位置-每页打印成本(不在IPP范围内)-打印机是否受访问控制-使用是否需要客户端身份验证-打印机是否可以进行身份验证-打印是否需要付款(在IPP范围之外)-最大作业大小(卷轴大小)(在IPP范围之外)-打印机是否支持压缩(不在IPP范围内)-打印机是否支持加密-此打印机的管理限制-每个作业的最大份数-每个作业的最大页数

Responses could additionally include:

答复还可包括:

- how to get more information - web page - telephone number - help desk

- 如何获取更多信息-网页-电话号码-服务台

5.2. DRIVER INSTALLATION
5.2. 驱动程序安装

Client Printer

客户端打印机

    +----------------------------------------------------------- >
       Where can I find a driver & software to install it?
        
    +----------------------------------------------------------- >
       Where can I find a driver & software to install it?
        
    < -----------------------------------------------------------+
        URIs for drivers and install software
        
    < -----------------------------------------------------------+
        URIs for drivers and install software
        

Driver here refers to the code installed in some client operating system to generate the print data stream for the intended printer. The actual details for installing a printer driver are operating system dependent and are also outside the scope of IPP. However, an IPP printer or a directory service advertising an IPP Printer should be capable of telling a client what drivers are available and/or required, where they can be found, and provide pointers to installation instructions, installation code or initialization strings required to install the driver. See section 4.1 (SECURITY CONSIDERATIONS) for security implications of driver download and installation.

这里的驱动程序是指安装在某些客户端操作系统中的代码,用于生成预期打印机的打印数据流。安装打印机驱动程序的实际细节取决于操作系统,也不在IPP的范围内。但是,IPP打印机或宣传IPP打印机的目录服务应能够告诉客户哪些驱动程序可用和/或需要,在哪里可以找到它们,并提供指向安装驱动程序所需的安装说明、安装代码或初始化字符串的指针。有关驱动程序下载和安装的安全影响,请参见第4.1节(安全注意事项)。

5.3. SUBMITTING A PRINT JOB
5.3. 提交打印作业

Client IPP Printer

客户端IPP打印机

    +----------------------------------------------------------- >
       Here is a Print Job
        - Job attributes
        - Print data
        
    +----------------------------------------------------------- >
       Here is a Print Job
        - Job attributes
        - Print data
        
    < -----------------------------------------------------------+
        Response
        
    < -----------------------------------------------------------+
        Response
        

The protocol must support these sources of client data:

协议必须支持以下客户端数据源:

- Print data is a file submitted with the job - Print data is generated on the fly by an application - Print data is a file referenced by a URI

- 打印数据是随作业一起提交的文件-打印数据由应用程序动态生成-打印数据是URI引用的文件

The protocol must handle overrun conditions in the printer and must support overlapped printing and downloading of the file in devices that are unable to spool files before printing them.

协议必须处理打印机中的溢出情况,并且必须支持在无法在打印文件之前对文件进行假脱机的设备中重叠打印和下载文件。

Every print request will have a response. Responses will indicate success or failure of the request and provide information on failures when they occur. Responses would include things like:

每个打印请求都会有响应。响应将指示请求的成功或失败,并在失败发生时提供有关失败的信息。答复将包括以下内容:

- Got the print job and queued it - Got the print job and am printing it - Got the print job, started to print it, but printing failed - why it failed (e.g. unrecoverable PostScript error) - state of the printer - how much printed - Got the print job but couldn't print it - why it can't be printed - state of the printer - Got the print job but don't know what to do with it - Didn't get a complete print job (e.g. communication failure)

- 获取打印作业并将其排队-获取打印作业并正在打印-获取打印作业,开始打印,但打印失败-失败原因(例如,无法恢复的PostScript错误)-打印机状态-打印量-获得打印作业但无法打印-为什么无法打印-打印机状态-获得打印作业但不知道如何处理-未获得完整的打印作业(例如通信故障)

5.4. GETTING STATUS/CAPABILITIES
5.4. 获取状态/能力

Client IPP Printer

客户端IPP打印机

    +----------------------------------------------------------- >
       Get status and/or capabilities of Printer
        
    +----------------------------------------------------------- >
       Get status and/or capabilities of Printer
        
    < -----------------------------------------------------------+
        Status/Capabilities
        
    < -----------------------------------------------------------+
        Status/Capabilities
        

Clients will need to get information about

客户将需要获得有关

- Static capabilities of the device - Dynamic state of the Printer (e.g. out of paper) - State of a specific job owned by this client - State of all jobs owned by this client - queued - printing - completed

- 设备的静态功能-打印机的动态状态(例如缺纸)-此客户端拥有的特定作业的状态-此客户端拥有的所有作业的状态-排队-打印-完成

- Job submission attributes supported/required - scheduling attributes (e.g. priority) - production attributes (e.g. number of copies)

- 支持/需要作业提交属性-计划属性(如优先级)-生产属性(如份数)

5.5. ASYNCHRONOUS NOTIFICATION
5.5. 异步通知

Client IPP Printer

客户端IPP打印机

    +----------------------------------------------------------- >
       Use the following method to notify me of Printer events
        
    +----------------------------------------------------------- >
       Use the following method to notify me of Printer events
        
                                 .
                                 .
                                 .
    < -----------------------------------------------------------+
        Asynchronous notification of Printer event
        
                                 .
                                 .
                                 .
    < -----------------------------------------------------------+
        Asynchronous notification of Printer event
        

Clients must be able to request asynchronous notification for Printer events such as

客户端必须能够请求打印机事件的异步通知,例如

- job completion - a fatal error that requires the job to be resubmitted - a condition that severely impacts a queued job for this client e.g. printer is out of paper

- 作业完成-要求重新提交作业的致命错误-严重影响此客户端排队作业的情况,例如打印机缺纸

Note: end-user notification is a V1.0 design goal while operator notification is for V2.0.

注:最终用户通知是V1.0设计目标,而操作员通知是V2.0设计目标。

5.6. JOB CANCELING
5.6. 取消工作

Client IPP Printer

客户端IPP打印机

    +----------------------------------------------------------- >
       Cancel the named job as indicated
        
    +----------------------------------------------------------- >
       Cancel the named job as indicated
        
    < -----------------------------------------------------------+
        Response (did it or not)
        
    < -----------------------------------------------------------+
        Response (did it or not)
        

Similarly clients must be able to make changes to jobs which have been submitted and are queued for printing. Changing of job attributes should also be supported. Job modifications, holding and releasing of jobs are not included in the design goals for IPP v1.0.

同样,客户端必须能够对已提交并排队等待打印的作业进行更改。还应支持更改作业属性。IPP v1.0的设计目标中不包括作业修改、作业保留和发布。

6. SECURITY CONSIDERATIONS
6. 安全考虑

The security considerations for IPP are described in Section 4.1 above.

IPP的安全注意事项见上文第4.1节。

7. REFERENCES
7. 参考资料

[ipp-iig] Hastings, T. and C. Manros, "Internet Printing Protocol/1.0: Implementer's Guide", Work in Progress.

[ipp iig]Hastings,T.和C.Manros,“互联网打印协议/1.0:实施者指南”,正在进行的工作。

[RFC2569] Herriot, R., Hastings, T., Jacobs, N. and J. Martin, "Mapping between LPD and IPP Protocols", RFC 2569, April 1999.

[RFC2569]Herriot,R.,Hastings,T.,Jacobs,N.和J.Martin,“LPD和IPP协议之间的映射”,RFC 2569,1999年4月。

[RFC2566] deBry, R., Hastings, T., Herriot, R., Isaacson, S. and P. Powell, "Internet Printing Protocol/1.0: Model and Semantics", RFC 2568, April 1999.

[RFC2566]deBry,R.,Hastings,T.,Herriot,R.,Isaacson,S.和P.Powell,“互联网打印协议/1.0:模型和语义”,RFC 2568,1999年4月。

[RFC2565] Herriot, R., Butler, S., Moore, P. and R. Tuner, "Internet Printing Protocol/1.0: Encoding and Transport", RFC 2565, April 1999.

[RFC2565]Herriot,R.,Butler,S.,Moore,P.和R.Tuner,“互联网打印协议/1.0:编码和传输”,RFC 25651999年4月。

[RFC2568] Zilles, S., "Rationale for the Structure and Model and Protocol for the Internet Printing Protocol", RFC 2568, April 1999.

[RFC2568]Zilles,S.“互联网打印协议的结构、模型和协议的基本原理”,RFC 2568,1999年4月。

[ISO10175] ISO/IEC 10175, Document Printing Application, June 1996.

[ISO10175]ISO/IEC 10175,文件打印申请,1996年6月。

[RFC1179] McLaughlin, L., "Line Printer Daemon Protocol" RFC 1179, August 1990.

[RFC1179]McLaughlin,L.“线路打印机后台程序协议”RFC1179,1990年8月。

[SSL] Netscape, The SSL Protocol, Version 3, (Text version 3.02), November 1996.

[SSL]Netscape,SSL协议,版本3,(文本版本3.02),1996年11月。

8. ACKNOWLEDGMENTS
8. 致谢

This document draws heavily from preliminary work done by others especially in the Printer Working Group (PWG). The author gratefully acknowledges the specific contributions of:

本文件大量借鉴了其他人,特别是打印机工作组(PWG)的初步工作。作者衷心感谢以下方面的具体贡献:

Scott Isaacson Roger deBry Novell Utah Valley State College sisaacson@novell.com debryro@uvsc.edu

斯科特·艾萨克森·罗杰·德布里·诺维尔犹他谷州立学院sisaacson@novell.com debryro@uvsc.edu

Carl-Uno Manros Robert Herriot Xerox Sun manros@cp10.es.xerox.com Robert.Herrior@pahv.xerox.xom

卡尔·乌诺·曼罗斯·罗伯特·赫里奥特施乐太阳manros@cp10.es.xerox.com罗伯特。Herrior@pahv.xerox.xom

Tom Hastings Peter Zehler Xerox Xerox hastings@cp10.es.xerox.com Peter.Zehler@usa.xerox.com

汤姆·黑斯廷斯·彼得·泽勒复印机hastings@cp10.es.xerox.com彼得。Zehler@usa.xerox.com

9. AUTHOR'S ADDRESS
9. 作者地址

F.D. (Don) Wright Lexmark International C14/035-3 740 New Circle Rd Lexington, KY 40550

肯塔基州列克星敦新环路路740号,邮编40550

Phone: 606-232-4808 Fax: 606-232-6740 EMail: don@lexmark.com

电话:606-232-4808传真:606-232-6740电子邮件:don@lexmark.com

10. APPENDIX - DETAILED SCENARIOS
10. 附录-详细场景

The following are more detailed scenarios illustrating how the Internet Printing Protocol is expected to be used as a part of a complete Internet Printing system. Some parts of the scenarios include concepts, functions and information that may be outside of the scope of version 1.0 of IPP (e.g. cost per page, payments means available, etc.) The information contained herein is meant to be generic. There may not be an exact wording or terminology match between these scenarios and the implementation documents.

以下是更详细的场景,说明了预期如何将Internet打印协议用作完整Internet打印系统的一部分。场景的某些部分包括可能超出IPP 1.0版范围的概念、功能和信息(例如每页成本、可用付款方式等)。此处包含的信息为通用信息。这些场景和实施文件之间可能没有精确的措辞或术语匹配。

10.1. PRINTER DISCOVERY WITHIN AN ENTERPRISE
10.1. 企业内的打印机发现

A user wants to find a color Postscript printer in his/her enterprise which will print transparencies. The client, directory service, and printer are all behind the same corporate firewall. Because color foils are expensive, printers of this type are access controlled and require an account to be established so that printing can be billed back to the using department. Note the request to find a printer usable by Dept. J15. Drivers for all supported printers are available from the server they are associated with. A help desk is provided for end user support. The printer is unattended.

用户希望在其企业中找到可打印透明胶片的彩色Postscript打印机。客户端、目录服务和打印机都位于同一个公司防火墙后面。由于彩色箔价格昂贵,这种类型的打印机受访问控制,需要建立一个帐户,以便可以将打印费用退还给使用部门。请注意寻找J15部门可用打印机的请求。所有受支持打印机的驱动程序都可从与其关联的服务器获得。为最终用户提供帮助台。打印机无人值守。

Client Directory Service

客户端目录服务

      +---------------------------------------------------------- >
        Find a printer with these characteristics
        - prints color, prints transparencies
        - prints Postscript
        - is in building 003
        - accessible by the client
        
      +---------------------------------------------------------- >
        Find a printer with these characteristics
        - prints color, prints transparencies
        - prints Postscript
        - is in building 003
        - accessible by the client
        
      < ----------------------------------------------------------+
        Printer "Color-A"
        - prints color, prints transparencies
        - prints Postscript
        - in room H-6, building 003
        - driver ABC-Postscript-V1.3 required, here is URI
        - cost is $.45 per page for color transparencies
        - limit is 10 pages per job
        - authentication required to use printer
        - printer is unattended
        - help desk at x5001
        
      < ----------------------------------------------------------+
        Printer "Color-A"
        - prints color, prints transparencies
        - prints Postscript
        - in room H-6, building 003
        - driver ABC-Postscript-V1.3 required, here is URI
        - cost is $.45 per page for color transparencies
        - limit is 10 pages per job
        - authentication required to use printer
        - printer is unattended
        - help desk at x5001
        

Printer "Color-B" - prints color, prints transparencies - prints Postscript - in room J-10, building 003

打印机“颜色-B”-打印颜色,打印透明胶片-打印Postscript-在003号楼J-10室

- driver XYZ-Postscript-V2.4 required, here is URI - cost is $1.25 page for color transparencies - limit is 5 pages per job - authentication is required to use printer - printer is unattended - help desk at x5001

- 需要驱动程序XYZ-Postscript-V2.4,这是URI-彩色透明胶片的成本为$1.25页-每个作业限制为5页-使用打印机需要身份验证-打印机无人值守-x5001帮助台

10.2. PRINTER DISCOVERY ACROSS ENTERPRISES
10.2. 跨企业的打印机发现

A user in Company A wants to find a public printer in a business partner's enterprise (Company B) on which to print a purchase order. The client is behind one corporate firewall and the directory service and the printer are behind a different corporate firewall. Drivers for all supported printers are available from the server they are associated with. A web page is provided for end user support for public printers.

公司A中的用户希望在业务合作伙伴的企业(公司B)中找到一台公共打印机,以便在其上打印采购订单。客户端位于一个公司防火墙后面,目录服务和打印机位于另一个公司防火墙后面。所有受支持打印机的驱动程序都可从与其关联的服务器获得。为公共打印机的最终用户支持提供了一个网页。

Client Company B Directory Service

客户公司B目录服务

      +---------------------------------------------------------- >
        Find a printer with these characteristics
        - prints black and white
        - is in El Segundo, building A
        - is a public printer
        
      +---------------------------------------------------------- >
        Find a printer with these characteristics
        - prints black and white
        - is in El Segundo, building A
        - is a public printer
        
      < ----------------------------------------------------------+
        Printer "Public-A"
        - prints black and white
        - prints Postscript
        - in El Segundo, room H-6, building A
        - driver ABC-Postscript-V1.3 required, here is URI
        - printer is public
        - help available at http://xerox/elSegundo/publicPrinters
        
      < ----------------------------------------------------------+
        Printer "Public-A"
        - prints black and white
        - prints Postscript
        - in El Segundo, room H-6, building A
        - driver ABC-Postscript-V1.3 required, here is URI
        - printer is public
        - help available at http://xerox/elSegundo/publicPrinters
        

Printer "Public-B" - prints black and white - prints PCL/5e - is in El Segundo, room J-10, building A - driver XYZ-PCL-V2.4 required, here is URI - printer is public - help available at http://xerox/elSegundo/publicPrinters

打印机“Public-B”-打印黑白-打印PCL/5e-位于A栋J-10室El Segundo-需要驱动程序XYZ-PCL-V2.4,这是URI-打印机是公用的-帮助可在http://xerox/elSegundo/publicPrinters

10.3. PRINTER DISCOVERY ON THE INTERNET -LOGICAL OPERATIONS
10.3. INTERNET上的打印机发现-逻辑操作

A student wants to print a paper on a printer at his neighborhood Ink-o's print shop. The report was written using Microsoft Word. The student is interested in the cost of printing since his budget is limited. Note the use of logical operators to find this information.

一名学生想在附近的Ink-o印刷店的打印机上打印一张纸。该报告是使用Microsoft Word编写的。这个学生对印刷费用感兴趣,因为他的预算有限。请注意使用逻辑运算符查找此信息。

Client Ink-o's Directory Service

客户端Ink-o的目录服务

      +---------------------------------------------------------- >
        Find a Printer with these characteristics
        - prints color or black and white
        - costs less than $.50 per page
        - tell me about resolution and marking technology
        
      +---------------------------------------------------------- >
        Find a Printer with these characteristics
        - prints color or black and white
        - costs less than $.50 per page
        - tell me about resolution and marking technology
        
      < ----------------------------------------------------------+
        Printer "Color-A"
        - prints color
        - 600 dpi laser printer
        - prints Postscript
        - driver ABC-Postscript-V1.3 required, here is URI
        - cost is $.50 per page for color
        - payment required prior to submitting print job
        - here is URI for more information on Ink-o's
        
      < ----------------------------------------------------------+
        Printer "Color-A"
        - prints color
        - 600 dpi laser printer
        - prints Postscript
        - driver ABC-Postscript-V1.3 required, here is URI
        - cost is $.50 per page for color
        - payment required prior to submitting print job
        - here is URI for more information on Ink-o's
        

Printer "Mono-B" - prints black and white - 300 dpi inkjet printer - prints Postscript - driver XYZ-Postscript-V2.4 required, here is URI - cost is $0.35 page for black and white - payment required prior to submitting print job - here is URI for more information on Ink-o's

打印机“Mono-B”-打印黑白-300 dpi喷墨打印机-打印Postscript-需要驱动程序XYZ-Postscript-V2.4,这是URI-黑白成本为0.35美元-提交打印作业前需要付款-这是URI,了解有关Ink-o的更多信息

10.4. PRINTER DISCOVERY ON THE INTERNET - AUTHENTICATION
10.4. INTERNET上的打印机发现-身份验证

An executive in her hotel room is finishing an important presentation on her laptop computer. She connects to a local print shop through the web to get a copy of her charts printed for tomorrow's presentation. She must find a print shop that is convenient to her hotel and can print color transparencies. She wants to be sure that the printer can be authenticated and can accept encrypted data.

酒店房间里的一位主管正在她的笔记本电脑上完成一个重要的演示。她通过网络连接到当地的一家印刷店,为明天的展示打印一份图表。她必须找到一家对酒店方便的印刷店,可以印刷彩色透明胶片。她希望确保打印机能够通过身份验证,并且能够接受加密数据。

Client SirZippy Directory Service

客户端SirZippy目录服务

      +---------------------------------------------------------- >
        Find a Printer with these characteristics
        - prints color transparencies
        - is in Boulder, Colorado
        - Printer can be authenticated
        - Printer supports encryption
        
      +---------------------------------------------------------- >
        Find a Printer with these characteristics
        - prints color transparencies
        - is in Boulder, Colorado
        - Printer can be authenticated
        - Printer supports encryption
        

Tell me when you are open for business

你什么时候开门营业告诉我

      < ----------------------------------------------------------+
        Printer "Color-A"
        - prints color transparencies
        - prints Postscript
        - driver ABC-Postscript-V1.3 required, here is URI
        - payment required prior to submitting print job
        - Printer can be authenticated
        - Data can be encrypted
        - Located at 1670 Pearl Street, Boulder, CO
        - This Branch is open 24 hours a day
        
      < ----------------------------------------------------------+
        Printer "Color-A"
        - prints color transparencies
        - prints Postscript
        - driver ABC-Postscript-V1.3 required, here is URI
        - payment required prior to submitting print job
        - Printer can be authenticated
        - Data can be encrypted
        - Located at 1670 Pearl Street, Boulder, CO
        - This Branch is open 24 hours a day
        

Printer "Color-B" - prints color transparencies - prints Postscript - driver ABC-Postscript-V1.3 required, here is URI - payment required prior to submitting print job - Printer can be authenticated - Data can be encrypted - Located at 1220 Arapahoe, Boulder, CO - This Branch is open from 9:00 am to 6:30 pm

打印机“Color-B”-打印彩色透明胶片-打印Postscript-需要驱动程序ABC-Postscript-V1.3,这是URI-提交打印作业之前需要付款-打印机可以认证-数据可以加密-位于科罗拉多州博尔德市阿拉帕霍1220号-该分行营业时间为上午9:00至下午6:30

10.5. DRIVER DOWNLOAD
10.5. 驱动程序下载

An end user in an enterprise wants to print a lengthy report on a newly installed high speed PostScript printer. Since she will likely use this printer often, she would like to download a driver and install it on her workstation. She is running Windows 95. Note: Driver download is not a V1.0 design goal.

企业中的最终用户希望在新安装的高速PostScript打印机上打印冗长的报告。因为她可能会经常使用这台打印机,所以她想下载一个驱动程序并安装在她的工作站上。她正在运行Windows95。注意:驱动程序下载不是V1.0的设计目标。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
        Tell me where to find print drivers for you
        
      +---------------------------------------------------------- >
        Tell me where to find print drivers for you
        
      < ----------------------------------------------------------+
        Driver install file is at
        http://www.ibm.com/drivers/NP12a/Win95
        
      < ----------------------------------------------------------+
        Driver install file is at
        http://www.ibm.com/drivers/NP12a/Win95
        
10.6. SUBMITTING A PRINT JOB AS A FILE
10.6. 将打印作业作为文件提交

An end-user wants to submit a print job. The print file already exists on his workstation. The client and printer are behind the same corporate firewall. The printer is available to anyone behind the firewall and no authorization or authentication is required. The data is pushed to the printer. The printer is capable of spooling the output. No errors occur.

最终用户希望提交打印作业。他的工作站上已存在打印文件。客户端和打印机位于同一个公司防火墙后面。防火墙后面的任何人都可以使用打印机,无需授权或身份验证。数据被推送到打印机。打印机能够对输出进行后台打印。没有错误发生。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - document is in Postscript format
        - here is the document to print
        
      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - document is in Postscript format
        - here is the document to print
        
      < ----------------------------------------------------------+
        Print job accepted and spooled
        - job id = #12345
        - current state of print job = spooled
        - submission time = 02/12/97, 15:35
        - printer state = printing
        
      < ----------------------------------------------------------+
        Print job accepted and spooled
        - job id = #12345
        - current state of print job = spooled
        - submission time = 02/12/97, 15:35
        - printer state = printing
        
10.7. SUBMITTING A PRINT JOB WITH TWO DOCUMENTS
10.7. 提交包含两个文档的打印作业

An end-user wants to submit a print job. The print file already exists on his workstation. The client and printer are behind the same corporate firewall. The printer is available to anyone behind the firewall and no authorization or authentication is required. The data is pushed to the printer. The job consists of two separate documents. The printer is capable of spooling the output. No errors occur.

最终用户希望提交打印作业。他的工作站上已存在打印文件。客户端和打印机位于同一个公司防火墙后面。防火墙后面的任何人都可以使用打印机,无需授权或身份验证。数据被推送到打印机。该作业由两个单独的文档组成。打印机能够对输出进行后台打印。没有错误发生。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        
      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        
      < ----------------------------------------------------------+
        
      < ----------------------------------------------------------+
        
        Print job accepted and spooled
        - job id = #12345
        - submission time = 02/12/97, 15:35
      +---------------------------------------------------------- >
        - here is the document to print
        
        Print job accepted and spooled
        - job id = #12345
        - submission time = 02/12/97, 15:35
      +---------------------------------------------------------- >
        - here is the document to print
        
      < ----------------------------------------------------------+
        - OK
        
      < ----------------------------------------------------------+
        - OK
        
      +---------------------------------------------------------- >
        - here is the document to print, it is the last document.
        
      +---------------------------------------------------------- >
        - here is the document to print, it is the last document.
        
      < ----------------------------------------------------------+
        - OK
        
      < ----------------------------------------------------------+
        - OK
        
10.8. SUBMITTING A PRINT JOB AS A FILE, PRINTING FAILS
10.8. 将打印作业作为文件提交时,打印失败

An end-user wants to submit a print job. The print file already exists on his workstation. The client and printer are behind the same corporate firewall. The printer is available to anyone behind the firewall and no authorization or authentication is required. The data is pushed to the printer. The printer is not capable of spooling the output so it begins printing while still receiving the file. An error occurs and the printer cannot complete printing (in this case the user requires A4 paper and that paper size is not available on the printer.)

最终用户希望提交打印作业。他的工作站上已存在打印文件。客户端和打印机位于同一个公司防火墙后面。防火墙后面的任何人都可以使用打印机,无需授权或身份验证。数据被推送到打印机。打印机无法对输出进行后台打印,因此在仍接收文件的情况下开始打印。出现错误,打印机无法完成打印(在这种情况下,用户需要A4纸张,打印机上没有该纸张尺寸。)

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - document is in Postscript format
        - here is the document to print
        
      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - document is in Postscript format
        - here is the document to print
        
      < ----------------------------------------------------------+
             Print job accepted
        
      < ----------------------------------------------------------+
             Print job accepted
        

- printing failed - current state of print job = canceled (A4 not available) - submission time = 02/12/97, 15:35 - printer state = ready

- 打印失败-打印作业的当前状态=已取消(A4不可用)-提交时间=1997年12月2日,15:35-打印机状态=就绪

10.9. SUBMITTING A PRINT JOB WITH AUTHENTICATION, PRIVACY AND PAYMENT
10.9. 提交带有身份验证、隐私和付款的打印作业

A traveling executive needs to print a set of transparencies for an important business meeting. The charts are in Lotus Freelance format on his notebook computer. He has located a SirZippy print shop near his hotel that will print color transparencies. Because the information on the charts is sensitive, he wants to be sure that his data is sent to the Printer in an encrypted format. He also wants to authenticate the Printer. The Printer also authenticates the user. Payment occurs across the Internet.

出差的主管需要为重要的商务会议打印一套透明胶片。这些图表在他的笔记本电脑上以Lotus Freelover格式显示。他在酒店附近找到了一家SirZippy印刷店,可以印刷彩色透明胶片。由于图表上的信息是敏感的,他希望确保他的数据以加密格式发送到打印机。他还想验证打印机的身份。打印机还对用户进行身份验证。付款通过互联网进行。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        
      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        

Mutual authentication and exchange of secret keys

相互认证和密钥交换

      +---------------------------------------------------------- >
        Here is a print job (encrypted)
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - tell me where to pick up output
        - document is in Postscript format
        - here is the document to print
        
      +---------------------------------------------------------- >
        Here is a print job (encrypted)
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - tell me where to pick up output
        - document is in Postscript format
        - here is the document to print
        
      < ----------------------------------------------------------+
        Print job accepted and spooled (encrypted)
        - job id = #12345
        - current state of print job = spooled
        - submission time = 02/12/97, 15:35
        - printer state = printing
        - payment required to proceed with job
        - pick up at 230 East Main after 3:30 pm today
        
      < ----------------------------------------------------------+
        Print job accepted and spooled (encrypted)
        - job id = #12345
        - current state of print job = spooled
        - submission time = 02/12/97, 15:35
        - printer state = printing
        - payment required to proceed with job
        - pick up at 230 East Main after 3:30 pm today
        
      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Payment transaction
        
      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Payment transaction
        
10.10. SUBMITTING A PRINT JOB WITH DECRYPTION ERROR
10.10. 提交带有解密错误的打印作业

A traveling executive needs to print a set of transparencies for an important business meeting. The charts are in Lotus Freelance format on his notebook computer. He has located a SirZippy print shop near his hotel that will print color transparencies. Because the information on the charts is sensitive, he wants to be sure that his data is sent to the printer in an encrypted format. He also wants to authenticate the printer. The printer also authenticates the user. Payment occurs across the Internet. An error occurs during decryption.

出差的主管需要为重要的商务会议打印一套透明胶片。这些图表在他的笔记本电脑上以Lotus Freelover格式显示。他在酒店附近找到了一家SirZippy印刷店,可以印刷彩色透明胶片。由于图表上的信息是敏感的,他希望确保他的数据以加密格式发送到打印机。他还想验证打印机的身份。打印机还对用户进行身份验证。付款通过互联网进行。解密过程中发生错误。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Mutual authentication and exchange of secret keys
        
      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Mutual authentication and exchange of secret keys
        
      +---------------------------------------------------------- >
        Here is a print job (encrypted)
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - tell me where to pick up output
        - document is in Postscript format
        - here is the document to print
        
      +---------------------------------------------------------- >
        Here is a print job (encrypted)
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - tell me where to pick up output
        - document is in Postscript format
        - here is the document to print
        
      < ----------------------------------------------------------+
        Print job accepted and spooled (encrypted)
        - job id = #12345
        - current state of print job = spooled
        - submission time = 02/12/97, 15:35
        - printer state = printing
        - payment required to proceed with job
        - pick up at 230 East Main after 3:30 pm today
        
      < ----------------------------------------------------------+
        Print job accepted and spooled (encrypted)
        - job id = #12345
        - current state of print job = spooled
        - submission time = 02/12/97, 15:35
        - printer state = printing
        - payment required to proceed with job
        - pick up at 230 East Main after 3:30 pm today
        
      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Payment transaction
        .
        .
        .
      < ----------------------------------------------------------+
        Asynchronous response (email in this case)
        - decryption failed on job #12345
        
      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Payment transaction
        .
        .
        .
      < ----------------------------------------------------------+
        Asynchronous response (email in this case)
        - decryption failed on job #12345
        

- no pages printed - current state of job = aborted

- 未打印页面-作业的当前状态=已中止

10.11. SUBMITTING A PRINT JOB WITH AUTHENTICATION
10.11. 提交具有身份验证的打印作业

An end-user wants to submit a print job. The print file already exists on his workstation. The client and printer are behind the same corporate firewall. The printer is available to anyone behind the firewall but authentication and authorization is required. Authorization takes place using the authenticated end-user's name. The data is pushed to the printer. The printer is capable of spooling the output.

最终用户希望提交打印作业。他的工作站上已存在打印文件。客户端和打印机位于同一个公司防火墙后面。防火墙后面的任何人都可以使用打印机,但需要身份验证和授权。使用经过身份验证的最终用户的名称进行授权。数据被推送到打印机。打印机能够对输出进行后台打印。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Authentication
        
      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Authentication
        

Note: An authentication failure would end the transaction at this point.

注意:身份验证失败将在此时结束事务。

      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - tell me where to pick up output
        - document is in Postscript format
        - here is the document to print
        
      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - tell me where to pick up output
        - document is in Postscript format
        - here is the document to print
        
      < ----------------------------------------------------------+
        Print job accepted and spooled
        - job id = #12345
        - current state of print job = spooled
        - submission time = 02/12/97, 15:35
        - printer state = printing
        
      < ----------------------------------------------------------+
        Print job accepted and spooled
        - job id = #12345
        - current state of print job = spooled
        - submission time = 02/12/97, 15:35
        - printer state = printing
        
10.12. SUBMITTING A PRINT JOB GENERATED DYNAMICALLY
10.12. 提交动态生成的打印作业

An end-user wants to submit a print job. The print data is generated dynamically and is being transmitted by a printer driver on the client workstation as available. The client and printer are behind the same corporate firewall. The printer is available to anyone behind the firewall and no authentication and authorization is required. The data is pushed to the printer. The printer is capable of spooling the output. No error occurs.

最终用户希望提交打印作业。打印数据是动态生成的,并由客户端工作站上的打印机驱动程序传输(如可用)。客户端和打印机位于同一个公司防火墙后面。防火墙后面的任何人都可以使用打印机,无需身份验证和授权。数据被推送到打印机。打印机能够对输出进行后台打印。没有错误发生。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - document is in Postscript format
        - here is the print job
        
      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - document is in Postscript format
        - here is the print job
        
      < ----------------------------------------------------------+
        Print data accepted and spooling started
        - job id = #12345
        - current job state = spooled
        - submission time = 02/12/97, 15:35
        - printer state = printing
        
      < ----------------------------------------------------------+
        Print data accepted and spooling started
        - job id = #12345
        - current job state = spooled
        - submission time = 02/12/97, 15:35
        - printer state = printing
        
10.13. SUBMITTING A PRINT JOB WITH A PRINTER JAM - CANCELED
10.13. 提交打印机堵塞的打印作业-已取消

An end-user wants to submit a print job. The print data is generated dynamically and is being transmitted by a printer driver on the client workstation as available. The client and printer are behind the same corporate firewall. The printer is available to anyone behind the firewall and no authentication and authorization is required. The data is pushed to the printer. The printer is not capable of spooling the output. The printer jams notifies the user and the user chooses to cancel the job.

最终用户希望提交打印作业。打印数据是动态生成的,并由客户端工作站上的打印机驱动程序传输(如可用)。客户端和打印机位于同一个公司防火墙后面。防火墙后面的任何人都可以使用打印机,无需身份验证和授权。数据被推送到打印机。打印机无法对输出进行后台打印。打印机堵塞通知用户,用户选择取消作业。

   Client                                            IPP Printer
      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        
   Client                                            IPP Printer
      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        

- return status of the printer in response - document is in Postscript format - here is the document to print

- 响应打印机的返回状态-文档为Postscript格式-这是要打印的文档

      < ----------------------------------------------------------+
        Print data accepted and printing started
        - job id = #12345
        
      < ----------------------------------------------------------+
        Print data accepted and printing started
        - job id = #12345
        
      +---------------------------------------------------------- >
        - What is the status of print job #12345?
        
      +---------------------------------------------------------- >
        - What is the status of print job #12345?
        
      < --------------------------------------------------------- +
        - Job #12345 accepted but printer jammed, cannot continue
        
      < --------------------------------------------------------- +
        - Job #12345 accepted but printer jammed, cannot continue
        
      +---------------------------------------------------------- >
        - Cancel job #12345
        
      +---------------------------------------------------------- >
        - Cancel job #12345
        

* Printer flushes remaining data < ----------------------------------------------------------+ Print job terminated - current job state = canceled - submission time = 02/12/97, 15:35 - printer state = jammed

* 打印机刷新剩余数据<--------------------------------------+打印作业已终止-当前作业状态=已取消-提交时间=1997年12月2日,15:35-打印机状态=卡住

10.14. SUBMITTING A PRINT JOB WITH A PRINTER JAM - RECOVERED
10.14. 提交打印机堵塞的打印作业-已恢复

An end-user wants to submit a print job. The print data is generated dynamically and is being transmitted by a printer driver on the client workstation as available. The client and printer are behind the same corporate firewall. The printer is available to anyone behind the firewall and no authentication and authorization is required. The data is pushed to the printer. The printer is not capable of spooling the output. The printer jams, notifies the user and the user clears the jam and elects to continue.

最终用户希望提交打印作业。打印数据是动态生成的,并由客户端工作站上的打印机驱动程序传输(如可用)。客户端和打印机位于同一个公司防火墙后面。防火墙后面的任何人都可以使用打印机,无需身份验证和授权。数据被推送到打印机。打印机无法对输出进行后台打印。打印机堵塞,通知用户,用户清除堵塞并选择继续。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - document is in Postscript format
        - here is the document to print
        
      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        - document is in Postscript format
        - here is the document to print
        
      < ----------------------------------------------------------+
        
      < ----------------------------------------------------------+
        
        Print data accepted and printing started
        - job id = #12345
        
        Print data accepted and printing started
        - job id = #12345
        
      < --------------------------------------------------------- +
        - Notification: printer jammed, cannot continue
        
      < --------------------------------------------------------- +
        - Notification: printer jammed, cannot continue
        

* Jam is clear by human intervention, printing continues

* 通过人工干预,堵塞已清除,打印仍在继续

      +---------------------------------------------------------- >
         Here is the last part of the document to print
        
      +---------------------------------------------------------- >
         Here is the last part of the document to print
        
      < ----------------------------------------------------------+
         Print job received
        - current job state = printing
        - submission time = 02/12/97, 15:35
        - printer state = printing
        
      < ----------------------------------------------------------+
         Print job received
        - current job state = printing
        - submission time = 02/12/97, 15:35
        - printer state = printing
        
10.15. SUBMITTING A PRINT JOB WITH SERVER PULL
10.15. 使用服务器请求提交打印作业

An end-user wants to submit a print job. The print data is in a file and is publicly available. It is pulled by the printer. The client and printer are behind the same corporate firewall. The printer is available to anyone behind the firewall and no authentication and authorization is required. The printer is capable of spooling the output. Printing may start before the entire job has been pulled.

最终用户希望提交打印作业。打印数据位于一个文件中,可公开获取。它是由打印机拖动的。客户端和打印机位于同一个公司防火墙后面。防火墙后面的任何人都可以使用打印机,无需身份验证和授权。打印机能够对输出进行后台打印。打印可能在整个作业提取之前开始。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
        Here is a print job
        
      +---------------------------------------------------------- >
        Here is a print job
        

- job name = MyJob - notify me by email when done printing - print on iso-a4-white paper - print on both sides of the paper - return status of the printer in response - here is a reference to the data to be printed

- job name=MyJob-打印完成后通过电子邮件通知我-打印在iso-a4-白纸上-打印在纸张的两面-响应打印机的返回状态-这里是要打印的数据的参考

      < ----------------------------------------------------------+
        Print data accepted and printing started
        - job id = #12345
        - current state of job = spooled
        - submission time = 02/12/97, 13:15
        - printer state = printing
        
      < ----------------------------------------------------------+
        Print data accepted and printing started
        - job id = #12345
        - current state of job = spooled
        - submission time = 02/12/97, 13:15
        - printer state = printing
        
        .
        .
       < ----------------------------------------------------------+
        
        .
        .
       < ----------------------------------------------------------+
        

Get the file to be printed

获取要打印的文件

       +---------------------------------------------------------- >
        Here it is
        
       +---------------------------------------------------------- >
        Here it is
        

Note: Failure to find the file, would end the transaction with an error at this point and an asynchronous notification would be send to the Client.

注意:如果找不到文件,此时将以错误结束事务,并向客户端发送异步通知。

       < ----------------------------------------------------------+
         Data received
        
       < ----------------------------------------------------------+
         Data received
        
10.16. SUBMITTING A PRINT JOB WITH REFERENCED RESOURCES
10.16. 提交包含引用资源的打印作业

An end-user wants to submit a print job. Part of the print data is on a file on the user's workstation. It is pushed by the client, but the print job requires some resource not included in the print file. The client and printer are behind the same corporate firewall. The printer is available to anyone behind the firewall and no authentication and authorization is required. The printer is capable of spooling the output. No errors occur.

最终用户希望提交打印作业。部分打印数据位于用户工作站上的文件中。它由客户端推送,但打印作业需要打印文件中未包含的某些资源。客户端和打印机位于同一个公司防火墙后面。防火墙后面的任何人都可以使用打印机,无需身份验证和授权。打印机能够对输出进行后台打印。没有错误发生。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        
      +---------------------------------------------------------- >
        Here is a print job
        - job name = MyJob
        - notify me by email when done printing
        - print on iso-a4-white paper
        - print on both sides of the paper
        - return status of the printer in response
        
      < ----------------------------------------------------------+
        Print job accepted and spooled
        - job id = #12345
        - submission time = 02/12/97, 15:35
        
      < ----------------------------------------------------------+
        Print job accepted and spooled
        - job id = #12345
        - submission time = 02/12/97, 15:35
        
      +---------------------------------------------------------- >
        - here is the document to print
        
      +---------------------------------------------------------- >
        - here is the document to print
        
      < ----------------------------------------------------------+
        - OK
        
      < ----------------------------------------------------------+
        - OK
        
      +---------------------------------------------------------- >
        - here is the URI to print, it is the last document.
        
      +---------------------------------------------------------- >
        - here is the URI to print, it is the last document.
        
      < ----------------------------------------------------------+
        - OK
        
      < ----------------------------------------------------------+
        - OK
        
       < ----------------------------------------------------------+
         Get the external resource
        
       < ----------------------------------------------------------+
         Get the external resource
        
       +---------------------------------------------------------- >
         Here it is
        
       +---------------------------------------------------------- >
         Here it is
        
10.17. GETTING CAPABILITIES
10.17. 获取能力
10.17.1. Submission Attributes
10.17.1. 提交属性

An end-user wants to get the production and scheduling attributes that are supported or required when submitting jobs to this printer. The client will use these attributes when forming the subsequent print request.

最终用户希望获得向此打印机提交作业时支持或需要的生产和调度属性。客户端在形成后续打印请求时将使用这些属性。

   Client                                        IPP Printer
      +---------------------------------------------------------- >
        I'm going to submit a Postscript job
        give me your job submission attributes
        
   Client                                        IPP Printer
      +---------------------------------------------------------- >
        I'm going to submit a Postscript job
        give me your job submission attributes
        
      < ----------------------------------------------------------+
        Postscript production attributes for this Printer are:
        - medium-select = us-letter-white, us-legal-white
           - default is us-letter-white
           -   copies = 1,2,3,4,5
           - default is 1
                - print-quality = draft, normal, high
           - default is draft
                - sides = 1-sided, 2-sided-long-edge
           - default is 2-sided-long-edge
        - Job scheduling attributes for this Printer are:
             - job-priority = 1,2,3
           - default = 3
        
      < ----------------------------------------------------------+
        Postscript production attributes for this Printer are:
        - medium-select = us-letter-white, us-legal-white
           - default is us-letter-white
           -   copies = 1,2,3,4,5
           - default is 1
                - print-quality = draft, normal, high
           - default is draft
                - sides = 1-sided, 2-sided-long-edge
           - default is 2-sided-long-edge
        - Job scheduling attributes for this Printer are:
             - job-priority = 1,2,3
           - default = 3
        
10.17.2. Printer Capabilities
10.17.2. 打印机功能

An end-user wants to determine the resolution, marking technology, and PDLs supported by the printer.

最终用户需要确定打印机支持的分辨率、标记技术和PDL。

   Client                                        IPP Printer
      +---------------------------------------------------------- >
        Please tell me the
        - resolution of the printer
        - the marking technology of the printer
        - PDLs supported
      < ----------------------------------------------------------+
        Printer resolution  = 600 dpi
        Marking Technology = laser
        
   Client                                        IPP Printer
      +---------------------------------------------------------- >
        Please tell me the
        - resolution of the printer
        - the marking technology of the printer
        - PDLs supported
      < ----------------------------------------------------------+
        Printer resolution  = 600 dpi
        Marking Technology = laser
        

PDLs supported = Postscript level 2, PCL/6

支持的PDLs=Postscript 2级,PCL/6

10.18. GETTING STATUS
10.18. 获得地位
10.18.1. Printer State/Status
10.18.1. 打印机状态/状态

An end-user wants to determine the state or status of the printer.

最终用户希望确定打印机的状态。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
        What is the state of the printer?
        
      +---------------------------------------------------------- >
        What is the state of the printer?
        
      < ----------------------------------------------------------+
        Printer state = out-of-paper
        
      < ----------------------------------------------------------+
        Printer state = out-of-paper
        
10.18.2. Job Status
10.18.2. 工作状态

An end user wants to get the status of a job he has submitted.

最终用户希望获取他已提交的作业的状态。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
        Please tell me the status of job #12345
        
      +---------------------------------------------------------- >
        Please tell me the status of job #12345
        
      < ----------------------------------------------------------+
        Job #12345 is queued
        it is number 3 in the queue
        printer state = printing
        
      < ----------------------------------------------------------+
        Job #12345 is queued
        it is number 3 in the queue
        printer state = printing
        
10.18.3. Status of All My Jobs
10.18.3. 我所有工作的状况

An end user wants to get a list of all of the jobs he has submitted to this Printer.

最终用户希望获得已提交到此打印机的所有作业的列表。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
        Please tell me the status of my jobs
        
      +---------------------------------------------------------- >
        Please tell me the status of my jobs
        
      < ----------------------------------------------------------+
        Job #00012 is complete
        Printed at 12:35 on 01/23/97
        
      < ----------------------------------------------------------+
        Job #00012 is complete
        Printed at 12:35 on 01/23/97
        

Job #09876 is printing

作业#09876正在打印

Job #12345 is queued it is number 3 in the queue

作业#12345已排队,它是队列中的第3个

Job #34567 is queued it is number 7 in the queue

作业34567已排队,它是队列中的第7个

10.19. ASYNCHRONOUS NOTIFICATION
10.19. 异步通知
10.19.1. Job Completion
10.19.1. 工作完成

An end-user wants to get notification of events that affect his print jobs. Print job completes without error.

最终用户希望获得影响其打印作业的事件通知。打印作业无误完成。

Client IPP Printer

客户端IPP打印机

      < ----------------------------------------------------------+
        Print job #123 completed
        
      < ----------------------------------------------------------+
        Print job #123 completed
        
10.19.2. Job Complete with Data
10.19.2. 包含数据的作业

An end-user wants to get notification of events that affect his print jobs. Print job completes, users asked for all end of job information.

最终用户希望获得影响其打印作业的事件通知。打印作业完成后,用户要求提供所有作业结束信息。

Client IPP Printer

客户端IPP打印机

      < ----------------------------------------------------------+
        Print job #123 completed
        - total pages printed = 15
        - number of copies printed = 3
        - total cost to print = $7.45
        - pick up copies in room H-6, building 005
        
      < ----------------------------------------------------------+
        Print job #123 completed
        - total pages printed = 15
        - number of copies printed = 3
        - total cost to print = $7.45
        - pick up copies in room H-6, building 005
        
10.19.3. Print Job Fails
10.19.3. 打印作业失败

An end-user wants to get notification of events that affect his print jobs. Print job fails. Printer is unattended.

最终用户希望获得影响其打印作业的事件通知。打印作业失败。打印机无人值守。

Client IPP Printer

客户端IPP打印机

      < ----------------------------------------------------------+
        Print job #123 failed
        - total pages printed = 15
        - number of pages submitted = 25
        - printer-state = jammed
        
      < ----------------------------------------------------------+
        Print job #123 failed
        - total pages printed = 15
        - number of pages submitted = 25
        - printer-state = jammed
        
10.20. CANCEL A JOB
10.20. 取消工作

The end-user submits a print job and later decides to cancel it.

最终用户提交打印作业,然后决定取消。

Client IPP Printer

客户端IPP打印机

      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Authentication.
        
      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Authentication.
        
      +---------------------------------------------------------- >
        Cancel job #1234
        
      +---------------------------------------------------------- >
        Cancel job #1234
        
      < ----------------------------------------------------------+
        Job #1234 Canceled
        
      < ----------------------------------------------------------+
        Job #1234 Canceled
        
10.21. END TO END SCENARIO - WITHIN AN ENTERPRISE
10.21. 端到端场景-在企业内

An office worker prints on shared departmental printers. All printers in the office are public, that is, no authentication or authorization is required. Printers are protected from external access by a firewall. No billing or accounting is required. Most printing is done from desktop applications. A help desk is provided for printing problems. Standard operating systems and applications are used. Drivers are available, but are installed manually by support personnel. This scenario assumes that drivers have been installed and that drivers are not IPP aware, that is, they cannot communicate across an IPP connection to obtain status and capabilities. IPP printers appear in application pull-down menus. Printer configuration data is hard wired into the driver.

办公室工作人员在共享的部门打印机上打印。办公室中的所有打印机都是公用的,也就是说,不需要身份验证或授权。防火墙保护打印机免受外部访问。无需计费或记帐。大多数打印都是通过桌面应用程序完成的。为解决打印问题提供了一个帮助台。使用标准操作系统和应用程序。驱动程序可用,但由支持人员手动安装。此场景假定已安装驱动程序,并且驱动程序不支持IPP,即,它们无法通过IPP连接进行通信以获取状态和功能。IPP打印机显示在应用程序下拉菜单中。打印机配置数据硬连接到驱动程序中。

End-user selects print from the application pull down menu. An IPP printer is selected from the list of Printers offered

最终用户从应用程序下拉菜单中选择打印。从提供的打印机列表中选择IPP打印机

The driver puts up a dialogue with hard-wired set of options for this printer. The end-user makes choices and submits job.

驱动程序将与此打印机的一组硬接线选项进行对话。最终用户做出选择并提交作业。

   Client                                        IPP Printer
      +---------------------------------------------------------- >
        Here is a print job
        - job-name = memo-to-boss
        - notify me by email when job is complete
        - print on us-letter-white paper
        - print 1 copy
        - print at normal quality
        - print on 1 side
        
   Client                                        IPP Printer
      +---------------------------------------------------------- >
        Here is a print job
        - job-name = memo-to-boss
        - notify me by email when job is complete
        - print on us-letter-white paper
        - print 1 copy
        - print at normal quality
        - print on 1 side
        

- give me the state of the printer in response

- 给我打印机的状态作为响应

The driver generates the print data and passes it to the IPP driver a piece at a time as it is generated.

驱动程序生成打印数据,并在生成时一次将其传递给IPP驱动程序。

      +---------------------------------------------------------- >
        Here is the print data
        
      +---------------------------------------------------------- >
        Here is the print data
        
      < ----------------------------------------------------------+
        Print data received, file is spooled
        - printer state = printing
        - time submitted = 2/12/97, 15:35
        - current job state = spooled
        
      < ----------------------------------------------------------+
        Print data received, file is spooled
        - printer state = printing
        - time submitted = 2/12/97, 15:35
        - current job state = spooled
        

Client adds this job to list of current jobs. List of jobs and state of each is available on a pull-down menu on the client.

客户端将此作业添加到当前作业列表中。作业列表和每个作业的状态在客户端的下拉菜单上可用。

End-user selects job #1234 from list and clicks on it to see its status.

最终用户从列表中选择作业#1234并单击它以查看其状态。

      +---------------------------------------------------------- >
        Give me the state of job #1234
        and the state of the Printer
        
      +---------------------------------------------------------- >
        Give me the state of job #1234
        and the state of the Printer
        
      < ----------------------------------------------------------+
        Job #1234 state = spooled
        - it is number 3 in the queue
        - printer state = printing
        
      < ----------------------------------------------------------+
        Job #1234 state = spooled
        - it is number 3 in the queue
        - printer state = printing
        

The job completes without error

这项工作顺利完成

      < ----------------------------------------------------------+
        Job #1234 completed
        12 of 12 pages printed
        
      < ----------------------------------------------------------+
        Job #1234 completed
        12 of 12 pages printed
        
10.22. END TO END SCENARIO - ACROSS ENTERPRISES
10.22. 端到端场景-跨企业

An office worker in Company A needs to print an office document on a "public" printer at Company B, a business partner. Both companies have corporate firewalls so the print request must flow out of A's firewall and into B's firewall. The office worker can look at public printers in Company B's directory service. The document is generated by a desktop application. Since the printer is "public" no authentication or authorization is required. A driver is downloaded. The driver is IPP aware, that is, it can communicate dynamically through the IPP protocol layer to obtain information about the printer.

A公司的一名办公室工作人员需要在B公司(业务合作伙伴)的“公共”打印机上打印办公室文档。两家公司都有公司防火墙,所以打印请求必须从A的防火墙流出,进入B的防火墙。办公室工作人员可以查看B公司目录服务中的公共打印机。该文档由桌面应用程序生成。由于打印机是“公共”的,因此不需要身份验证或授权。已下载驱动程序。驱动程序支持IPP,也就是说,它可以通过IPP协议层进行动态通信,以获取有关打印机的信息。

Client Company B's Directory Service

客户公司B的目录服务

End user connects to B's Directory service

最终用户连接到B的目录服务

      +---------------------------------------------------------- >
        Find a Printer with these characteristics
        - public (no authorization or authentication required)
        - is in Lexington, building 004
        - prints black and white
        
      +---------------------------------------------------------- >
        Find a Printer with these characteristics
        - public (no authorization or authentication required)
        - is in Lexington, building 004
        - prints black and white
        
      < ----------------------------------------------------------+
        Printer "Public-A"
        - http://www.lexmark.com/pubprinter/a
        
      < ----------------------------------------------------------+
        Printer "Public-A"
        - http://www.lexmark.com/pubprinter/a
        
        Printer "Public-B"
        - http://www.lexmark.com/pubprinter/b
        
        Printer "Public-B"
        - http://www.lexmark.com/pubprinter/b
        

End user selects Public-A

最终用户选择Public-A

Client Public-A

客户公共-A

      +---------------------------------------------------------- >
        Where can I find a driver for you?
        
      +---------------------------------------------------------- >
        Where can I find a driver for you?
        
      < ----------------------------------------------------------+
        Drivers at http://www.lexmark.com/pubprinters/a/os245
        
      < ----------------------------------------------------------+
        Drivers at http://www.lexmark.com/pubprinters/a/os245
        

End user gets driver and installs it on his PC.

最终用户获取驱动程序并将其安装在PC上。

End-user selects print from the application pull down menu. "Public-A" is selected from the list of Printers offered

最终用户从应用程序下拉菜单中选择打印。从提供的打印机列表中选择“Public-A”

      +---------------------------------------------------------- >
        I'm going to submit a print job
        give me your job submission attributes
        
      +---------------------------------------------------------- >
        I'm going to submit a print job
        give me your job submission attributes
        
      < ----------------------------------------------------------+
        
      < ----------------------------------------------------------+
        
        Production attributes for this Printer are:
        - medium-select = us-letter-white, us-legal-white
           - default is us-letter-white
           -   copies = 1,2,3,4,5
           - default is 1
                - print-quality = draft, normal, high
           - default is draft
                - sides = 1-sided, 2-sided-long-edge
           - default is 2-sided-long-edge
        
        Production attributes for this Printer are:
        - medium-select = us-letter-white, us-legal-white
           - default is us-letter-white
           -   copies = 1,2,3,4,5
           - default is 1
                - print-quality = draft, normal, high
           - default is draft
                - sides = 1-sided, 2-sided-long-edge
           - default is 2-sided-long-edge
        

Job scheduling attributes for this Printer are: - job-priority = 1,2,3 default = 3

此打印机的作业计划属性为:-作业优先级=1,2,3默认值=3

Driver puts up dialogue with available options and fills in the defaults.

驱动程序显示带有可用选项的对话,并填写默认值。

End-user makes choices and submits job

最终用户做出选择并提交作业

      +---------------------------------------------------------- >
        Here is a print job
        - job-name = memo-to-Don-Wright
        - notify me by email when job is complete
        - print on us-letter-white paper
        - print 1 copy
        - print at normal quality
        - print on 1 side
        - give me the state of the printer in response
        
      +---------------------------------------------------------- >
        Here is a print job
        - job-name = memo-to-Don-Wright
        - notify me by email when job is complete
        - print on us-letter-white paper
        - print 1 copy
        - print at normal quality
        - print on 1 side
        - give me the state of the printer in response
        

The driver generates the print data and passes it to the IPP driver a piece at a time.

驱动程序生成打印数据,并将其一次一张地传递给IPP驱动程序。

      +---------------------------------------------------------- >
        Here is the print data
        
      +---------------------------------------------------------- >
        Here is the print data
        
      < ----------------------------------------------------------+
        Print data received, and spooling started
        print job id = #1234
        
      < ----------------------------------------------------------+
        Print data received, and spooling started
        print job id = #1234
        

Print data received, file is spooled

收到打印数据,文件被假脱机

- printer state = printing - time submitted = 2/12/97, 15:35 - current job state = spooled

- 打印机状态=打印-提交时间=1997年12月2日,15:35-当前作业状态=后台打印

Client adds this job to list of current jobs. List of jobs and state of each is available on a pull-down menu on the client.

客户端将此作业添加到当前作业列表中。作业列表和每个作业的状态在客户端的下拉菜单上可用。

End-user selects job #1234 from list and clicks on it to see its status.

最终用户从列表中选择作业#1234并单击它以查看其状态。

      +---------------------------------------------------------- >
        Give me the state of job #1234
        and the state of the Printer
        
      +---------------------------------------------------------- >
        Give me the state of job #1234
        and the state of the Printer
        
      < ----------------------------------------------------------+
        Job #1234 state = spooled
        
      < ----------------------------------------------------------+
        Job #1234 state = spooled
        

- it is number 3 in the queue - printer state = printing

- 它是队列中的第3个-打印机状态=打印

       * The job completes without error
      < ----------------------------------------------------------+
        Job #1234 completed
        12 of 12 pages printed
        
       * The job completes without error
      < ----------------------------------------------------------+
        Job #1234 completed
        12 of 12 pages printed
        
10.23. END TO END SCENARIO - ON THE INTERNET
10.23. 端到端场景-在INTERNET上

An executive in her hotel room is finishing an important presentation on her laptop computer. She connects to a local print shop through the web to get a copy of her charts printed for tomorrow's presentation. She must find a print shop that is convenient and can print color transparencies. She must download and temporarily install a driver in order to generate the PDL required by the print shop. Mutual authentication is required by the print shop and payment must be made in advance. The job is encrypted on the wire to prevent eavesdropping.

酒店房间里的一位主管正在她的笔记本电脑上完成一个重要的演示。她通过网络连接到当地的一家印刷店,为明天的展示打印一份图表。她必须找到一家方便的印刷店,可以印刷彩色透明胶片。她必须下载并临时安装驱动程序,以生成打印车间所需的PDL。印刷店要求相互认证,必须提前付款。作业在线路上加密以防止窃听。

End-user completes presentation. She goes to the web and connects to the SirZippy home page.

最终用户完成演示。她上网并连接到SirZippy主页。

      Client                      SirZippy Directory Service
      +---------------------------------------------------------- >
        
      Client                      SirZippy Directory Service
      +---------------------------------------------------------- >
        

Find me a printer with these characteristics - Near Market Street in San Jose - Prints color transparencies - drivers can be downloaded - supports privacy (encryption) -

给我找一台具有这些特性的打印机-靠近圣何塞市场街-打印彩色透明胶片-可以下载驱动程序-支持隐私(加密)-

Available Printers matching these characteristics are looked up in the Directory Service

在目录服务中查找与这些特征匹配的可用打印机

      < ----------------------------------------------------------+
        
      < ----------------------------------------------------------+
        

Printer "Color-A" - located at 123 First Street in San Jose - URI is http://www.SirZippy.com/FirstStreet/Color-A - prints color transparencies - 600 dpi laser - driver ABC-Postscript-V1.3 available at this URI - cost = $.75 per page - authentication required to use printer - payment required prior to printing

打印机“Color-A”-位于圣何塞第一街123号-URI为http://www.SirZippy.com/FirstStreet/Color-A -打印彩色透明胶片-600 dpi激光-驱动程序ABC-Postscript-V1.3在此URI下提供-成本=.75美元/页-使用打印机需要验证-打印前需要付款

Printer "Color-B" - located at 67 San Carlos Street, San Jose - URI is http://www.SirZippy.com/SanCarlos/Color-B - prints color transparencies - 1200 dpi laser - driver XYZ-PostScript-V4.3 available at this URI - cost = $1.25 per page - authentication required to use printer - payment required prior to printing - more information at this URI

打印机“Color-B”-位于圣何塞圣卡洛斯街67号-URI为http://www.SirZippy.com/SanCarlos/Color-B -打印彩色透明胶片-1200 dpi激光-驱动程序XYZ-PostScript-V4.3在此URI上提供-成本=每页1.25美元-使用打印机需要验证-打印前需要付款-此URI上的更多信息

The user decides to use the first printer because it is closer. She connects to the URI given to get a driver.

用户决定使用第一台打印机,因为它比较近。她连接到给定的URI以获取驱动程序。

Client Driver URI

客户端驱动程序URI

      +---------------------------------------------------------- >
        I need a driver for "Color-A"
        
      +---------------------------------------------------------- >
        I need a driver for "Color-A"
        
      < ----------------------------------------------------------+
         Driver installer is at http://www.xerox.com/prtdrvrs
        
      < ----------------------------------------------------------+
         Driver installer is at http://www.xerox.com/prtdrvrs
        

Driver is installed

已安装驱动程序

User connects to "Color-A"

用户连接到“颜色A”

Client IPP Printer "Color-A"

客户端IPP打印机“颜色-A”

      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Mutual authentication and exchange of secret keys
        
      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Mutual authentication and exchange of secret keys
        
      +---------------------------------------------------------- >
        I'm going to submit a print job
        give me your job submission attributes
        
      +---------------------------------------------------------- >
        I'm going to submit a print job
        give me your job submission attributes
        
      < ----------------------------------------------------------+
        Production attributes for this Printer are:
        - medium-select = us-letter-white, us-legal-white
             - default is us-letter-white
        - copies = 1,2,3,4,5
             - default is 1
        - print-quality = draft, normal, high
             - default is draft
        - sides = 1-sided, 2-sided-long-edge
             - default is 2-sided-long-edge
        
      < ----------------------------------------------------------+
        Production attributes for this Printer are:
        - medium-select = us-letter-white, us-legal-white
             - default is us-letter-white
        - copies = 1,2,3,4,5
             - default is 1
        - print-quality = draft, normal, high
             - default is draft
        - sides = 1-sided, 2-sided-long-edge
             - default is 2-sided-long-edge
        

Job scheduling attributes for this Printer are: - job-priority = 1,2,3 default = 3

此打印机的作业计划属性为:-作业优先级=1,2,3默认值=3

Driver puts up dialogue with available options and fills in the defaults.

驱动程序显示带有可用选项的对话,并填写默认值。

End-user makes choices and submits job

最终用户做出选择并提交作业

      +---------------------------------------------------------- >
         Here is a print job
        
      +---------------------------------------------------------- >
         Here is a print job
        

- job-name = presentation - notify me by email when job is complete - print on us-letter-transparency - print 1 copy - print at high quality - print by 9:00 am tomorrow morning - give me the state of the printer in response

- 作业名称=演示文稿-作业完成时通过电子邮件通知我-打印在美国信函上透明度-打印1份-打印质量高-明天上午9:00打印-给我打印机的状态作为答复

The driver generates the print data and passes it to the IPP driver a piece at a time.

驱动程序生成打印数据,并将其一次一张地传递给IPP驱动程序。

      +---------------------------------------------------------- >
       Here is the print data
        
      +---------------------------------------------------------- >
       Here is the print data
        
       < ---------------------------------------------------------+
       Print data received, and spooling started
       print job id = #1234
        
       < ---------------------------------------------------------+
       Print data received, and spooling started
       print job id = #1234
        
       Print data received, file is spooled
        - printer state = printing
        - time submitted = 2/12/97, 15:35
        - current job state = held, waiting for payment
        
       Print data received, file is spooled
        - printer state = printing
        - time submitted = 2/12/97, 15:35
        - current job state = held, waiting for payment
        
      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Payment transaction
        
      +---------------------------------------------------------- >
      < ----------------------------------------------------------+
        Payment transaction
        
      < ----------------------------------------------------------+
        Job is scheduled to print, pick up after 9:00am tomorrow
        Thank you for using SirZippy
        
      < ----------------------------------------------------------+
        Job is scheduled to print, pick up after 9:00am tomorrow
        Thank you for using SirZippy
        
11. Full Copyright Statement
11. 完整版权声明

Copyright (C) The Internet Society (1999). All Rights Reserved.

版权所有(C)互联网协会(1999年)。版权所有。

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English.

本文件及其译本可复制并提供给他人,对其进行评论或解释或协助其实施的衍生作品可全部或部分编制、复制、出版和分发,不受任何限制,前提是上述版权声明和本段包含在所有此类副本和衍生作品中。但是,不得以任何方式修改本文件本身,例如删除版权通知或对互联网协会或其他互联网组织的引用,除非出于制定互联网标准的需要,在这种情况下,必须遵循互联网标准过程中定义的版权程序,或根据需要将其翻译成英语以外的其他语言。

The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns.

上述授予的有限许可是永久性的,互联网协会或其继承人或受让人不会撤销。

This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

本文件和其中包含的信息是按“原样”提供的,互联网协会和互联网工程任务组否认所有明示或暗示的保证,包括但不限于任何保证,即使用本文中的信息不会侵犯任何权利,或对适销性或特定用途适用性的任何默示保证。