Usb printer host driver LPC4337

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Usb printer host driver LPC4337

3,584件の閲覧回数
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,544件の閲覧回数
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 件の賞賛
返信