Ensure control pipe is selected in the PrinterHost demo before trying to send control requests.

This commit is contained in:
Dean Camera 2009-07-20 14:12:05 +00:00
parent 4f747e7b76
commit 18f7cd3325
2 changed files with 7 additions and 2 deletions

View file

@ -226,8 +226,7 @@ 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",
(sizeof(TestPageData.Data) - 1)
};