Hi,
I am trying to interface the USB Printer HP Deskjet 4530 with LPC4337.
I refer a USB stack lib of LUFA. as of now, our device is successfully enumerated, I had capture the Device ID and also able to read the port status.
When i am trying to send some data for printing, 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));
I request you to kindly help us out.
Warm regards
it would be very useful to see the actual traffic on the USB Bus and see if things are going according to expectations.
We use https://www.totalphase.com/products/beagle-usb480/ for capturing traffic on the bus.
HI,
Thanks for your suggestion.
I was using the USBTrace analyzer trial version.
I have a doubt about the printer language, it shows the PCL3GUI, and PJL.
Does this printer accept a normal PCL3 or PCL5 command when enter into a PJL mode after sending the UEL Command.
warm regards
Googling these things, I found " The PCL 3GUI is used in HP Designjets and it uses a compressed raster format that is not compatible with standard PCL 3.".
So, no, PCL3GUI is not compatible with PCL3, thus PCL3 commands will not work.
Thanks for your reply,
I think it is bit complicated to convert the text to raster on controller end. I will go for the Laser Jet Series that support PCL3 / 5. I search for the PCL5 printer online, I didn't found the available stock. Can you please suggest the latest PCL5 Printer that are easily available now a days and support atleast for 5 years. Also can please suggest the printer that can support esc command similar to esc/p or esc/pos.
unfortunately, I don't have any expert advice since that is not my area.
I suggest you use google and try to find best match to what you are looking for.
Best regards, Milorad