3 Copyright (C) Dean Camera, 2009.
5 dean [at] fourwalledcubicle [dot] com
6 www.fourwalledcubicle.com
10 Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com)
12 Permission to use, copy, modify, and distribute this software
13 and its documentation for any purpose and without fee is hereby
14 granted, provided that the above copyright notice appear in all
15 copies and that both that the copyright notice and this
16 permission notice and warranty disclaimer appear in supporting
17 documentation, and that the name of the author not be used in
18 advertising or publicity pertaining to distribution of the
19 software without specific, written prior permission.
21 The author disclaim all warranties with regard to this
22 software, including all implied warranties of merchantability
23 and fitness. In no event shall the author be liable for any
24 special, indirect or consequential damages or any damages
25 whatsoever resulting from loss of use, data or profits, whether
26 in an action of contract, negligence or other tortious action,
27 arising out of or in connection with the use or performance of
31 /** \ingroup Group_USBClassDrivers
32 * @defgroup Group_USBClassPrinter Printer Device Class Driver - LUFA/Drivers/Class/Printer.h
34 * \section Sec_Dependencies Module Source Dependencies
35 * The following files must be built with any user project that uses this module:
36 * - LUFA/Drivers/USB/Class/Host/Printer.c
38 * \section Module Description
39 * Printer Class Driver module. This module contains an internal implementation of the USB Printer Class, for the base
40 * USB Printer transport layer for USB Host mode only. Note that printers are free to implement whatever printer language
41 * they choose on top of this (e.g. Postscript), and so this driver exposes low level data transport functions only rather
42 * than high level raster or text functions. User applications can use this class driver instead of implementing the Printer
43 * class manually via the low-level LUFA APIs.
45 * This module is designed to simplify the user code by exposing only the required interface needed to interace with
46 * Devices using the USB Printer Class.
51 #ifndef _PRINTER_CLASS_H_
52 #define _PRINTER_CLASS_H_
55 #include "../HighLevel/USBMode.h"
57 #if defined(USB_CAN_BE_HOST)
58 #include "Host/Printer.h"