Internet Printing Protocol

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In computing, the Internet Printing Protocol (IPP) provides a standard network protocol for remote printing as well as for managing print jobs, media size, resolution, and so forth[vague].

Like all IP-based protocols, IPP can run locally or over the Internet. Unlike other printing protocols, IPP also supports access control, authentication, and encryption, making it a much more capable and secure printing mechanism than older ones.

History[edit]

IPP began as a proposal by Novell for the creation of an Internet printing protocol project in 1996. The result was a draft written by Novell and Xerox called the Lightweight Document Printing Application (LDPA). At about the same time, Lexmark publicly proposed something called the HyperText Printing Protocol (HTPP), and both HP and Microsoft had started work on new print services for what became MS Windows 2000. Each of the companies chose to start a common Internet Printing Protocol project in the Printer Working Group (PWG) and negotiated an IPP birds-of-a-feather (BOF) session with the Application Area Directors in the Internet Engineering Task Force (IETF). The BOF session in December 1996(?) showed sufficient interest in developing a printing protocol, leading to the creation of the IETF Internet Printing Protocol (ipp)[1] working group.

IPP/1.0 was published as a series of experimental documents (RFC 2565,[2] RFC 2566,[3] RFC 2567,[4] RFC 2568,[5] RFC 2569,[6] and RFC 2639[7]) in 1999. IPP/1.1 followed as a draft standard in 2000 with support documents in 2001 and 2003 (RFC 2910,[8] RFC 2911,[9] RFC 3196,[10] RFC 3510[11]). Additional extensions to IPP were published as RFCs until 2005 when the IETF IPP working group was concluded.

Work on IPP continues in the PWG with the publication of 12 candidate standards providing extensions to IPP and definition of IPP/2.0, IPP/2.1, and now IPP/2.2 representing different categories or classes of printers. A new IPP Everywhere[12] project began in July 2010 to define an IPP profile and extensions required to support driverless printing, with a focus on non-traditional platforms such as netbooks and mobile Internet devices. The new project also expands the scope of IPP standards to include printer discovery and standard document formats.

Implementation[edit]

IPP is implemented using the Hypertext Transfer Protocol (HTTP) and inherits all of the HTTP streaming and security features. For example, authorization can take place via HTTP's Digest access authentication mechanism, GSSAPI, or via public key certificates. Encryption is provided using the SSL/TLS protocol-layer, either in the traditional always-on mode used by HTTPS or using the HTTP Upgrade extension to HTTP (RFC 2817[13]). Streaming is supported using HTTP chunking.

IPP uses the traditional client-server model, with clients sending IPP request messages with the MIME media type "application/ipp" in HTTP POST requests to an IPP printer. IPP request messages consist of key/value pairs using a custom binary encoding followed by an "end of attributes" tag and any document data required for the request. The IPP response is sent back to the client in the HTTP POST response, again using the "application/ipp" MIME media type.

Among other things, IPP allows a client to:

  1. query a printer's capabilities
  2. submit print jobs to a printer
  3. query the status of a printer
  4. query the status of one or more print jobs
  5. cancel previously submitted jobs

IPP uses TCP with port 631 as its well-known port. IPP implementations such as CUPS also use UDP with port 631 for IPP printer discovery.

Products using the Internet Printing Protocol include, among others, CUPS which is part of Apple Mac OS X and many BSD and Linux distributions and is the reference implementation for IPP/2.0 and IPP/2.1,[14] Novell iPrint, and Microsoft Windows, starting with MS Windows 2000.[15] MS Windows XP and Windows Server 2003 offer IPP printing via HTTPS. MS Windows Vista, Windows 7,[16] Windows Server 2008 and 2008 R2 also support IPP printing over RPC in the "Medium-Low" security zone. For reasons unknown Microsoft dropped support of secure IPP via SSL in MS Windows Server 2008.[citation needed]

Standards[edit]

See also[edit]

References[edit]

  1. ^ "IPP", Working groups, IETF .
  2. ^ RFC 2565, IETF .
  3. ^ RFC 2566, IETF .
  4. ^ RFC 2567, IETF .
  5. ^ RFC 2568, IETF .
  6. ^ RFC 2569, IETF .
  7. ^ RFC 2639, IETF .
  8. ^ RFC 2910, IETF .
  9. ^ RFC 2911, IETF .
  10. ^ RFC 3196, IETF .
  11. ^ RFC 3510, IETF .
  12. ^ IPP Everywhere, Wikispaces .
  13. ^ RFC (2817), IETF .
  14. ^ "Internet Printing Protocol". Printer Working Group. Archived from the original on 2010-01-12. Retrieved 2013-11-20.  The language "CUPS Software (IPP Reference Implementation)" appeared on this page since a point between 1 September 2009 and 12 January 2010, though no mention of a reference implementation is found in the published standard.
  15. ^ "Effectively Using IPP Printing". Microsoft. April 8, 2003. Retrieved 2009-09-06. 
  16. ^ "The Internet Printing Client (IPP) is not available in Windows 7 Starter Edition". Microsoft. November 17, 2010. Retrieved 2012-10-02. 

External links[edit]