1 /* 2 * Copyright (c) 1992 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This software was developed by the Computer Systems Engineering group 6 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 7 * contributed to Berkeley. 8 * 9 * All advertising materials mentioning features or use of this software 10 * must display the following acknowledgement: 11 * This product includes software developed by the University of 12 * California, Lawrence Berkeley Laboratories. 13 * 14 * %sccs.include.redist.c% 15 * 16 * @(#)printer.h 5.3 (Berkeley) 02/01/93 17 * 18 * from: $Header: printer.h,v 1.3 92/12/02 03:52:03 torek Exp $ (LBL) 19 */ 20 21 /* 22 * SCSI definitions for Printer Devices. 23 */ 24 #define CMD_FORMAT 0x04 /* (set) format */ 25 #define CMD_PRINT 0x0a /* print */ 26 #define CMD_SLEW_PRINT 0x0b /* slew and print */ 27 #define CMD_FLUSH_BUFFER 0x10 /* flush buffer */ 28 #define CMD_RBD 0x14 /* recover buffered data */ 29 #define CMD_MODE_SELECT 0x15 /* mode select */ 30 #define CMD_RESERVE_UNIT 0x16 /* reserve unit */ 31 #define CMD_RELEASE_UNIT 0x17 /* release unit */ 32 #define CMD_MODE_SENSE 0x1a /* mode sense */ 33 #define CMD_STOP_PRINT 0x1b /* stop print */ 34