Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Print Out data use USB

Status
Not open for further replies.

yanti amol

Member level 1
Joined
May 31, 2011
Messages
32
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
Indonesia-surabaya
Activity points
1,457
Hello everybody,, i have a listing program
case HOST_STATE_Configured:
/* Indicate device busy via the status LEDs */
LEDs_SetAllLEDs(LEDMASK_USB_BUSY);

char TestPageData[] = "\033%-12345X\033E" "2" "\033E\033%-12345X";
uint16_t TestPageLength = strlen(TestPageData);

printf_P(PSTR("Sending Test Page (%d bytes)...\r\n"), TestPageLength);



if ((ErrorCode = Printer_SendData(&TestPageData, TestPageLength)) != PIPE_RWSTREAM_NoError)
I want to print the text at second page,,what can i change from the program ?
Thank You
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top