SOLUTION: HOWTO run problematic LaserJet printers on DSxxx

Got questions on using your printer with our server? Post it here.

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby Shaden » Sun Apr 10, 2011 5:49 pm

Guys,

I need help :-/

I've updated DSM from 2 to 3.1-1605 and now I can't print anymore. I've followed again the steps for HP Laserjet 1020 and it looks like the firmware is injected into the printer.

But I am not able to print from my clients (linux, windows and mac). Have you any idea? Maybe the "queue reference" is changed in DSM 3 ?

Does exist a shell command for printing from DiskStation command line?

Thank you for you patience! :_)

S.
Shaden
Beginner
Beginner
 
Posts: 27
Joined: Thu Sep 24, 2009 6:48 pm

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby xcopy » Wed Apr 13, 2011 12:38 am

I'm with you... 1605 broke my printing...

It may have wiped out the firmware. We may just need to reload it, but it looks like 1605 has issues so I'd suggest either upgrading to the next rev or I may even downgrade (and I know how painful that will be)...


UPDATE: Works for 1605 and 1613...

1605 - I was able to fix it. We need to copy the firmware again, and also the modified usb.agent file, (don't forget to make sure the owner and group is 'root'). On Win7 x64, I also had to delete the printer and add it back. Once I did that, I was able to print.

I have two DS211 units so before I do it again, I'll probably update them both to 1613, then repeat the printer setup procedure. I wish there was a way to automate this, but at least I saved my modified usb.agent file, a copy of the printer driver, notes on everything I had to change that differed from this thread. I'm also more comfortable moving around the DS in Telnet and Linux now so it won't be too bad.

1613 - For some reason didn't work right away. I ended up copying the files a second time (after I reinstalled them for the OS upgrade), rebooted the DS, rebooted the PC, uninstalled/installed the printer several times, unhooked the USB connections, verified file permissions, etc....

Not sure what went wrong or why, but it does appear to be working now from a wired PC. I also tested it from a remote (wireless) PC running XP Pro and it worked without reinstalling the printer.

One last thought is to make sure your printer is showing up as an external device in the DS.
Last edited by xcopy on Fri Apr 15, 2011 12:17 pm, edited 2 times in total.
xcopy
Experienced
Experienced
 
Posts: 121
Joined: Fri Dec 03, 2010 4:34 pm

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby symo » Fri Apr 15, 2011 8:45 am

hi i'm a new user,

i bought a ds-211j and i installed on the 1605 firmware, i tried for 3 day to install my laserjet 1018 with no luck, i checked many times the permissions, the cf+cr, the firmware ( i installed the nano editor) but the printer don't work. So, i take my printer to my friend's home with a ds-410j with an old firmware and i put the firmware and the new usb.agent file and the printer worked immediatly!!

The difference between the firmwares are (in the 1605) the usb.agent file is greater than the old one and there is no firrmware folder in the hotplug directory.

Any suggestion for the new firmware version??

Many thanks and sorry for my english.

Symo.
symo
I'm New!
I'm New!
 
Posts: 2
Joined: Fri Apr 15, 2011 8:33 am

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby xcopy » Fri Apr 15, 2011 12:31 pm

It does work, so I would start over and suggest double checking everything, including the file permissions.
xcopy
Experienced
Experienced
 
Posts: 121
Joined: Fri Dec 03, 2010 4:34 pm

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby symo » Fri Apr 15, 2011 1:13 pm

I update the firmware to 1613 and now it work like a charm!

Many many thanks!!
symo
I'm New!
I'm New!
 
Posts: 2
Joined: Fri Apr 15, 2011 8:33 am

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby Shaden » Sun Apr 17, 2011 10:40 am

Thanks for the suggestions: soon I will try again!
Shaden
Beginner
Beginner
 
Posts: 27
Joined: Thu Sep 24, 2009 6:48 pm

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby rollout » Sat Apr 30, 2011 5:52 pm

xcopy, I have started following your instructions, and got to step 5, where you say to type "Open ds110" at the command prompt...

I am entering the following: DiskStation> open ds110j
I am getting the reply: -ash: Open: not found.

If I type help, open is not one of the commands offered. I am using PuTTY as my Telnet Client.

I am supposed to get a prompt here, asking for my user name and password.

Any suggestions?
rollout
I'm New!
I'm New!
 
Posts: 3
Joined: Fri Apr 01, 2011 8:01 pm

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby xcopy » Sat Apr 30, 2011 9:29 pm

rollout wrote:xcopy, I have started following your instructions, and got to step 5, where you say to type "Open ds110" at the command prompt...

I am entering the following: DiskStation> open ds110j
I am getting the reply: -ash: Open: not found.

If I type help, open is not one of the commands offered. I am using PuTTY as my Telnet Client.

I am supposed to get a prompt here, asking for my user name and password.

Any suggestions?





My example is from MS WINDOWS (win7 Pro x64 to be exact) but it may be different if you're using something else. Anyway, what I wrote was

1. type "Open {your diskstation name), as in "open ds710"
2. it will ask for a login user, enter "root" as the user
3. enter password


so, in the context of already having launched a telnet window, you would type

Open (or just the letter O) and then your diskstation name, whatever that is.
The example I gave is for a diskstation with the name "ds710". If your diskstation is called "Fred", then type

"Open Fred", or just "O Fred" at the telnet prompt to open a connection between your computer and the diskstation.

if you're on Linux or something else, look up what the format is for the "Open" command.


When asked for a user, enter "root" to log on as the root user and then enter the password you use for your diskstation (assuming you're the admin).

You should be fine after that.
Last edited by xcopy on Sun May 08, 2011 1:33 pm, edited 1 time in total.
xcopy
Experienced
Experienced
 
Posts: 121
Joined: Fri Dec 03, 2010 4:34 pm

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby synorobi » Wed May 04, 2011 8:45 am

Hello Guys,

Having met the same problem to print in HP 1020 I followed all instructions sent here by efex.
I have DS210j and HP1020.
I logged DS successfully with Putty and made the changes suggested thru 1 to 10 steps.
I used the TC editor to insert the code section to the end of usb.agent file.
The agent file seems the same like what somebody has put the view in the forum.
In the end the printer does nothing or the same: printjob is sent but not printed.
The only thing I'm confused about is the 11. point: change file attributes with chmod 755 /usr/syno/hotplug/usb.agent command line.
My putty came back with the message:- ash didn't find chmod755.
The very thing I don't know is this: BE SURE TO SAVE IT WITH LINUX END-OF-LINES (LF only, not CR+LF)!!!
How can I do this, I am not a Linux user!
Reading messages here nearly everybody was succesful to do the printer work, so I'm very firm to go till the end- I don't believe I can't.
I'm asking succeful people to send me any suggestion or show what I did wrong.
I want to mention the printer was succesfully installed to the DS.
synorobi
I'm New!
I'm New!
 
Posts: 3
Joined: Wed Aug 04, 2010 9:01 am

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby xcopy » Wed May 04, 2011 2:11 pm

synorobi wrote:Hello Guys,

Having met the same problem to print in HP 1020 I followed all instructions sent here by efex.
I have DS210j and HP1020.
I logged DS successfully with Putty and made the changes suggested thru 1 to 10 steps.
I used the TC editor to insert the code section to the end of usb.agent file.
The agent file seems the same like what somebody has put the view in the forum.
In the end the printer does nothing or the same: printjob is sent but not printed.
The only thing I'm confused about is the 11. point: change file attributes with chmod 755 /usr/syno/hotplug/usb.agent command line.
My putty came back with the message:- ash didn't find chmod755.
The very thing I don't know is this: BE SURE TO SAVE IT WITH LINUX END-OF-LINES (LF only, not CR+LF)!!!
How can I do this, I am not a Linux user!
Reading messages here nearly everybody was succesful to do the printer work, so I'm very firm to go till the end- I don't believe I can't.
I'm asking succeful people to send me any suggestion or show what I did wrong.
I want to mention the printer was succesfully installed to the DS.


A couple of suggestions

1) when seeking technical advice, first read the thread completely (if one exists) and you'll undoubtedly find that changes, clarifications, updates, etc. are present.

2) I experienced the problem, so I pretty much documented, ad nauseam, what the problem is, what it looks like, and how to fix it on page 3.
xcopy
Experienced
Experienced
 
Posts: 121
Joined: Fri Dec 03, 2010 4:34 pm

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby synorobi » Thu May 05, 2011 12:16 pm

Hi xcopy,

Thanks to your quick response.
The problem is that every thing seems to be OK, chmod755 was fixed, I followed your tips of page 3 in this forum, but I found nothing to help hint my problem.
Unfortunately I am not able to post here some shots of my putty, agent file wich should tell more where can be the key to solution. My supposition is the usb.agent file can be messy, but not sure.
Concrete tips are wellcome.
synorobi
I'm New!
I'm New!
 
Posts: 3
Joined: Wed Aug 04, 2010 9:01 am

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby xcopy » Sun May 08, 2011 1:41 pm

I've done it several times and it was unsuccessful a few times. Apparently I made a mistake or two somewhere in the process.

Efex documented things completely, but he obviously couldn't anticipate every problem (such as mine). I would start over from the beginning, use something other than putty if that helps, make sure you use an editor that allows you to see the CR LF characters, and make sure that the permissions are set up properly (you did check these, right?).

It will work. Just takes some patience. :D
xcopy
Experienced
Experienced
 
Posts: 121
Joined: Fri Dec 03, 2010 4:34 pm

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby synorobi » Mon May 09, 2011 10:27 pm

Hi xcopy,

I have nice news: the printer works.(naturely via DS210j)
It works also for other PC in my home network connected wirelessly to the router.
I really read thoroughly former pages, and in the end I found I had done everything good.
Since I am not skilled in Linux(Unix) it took a little more time to get what are Linux end lines. For people who aren't yet able to make it work (and not experienced) I will suggest the followings:
follow the way written by efex.
When you reach to the point when you must edit the agent file, use the Notepad++. There you can find edit line ends under view. If you can't make extinguish CF+LF and put only LF, ask me I'll tell you the techniques step by step.
Thank you xcopy (also efex) for bothering me to continue my efforts.
Nice moments for me but I think it is success also for people of the forum who shared their experience.
Well done guys.
synorobi
I'm New!
I'm New!
 
Posts: 3
Joined: Wed Aug 04, 2010 9:01 am

Re: SOLUTION: HOWTO run problematic LaserJet printers on DSx

Postby xcopy » Tue May 10, 2011 12:36 pm

Glad you got it to work; it's worth the effort. :D
xcopy
Experienced
Experienced
 
Posts: 121
Joined: Fri Dec 03, 2010 4:34 pm

RE: Powering Down Printer

Postby sparkie58 » Mon May 16, 2011 6:46 am

Hi all
I have been able to successfully install the changes to the
usb agent and can network print to my HP1020
However, I was planning to shutdown the printer when not in use;

If I eject the printer from the DS and then power off the printer
When I Power it back on I can no longer print;
I checked the hp log file and confirmed the firmware is being reloaded
as well as the DS sees the printer in the external usb devices
but when I sent a test page to the printer it does not print

I can work around this by restarting the DS and then powering up the
printer after the DS is running

Is it possible to powerdown/disconnect the printer an not have to re-boot the
DS to re-establish network printing ?

I am using DSM 3.1 1613
sparkie58
Trainee
Trainee
 
Posts: 12
Joined: Mon Feb 15, 2010 4:59 am

PreviousNext

Return to USB Printer Server

Who is online

Users browsing this forum: No registered users and 0 guests