Rationale for the Structure of the Model and Protocol for the Internet Printing Protocol

Sandra Zilles1999

TL;DR

This paper outlines the design rationale behind the Internet Printing Protocol (IPP), an application-level protocol for distributed printing over the internet. It details the architectural decisions, model structure, and transmission mechanisms chosen to create a robust and extensible printing solution.

What Problem Does This Paper Address?

The paper addresses the need for a standardized, internet-friendly protocol for distributed printing. Existing printing mechanisms were often proprietary, complex, and not well-suited for the open and interconnected nature of the internet. The authors aimed to create a protocol that could handle various printing scenarios, from simple print jobs to complex document management, while being extensible and secure. This involved defining a clear model for printing operations and choosing appropriate transport mechanisms.

Methods

The core of the IPP architecture is built around three key components:

  • Model and Semantics: A hierarchical, abstract model representing printers and print jobs. This model is independent of encoding and transport, allowing for flexibility in implementation. It defines objects like Printer and Job, along with their attributes and operations.
  • Encoding and Transport: A formal mapping of the abstract model onto HTTP/1.1. This involves defining a new media type (application/ipp) and using HTTP POST for data transmission. This choice leverages the widespread adoption and existing infrastructure of HTTP.
  • Directory Schema: A standard way to describe printer attributes, facilitating the discovery of suitable printers on the network.

The protocol is heavily influenced by the ISO/IEC 10175 "Document Printing Application (DPA)" standard, but focuses specifically on end-user functionality for IPP version 1.0.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Separation of Concerns: The clear separation between the abstract Model, its Encoding, and the Transport mechanism is a key design principle. This allows for future evolution of encoding or transport without breaking the core printing model.
  • Leveraging Existing Infrastructure: The decision to base IPP on HTTP/1.1 is a significant insight. It allows IPP to benefit from HTTP's widespread deployment, security features (like SSL/TLS), and existing tooling, reducing the barrier to adoption.
  • Extensibility through HTTP: Using HTTP/1.1's features like persistent connections, chunking, and accept headers provides built-in extensibility and efficiency for IPP.
  • Dual Job Identification: Allowing jobs to be identified by both a URI and a numeric Job ID provides flexibility for different client implementations and future scalability.
  • Focus on End-User Functionality: For version 1.0, the protocol deliberately scopes out administrative and operator features to simplify initial adoption and focus on core printing tasks.

Key Results

This paper is primarily a rationale document, explaining the why behind the IPP design. It doesn't present empirical results or quantitative performance metrics. However, it lays the groundwork for a protocol that aims to:

  • Enable distributed printing over the internet.
  • Provide a standardized way for clients to inquire about printer capabilities, submit jobs, and manage them.
  • Be extensible to accommodate future printing needs.
  • Incorporate security considerations, particularly through HTTP's mechanisms.

Limitations and Future Work

The authors acknowledge that IPP version 1.0 focuses on end-user functionality and that operator and administrator requirements are out of scope. They also note that the IESG expects future versions to incorporate stronger authentication and privacy features, potentially with an "ipp:" URL type. Implementers are warned that future versions might not be backward compatible. The paper encourages experimentation, especially with TLS for security, to help determine its effective use as a security layer for IPP.

Summary updated

BibTeX
@misc{zilles1999rationale,
  author = {Sandra Zilles},
  title = {{Rationale for the Structure of the Model and Protocol for the Internet Printing Protocol}},
  year = {1999},
  doi = {10.17487/rfc2568},
}
Figure