Usb printer host driver LPC4337

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Usb printer host driver LPC4337

3,503 次查看
Tech13
Contributor I

Hi,

We trying to interface the USB Printer HP Deskjet  4530 with LPC4337.

We are using a USB stack lib of LUFA. as of now, our device is successfully enumerated, we had capture the Device ID and also able to read the port status.

When we are trying to send some data for printing we are not able to get the printout. Printer shows the message printing and this message get disappear after few minutes and back to home screen.

This are the few commands ESC commands for PCL3

static const char EjectPaper[] = {ESC,'&','l','0','H'};
static const char EjectPaper1[] = {ESC,'&','l','0','H','(','h',')'};
static const char FeedFmTray[] = {ESC,'&','l','1','H'};
static const char FeedFmTray1[] = {ESC,'&','l','1','H','(','h',')'};
static const char SelfTest[] = {ESC,'z'};
static const char ResetPrn[] = {ESC,'E'};

I am send the commands using this function for testing.

PRNT_Host_SendString(FeedFmTray,sizeof(FeedFmTray));

We request you to kindly help us out.

 

Warm regards

0 项奖励
回复
1 回复

3,463 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Maybe this is a clue, you have the source code, you can search the error message as a key words, refer to the line and analysize the code to get the cause.

BR

Xiangjun rong

0 项奖励
回复