From cc879df4f014e403e57caca50a5791c996c0d79c Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 19 Jul 2009 13:08:48 +0000 Subject: Use sane ANSI terminal escape codes for the Host mode demos, so that they do not cause eye-searing, unreadable text on terminals which parse the escape codes properly. --- Demos/Host/Incomplete/PrinterHost/Lib/PrinterCommands.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Demos/Host/Incomplete/PrinterHost/Lib') diff --git a/Demos/Host/Incomplete/PrinterHost/Lib/PrinterCommands.c b/Demos/Host/Incomplete/PrinterHost/Lib/PrinterCommands.c index 075b2d601..668421d91 100644 --- a/Demos/Host/Incomplete/PrinterHost/Lib/PrinterCommands.c +++ b/Demos/Host/Incomplete/PrinterHost/Lib/PrinterCommands.c @@ -30,6 +30,13 @@ #include "PrinterCommands.h" +/** Sends the given data directly to the printer via the data endpoints, for the sending of print commands in printer + * languages accepted by the attached printer (e.g. PCL). + * + * \param[in] PrinterCommands Pointer to the input buffer containing the printer data to send + * + * \return A value from the Pipe_Stream_RW_ErrorCodes_t enum + */ uint8_t Printer_SendData(char* PrinterCommands) { uint8_t ErrorCode; -- cgit v1.2.3