Canon MP210 via Jetdirect 175x

Not sure if this is the right place but…

I got hold of an HP Jetditect 175x and thought I’d try to use it to get network printing other than via a dedicated server box.

Managed to get into it and reconfigured it to have an address on the network.

Downloaded and RPM’d the canon drivers and have tried to get the printer configured via YaST using both the TCP/Jetdirect route and the LPD route but no joy.

Port 9100 is configured on the JD and it comes up in YaST as well. LPD is also opened on the JD - as is Appletalk but that’s for the kids :).

The JD reports that it has a “MP210 Series” printer attached.

Is this just a case of the JD wont allow a non-HP printer to run?

TIA

I’ve since been trying to get the LPD Q name for the printer but, so far, no luck. Have sent a query to canon and awaiting a response.

On Fri May 21 2010 12:06 am, antttikutoja wrote:

>
> I’ve since been trying to get the LPD Q name for the printer but, so
> far, no luck. Have sent a query to canon and awaiting a response.
>
>
antttikutoja;

Are you using an x86_64 system? If so you may need to setup a link from the
32bit library to the 64bit library. First look in /usr/lib/cups/filter to
get the exact name of the canon filter for the MP210; for the following
example I will use “pstocanonij” but change that to the correct name for your
system.


su
ln -s /usr/lib/cups/filter/pstocanonij /usr/lib64/cups/filter

As an added note, some have found it easier to set up cannon printers directly
in CUPS; http://localhost:631/

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Hello venzkep.

No, I’m using a 32-bitter (Linux HANNAN 2.6.31.12-0.2-default #1 SMP 2010-03-16 21:25:39 +0100 i686 i686 i386 GNU/Linux)

I don’t quite understand your comment re CUPS.

I have the canon running right now attached to one of the boxes in the network, serviced by CUPS. All other boxes use the printer via this “server”.

I picked up the JD for free and, having managed to hack into it and get it living on my network, wanted to try to have it drive the canon so that we were not dependent on the current server being up in order to print.

Cheers and thanks - AK

On Fri May 21 2010 01:26 pm, antttikutoja wrote:

>
> Hello venzkep.
>
> No, I’m using a 32-bitter (Linux HANNAN 2.6.31.12-0.2-default #1 SMP
> 2010-03-16 21:25:39 +0100 i686 i686 i386 GNU/Linux)
>
> I don’t quite understand your comment re CUPS.
>
> I have the canon running right now attached to one of the boxes in the
> network, serviced by CUPS. All other boxes use the printer via this
> “server”.
>
> I picked up the JD for free and, having managed to hack into it and get
> it living on my network, wanted to try to have it drive the canon so
> that we were not dependent on the current server being up in order to
> print.
>
> Cheers and thanks - AK
>
AK;

Since you did not mention the architecture I thought that the library issue
for canon printers may have been the root cause, to bad it wasn’t. As for
CUPS, YaST really becomes just another front end for CUPS when you are
configuring printers. All of that can be done directly with the CUPS web
browser front end, bypassing YaST. Sometimes it works better just to use
CUPS and not YaST. May not apply in your case.

Sorry for the noise and good luck with your printer.


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

I don’t have any experience with JetDirect printe servers, but I think it is a good idea to use the CUPS http interface as venzkep suggested. Not sure about compatibility with your Canon printer though.

I found this post which might be helpful to you:

http://www.****smalllinux.org/f/topic-3-13-13231-0.html

Edit: A good (Gentoo) printing reference which specifically mentions

An HP JetDirect printer requires a socket://hostname syntax

This relates to the CUPS printer URI configuration. (hostname could be a static IP address).

Hi guys,

Venzkep - no need for apologies, no noise :slight_smile:

In fact, I have found that the STN ratio of this forum is of a quality way above others. Thanks for you input.

Deano, Interesting tip. I didn’t know that I could tap into the CUPS server like that. I did so and it led me towards the printer rather well. Then, it suddenly asked me for a username and password.

Hih? I gave it root and the page just went blank. Could raise a peep out of it. The server is still running but wont talk to me any more.

Then, it suddenly asked me for a username and password.

Hih? I gave it root and the page just went blank. Could raise a peep out of it. The server is still running but wont talk to me any more.

Thats strange. (You used user root and root passowrd right?) Can you navigate to http://localhost:631/ agin, and see your list of configured printers?

I have seen this problem about root credentials reported before, (but not experienced it myself). Anyway, see if this thread helps with that. Another similar problem discussed here.

Hi Deano,

Thanks for that. I don’t know what happened but it is ok now!?

I used the CUPS web interface to configure the printer and everything went well up until I tried to print a test page. Got the message that cups backend failed.

Set the logging to debug to try to see what happened but didn’t manage to get anything.

Reverting to yast, I first tried the 9100 route (ipp I think).

The port is open on the JD but it rejects all attempts to connect - despite the fact that it is enabled.

Trying next the LPD route, testing the connection fails with an indication that my target queue is not accepting jobs. The JD comes with 4 queues configured by default and none of these is accepting jobs either.

I can’t see anything on the JD config pages that explicitly activates a queue, I’d assumed that by defining a queue and "apply"ing the config changes, they would come alive. Seems not.

I’m stuck.

Cheers - AK

Hmmm…I know you downloaded the Canon driver for your MP210, but sometimes drivers for other models behave better for one reason or another. This could be the reason you got this error message:

I used the CUPS web interface to configure the printer and everything went well up until I tried to print a test page. Got the message that cups backend failed.

I would try another printer driver (for a similar model) from the list available (MP150,MP160, or MP180 for example). This openSUSE thread mentions that the MP180 driver might be ok. Keep the socket:// config. I think thats the correct connection for your situation.

I found this blog which has these comments from one poster

I was able to install my PIXMA MP210 as an AppSocket/HP JetDirect queue (I have an AirLink 101 wireless print server) using the MP150 driver.

Remember, hp print servers work best with hp equipment.
I seem to remember when I set up a samsung printer, I had to set the jetdirect to use an lpd queue. Configure the print server from a web browser using a browser and go to it’s ip address.
As far as cups is concerned, set it up for a normal ipp printer using the canon printer driver.

(Sorry, not using my jetdirect 175 at the moment, so can’t be of more help.)

Hi guys,

First off, thank you all so much for your inputs.

I have sad news.

I finally managed to get hold of an Administrator’s Manual for this wee device and, on reading the supported protocols etc part of it discovered that the Jetdirect 175+ is, to use HP’s exact words, a “Value-based print server” and will only allow microsoft IP/IPX Direct mode printing.

Don’t you just love those marketing types?

Anyhow this is despite the fact that on the config pages served up by the device itself advertising LPD queues, it wont do it. I will contact HP on this point since it is a mis-representation to some degree.

So, that’s that I’m afraid. Pity really, I get involved in a lot of charity installations and it gives me a real buzz to be able to get “thrown in the garbage” stuff up and running and performing a job of wok for folks who really need to spend the money on things other than lining bill & co’s pockets.

Thanks again.

Cheers - AK

I know it’s a budget jetdirect, but it does work in linux. I got mine working with a samsumg scx4200 printer.
You need to go to the jetdirect home page in a browser (http://jetdirect_ipaddress) and configure it for raw printing.
This is the same address you will use for cups network printer ipaddress.

CUPS supports this protocol as whych has verified.

whych, deano, thanks for this but still no joy.

I have tried using both the cups server and yast to configure it. Everything goes just fine but when I try to test print, nothing happens.

whych, what do you mean to configure the 175 for “raw printing”? Port 9100 is open and I enabled port 3000 as “Dynamic raw port 1” but no joy using either.

Cheers.

OK - I will resurrect my 175 and samsung printer connection and give you more details later…
From memory, you need the correct .ppd file for your printer and the difference in the setup is that you are telling cups to use the raw lpd queue on the jetdirect.

Hey whych,

Thanks for that. I have tried to set up to use lpd Q from the SuSE side but always got a msh that the Q was not accepting jobs. Look forward to hearing from you again.

Cheers - AK

Here’s how you do it:
Open the print server’s webpage by typing print-server-ipaddress in your web browser.
Click the ‘networking’ tab.
Then ‘Other Settings’

Now set up the type of printer queue you want from the defalts.
Mine has RAW set as the first lpd queue name.

Now open the cups server and set up your printer.
Choose an lpd printer with name:
lpd://print-server-ip/RAW
Configure the rest of the printer settings and then print a test page.

This works fine for my Samsung SCX-4200.
All the print processing is done by the printer’s .ppd file on the cups server and sent to the RAW queue on the print server.

@antttikutoja
If you are still having problems, try forcing the jetdirect to use ASCII for the usb connction:
Networking tab and then choose USB Settings on the left hand menu.

Check on the jetdirect’s web page under
Network>Diagnostics>Config Page
to see if your printer is recognised by the device.

Also check the printer setup and see if there are any errors.

I seem to remember I had to play around a bit with the settings before they work (because the 170 range is basic, they work best with either hp printers or printers that support pcl or postscipt., but the RAW printing must work.)
When you do eventually solve it, it will probably be some simple setting you overlooked. Don’t try any over complicated settings - your printer is now just a dumb line printer with none of the 2 way communications with your pc and print software.

Moi whych,

I didn’t find an ASCII option to the USB comms. There was one on the Status Page Language. Four in ffact: AUTO, PCL, ASCII, PostScript & HPGL2. Tried each of them inturn but no luck and no config page printed via the back button. Can you print it with your setup?

Did an snmp walk on the jd and found a bunch of ports open. 23/80/280/515/9100/9220/9290. I tried to telnet onto the last 4. 515 held the connection, 9100 connected and immediately disconnected. 9220 connects and echoes “220 Ready” and holds the connection. 9290 was the same as 9100.

I eventually put a sniff on the wire and discovered that cups makes the connection on 515 ans sends “02RAW” to say “put a job onto Q named RAW”. JD responds “FF” which, because it’s not 00, is a negative response.

Sheesh, what a day! I will go through the jd setup again tomorrow with a fine-tooth comb.

Cheers - AK