Interfacing HP laserjet 3390 with pic24fj256gb110

Say "hi" here, and any general non PIC related chat.

Interfacing HP laserjet 3390 with pic24fj256gb110

Postby veda0903 » Fri Jul 12, 2019 12:00 pm

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.
Last edited by veda0903 on Mon Jul 15, 2019 6:39 am, edited 1 time in total.
veda0903
 
Posts: 5
Joined: Fri Jul 12, 2019 11:52 am

Re: Interfacing HP laserjet 3390 with pic24fj256110

Postby ric » Sat Jul 13, 2019 2:20 am

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?
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 497
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: Interfacing HP laserjet 3390 with pic24fj256110

Postby veda0903 » Sat Jul 13, 2019 6:43 am

I am trying to communicate with the printer through USB.
veda0903
 
Posts: 5
Joined: Fri Jul 12, 2019 11:52 am

Re: Interfacing HP laserjet 3390 with pic24fj256110

Postby ric » Sat Jul 13, 2019 6:51 am

So you have to act as a USB host.
Good luck, you have a lot of work ahead of you.
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 497
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: Interfacing HP laserjet 3390 with pic24fj256110

Postby jtemples » Sat Jul 13, 2019 10:19 pm

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.
jtemples
Verified identity
 
Posts: 181
Joined: Sun May 25, 2014 2:23 am
Location: The 805
PIC experience: Professional 5+ years with MCHP products

Re: Interfacing HP laserjet 3390 with pic24fj256110

Postby AussieSusan » Mon Jul 15, 2019 3:43 am

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
AussieSusan
Verified identity
 
Posts: 110
Joined: Mon Jun 16, 2014 4:45 am
PIC experience: Experienced Hobbyist

Re: Interfacing HP laserjet 3390 with pic24fj256110

Postby jtemples » Mon Jul 15, 2019 4:02 am

...or use an appropriate PIC.
jtemples
Verified identity
 
Posts: 181
Joined: Sun May 25, 2014 2:23 am
Location: The 805
PIC experience: Professional 5+ years with MCHP products

Re: Interfacing HP laserjet 3390 with pic24fj256110

Postby veda0903 » Mon Jul 15, 2019 6:23 am

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.
veda0903
 
Posts: 5
Joined: Fri Jul 12, 2019 11:52 am

Re: Interfacing HP laserjet 3390 with pic24fj256110

Postby ric » Mon Jul 15, 2019 6:44 am

"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.
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 497
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: Interfacing HP laserjet 3390 with pic24fj256gb110

Postby veda0903 » Mon Jul 15, 2019 6:56 am

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.
veda0903
 
Posts: 5
Joined: Fri Jul 12, 2019 11:52 am

Next

Return to Introductions and general chat

Who is online

Users browsing this forum: No registered users and 0 guests