Page 1 of 2

Interfacing HP laserjet 3390 with pic24fj256gb110

PostPosted: Fri Jul 12, 2019 12:00 pm
by veda0903
Hello,

I am trying to interface a HP laser printer with pic24. I have installed the MLA version 2013-06-15 for the same. But there seem to be a lot of errors in the source file. I would really appreciate any help for the completion of this project. Maybe a sample code would be really great.

Thanking you in advance.

Re: Interfacing HP laserjet 3390 with pic24fj256110

PostPosted: Sat Jul 13, 2019 2:20 am
by ric
I've moved this post out of the "test posts" forum, as it would be auto deleted from there in a couple of days.
HOW are you trying to talk to the printer?
Parallel port? Ethernet?

Re: Interfacing HP laserjet 3390 with pic24fj256110

PostPosted: Sat Jul 13, 2019 6:43 am
by veda0903
I am trying to communicate with the printer through USB.

Re: Interfacing HP laserjet 3390 with pic24fj256110

PostPosted: Sat Jul 13, 2019 6:51 am
by ric
So you have to act as a USB host.
Good luck, you have a lot of work ahead of you.

Re: Interfacing HP laserjet 3390 with pic24fj256110

PostPosted: Sat Jul 13, 2019 10:19 pm
by jtemples
Why are you using six-year-old version of MLA? The current MLA has printer drivers, but I don't think it has a demo app.

Re: Interfacing HP laserjet 3390 with pic24fj256110

PostPosted: Mon Jul 15, 2019 3:43 am
by AussieSusan
As far as I can see, that MCU does not have USB capability. Therefore you must be using some serial/USB interface chip that contains the host functionality.
I suggest that you provide us with ore details about what you are actually trying to do.
Susan

Re: Interfacing HP laserjet 3390 with pic24fj256110

PostPosted: Mon Jul 15, 2019 4:02 am
by jtemples
...or use an appropriate PIC.

Re: Interfacing HP laserjet 3390 with pic24fj256110

PostPosted: Mon Jul 15, 2019 6:23 am
by veda0903
I don't really know how to use the libraries for printer driver. Is pic24fj256gb110 development board not suitable for my application? Could you give me a guideline or something about how I should implement the interfacing?

I am just a student trying to do the implementation for a project. So please don't mind my basic level questions.

Re: Interfacing HP laserjet 3390 with pic24fj256110

PostPosted: Mon Jul 15, 2019 6:44 am
by ric
"pic24fj256110" is not a complete part number.
I think AussieSusan has searched the Microchip website for that part, and been directed to the "pic24fj256GA110" page, which does not have a USB interface.
Your most recent post finally reveals that you are actually using a PIC24fj256GB110 PIC, which does have a USB OTG peripheral, so should be able to act as a USB host.

Re: Interfacing HP laserjet 3390 with pic24fj256gb110

PostPosted: Mon Jul 15, 2019 6:56 am
by veda0903
Yes I am sorry about the typo. I am indeed using PIC24fj256GB110. How do I use the libraries now for the application? I have downloaded the latest version too.