USB Printer Class Specification

USB Printer Class Specification

Universal Serial Bus Device Class Definition for Printing Devices Version 1.1 January 2000 USB Device Class Definition for Printing Devices Contributors Axiohn IPB Kevin Butler [email protected] Canon Sadahiko Sano [email protected] Canon Naoki Shimada [email protected] Canon Shigeru Ueda [email protected] Canon Bill Russell [email protected] Hewlett Packard Jeanette Coffren [email protected] Hewlett Packard Todd Fischer [email protected] Hewlett Packard Karen Van Der Veer [email protected] Hewlett Packard Paul Walrath [email protected] Hewlett Packard Erik Kilk [email protected] Hitachi Richard W. Howell [email protected] In-System Design David Luke [email protected] In-System Design Eric Luttmann [email protected] Intel Sailesh Bissessur [email protected] Lexmark Reed Owens [email protected] Lexmark C. T. Wolfe [email protected] Lucent Technologies Kevin Lynch [email protected] Microsoft John Fuller [email protected] Microsoft Kenneth Ray [email protected] Microsoft Thomas Nielsen [email protected] Microsoft Joby Lafky [email protected] MicTron Man Tam [email protected] Moore Computer Consultants John Keys [email protected] NCR Dale Lyons [email protected] NEC Naofumi Ota [email protected] NEC Takeshi Shinjo [email protected] Philips Sampath Suresh [email protected] Phoenix Technologies Ltd. Mehran Ramezani [email protected] Seko-Epson Hideki Morozumi [email protected] Smart Technology Enablers, Inc. David Lawrence [email protected] Warp Nine Engineering Larry A. Stein [email protected] Technical Editor, version 1.0 Phoenix Technologies Curtis Stevens, former Chair [email protected] Page ii Version 1.0 USB Device Class Definition for Printing Devices USB Communication Device Class Definition for Printer Devices Copyright © 1996 - 2000, USB Implementers Forum. All rights reserved. INTELLECTUAL PROPERTY DISCLAIMER THIS SPECIFICATION IS PROVIDED “AS IS” WITH NO WARRANTIES WHATSOEVER INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION, OR SAMPLE. A LICENSE IS HEREBY GRANTED TO REPRODUCE AND DISTRIBUTE THIS SPECIFICATION FOR INTERNAL USE ONLY. NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY OTHER INTELLECTUAL PROPERTY RIGHTS IS GRANTED OR INTENDED HEREBY. AUTHORS OF THIS SPECIFICATION DISCLAIM ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF PROPRIETARY RIGHTS, RELATING TO IMPLEMENTATION OF INFORMATION IN THIS SPECIFICATION. AUTHORS OF THIS SPECIFICATION ALSO DO NOT WARRANT OR REPRESENT THAT SUCH IMPLEMENTATION(S) WILL NOT INFRINGE SUCH RIGHTS. All other product names are trademarks, registered trademarks, or servicemarks of their respective owners. Please send comments via electronic mail to [email protected] Version 1.0 Page iii USB Device Class Definition for Printing Devices Table of Contents 1. INTRODUCTION .........................................................................................................1 1.1 Scope .................................................................................................................................................................. 1 1.2 Purpose............................................................................................................................................................... 1 1.3 Related Documents............................................................................................................................................ 1 2. MANAGEMENT OVERVIEW ......................................................................................2 3. FUNCTIONAL CHARACTERISTICS ..........................................................................2 3.1 Operational Model............................................................................................................................................ 2 3.2 Interfaces ........................................................................................................................................................... 4 3.3 Status Reporting................................................................................................................................................ 4 4. REQUESTS.................................................................................................................5 4.1 Standard Requests ............................................................................................................................................ 6 4.2 Class-Specific Requests..................................................................................................................................... 6 5. STANDARD DESCRIPTORS....................................................................................77 5.1 Device Descriptor ............................................................................................................................................ 88 5.2 Configuration Descriptor ............................................................................................................................... 99 5.3 Interface Descriptors .................................................................................................................................. 1010 5.4 Endpoint Descriptors.................................................................................................................................. 1010 Version 1.0 Page v USB Device Class Definition for Printing Devices List of Tables TABLE 1 - CLASS-SPECIFIC REQUESTS ....................................................................6 TABLE 2 - CAPABILITIES STRING ...............................................................................6 TABLE 3 - PRINTER PORT STATUS...........................................................................77 TABLE 4 - DEVICE DESCRIPTOR...............................................................................88 TABLE 5 - CONFIGURATION DESCRIPTOR..............................................................99 TABLE 6 - INTERFACE DESCRIPTOR....................................................................1010 TABLE 7 - ENDPOINT DESCRIPTOR......................................................................1010 TABLE 8 - BULK OUT ENDPOINT DESCRIPTOR ..................................................1111 TABLE 9 - BULK IN ENDPOINT DESCRIPTOR ......................................................1111 Page vi Version 1.0 USB Device Class Definition for Printing Devices 1. Introduction The Universal Serial Bus (USB) is a communications architecture that gives a PC the ability to interconnect a variety of devices via a simple four-wire cable. One such device is the printer. Traditionally, printers have been interfaced using the following technologies: • Unidirectional parallel port • Bi-directional parallel port • Serial port • SCSI port • Ethernet/LAN There are other, more sophisticated printer interfaces, but the ones previously listed are the most popular. USB offers a much greater throughput capability than the serial port and is comparable in speed to the parallel port. This makes both parallel and serial printers good candidates for interfacing with USB. 1.1 Scope This document fully describes the Printer Class of USB devices, including: • The Printer Class subclass and protocol. • Device, configuration, interface, and endpoint descriptors. • The USB standard requests used by printer devices. • The USB class-specific requests and responses used by printer devices. 1.2 Purpose The purpose of this document is to describe configuration, interface, and endpoint descriptors as well as a communications protocol for operating system, BIOS, and peripheral designers implementing support for USB printers. These definitions allow an operating system designer to design a single software package to support a given class or subclass of device. These definitions also provide a framework for designing the peripherals in each class or subclass. Note This specification does not define Page Description Languages (PDL) or Printer Control Protocols (PCP). This specification defines interfaces that are intended to support existing PDLs and PCPs. 1.3 Related Documents The Printer Class defines an architecture for delivering existing printer-command sets to a USB printer. The following documents include relevant USB publications as well as some popular printer PDLs and PCPs: • • Universal Serial Bus Specification, 1.0 revision 1.1 (also referred to as the USB Specification). In particular, see Chapter 9, “USB Device Framework.” This specification is available on the World Wide Web site http://www.usb.org. • PostScript Language Reference Manual, Second Edition. Addison-Wesley Publishing Company, Inc. ISBN: 0-201-18127-4. • PCL / PJL Technical Reference Package. HP part number 5961-0937. Hewlett-Packard Company. 1-800- 227-8164 or http://www.hp.com. • Includes: PCL 5 Language Technical Reference Manual and Printer Job Language Technical Reference Manual • IEEE 1284-1994 Standard Signaling Method for a Bidirectional Parallel Peripheral Interface for Personal Computers. This specification is available from the IEEE (www.ieee.org). Version 1.0 Page 1 USB Device Class Definition for Printing Devices • IEEE P1284.4 Standard for Data delivery and logical channels for IEEE std. 1284 interfaces. This specification is available from the IEEE (www.ieee.org). 2. Management

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    17 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us