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.

This commit is contained in:
Dean Camera 2009-07-19 13:08:48 +00:00
parent 786479faf0
commit cc879df4f0
14 changed files with 179 additions and 183 deletions

View file

@ -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;