X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/211712d66d6949941141964341bb937bf1422636..f3c061d5c8ef95a0bd2ec829cc1d7461af94a845:/Demos/Host/Incomplete/PrinterHost/PrinterHost.c diff --git a/Demos/Host/Incomplete/PrinterHost/PrinterHost.c b/Demos/Host/Incomplete/PrinterHost/PrinterHost.c index d9f409e97..79e6f9ee8 100644 --- a/Demos/Host/Incomplete/PrinterHost/PrinterHost.c +++ b/Demos/Host/Incomplete/PrinterHost/PrinterHost.c @@ -180,7 +180,7 @@ void USB_Printer_Host(void) case HOST_STATE_Configured: puts_P(PSTR("Retrieving Device ID...\r\n")); - char DeviceIDString[128]; + char DeviceIDString[256]; if ((ErrorCode = Printer_GetDeviceID(DeviceIDString, sizeof(DeviceIDString))) != HOST_SENDCONTROL_Successful) { puts_P(PSTR(ESC_FG_RED "Control Error (Get DeviceID).\r\n")); @@ -206,8 +206,8 @@ void USB_Printer_Host(void) Printer_Data_t TestPageData = { - "\033%-12345X\033E LUFA PCL Test Page \033E\033%-12345X", -// "\033@\033i\001\033X\001\060\000\r\nLUFA ESCP/2 Test Page\r\n", +// "\033%-12345X\033E LUFA PCL Test Page \033E\033%-12345X", + "\033@\033i\001\033X\001\060\000\r\nLUFA ESCP/2 Test Page\r\n", (sizeof(TestPageData.Data) - 1) };