O'Reilly logo

Common UNIX Printing System by Michael R. Sweet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8Anatomy of an IPP Request

This chapter describes the low-level format of the Internet Printing Protocol, including how each value in a request or response is encoded and how the data is exchanged between the client and server.

Dissecting an IPP Request

Every IPP request is composed of the following parts:

• A HTTP request

• An IPP request message

• Optional additional (document) data

• A HTTP response

• An IPP response message

The following sections describe each of these parts.

The HTTP Request

The HTTP request is a POST request containing data of type application/ipp. Each POST contains a single IPP request message and potentially the document data for a Print-Job or Send-Document request. Figure 8.1 shows the data flow.

Figure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required