DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-09-07 19:15:59

BertrandB
Member
From: Dijon (France)
Registered: 2006-09-16
Posts: 119
Website

Print faster on the dsm

I just cross compile and test the p910nd daemon ... it works quite fine
With this daemon the dsm acts as an HP directjet box
i put the file in attachement since i lost my password for upload

th fun_plug script to launch the server is:

Code:

#!/bin/sh
mkdir /dev/usb
cd /dev/usb && /mnt/HD_a2/busybox makedevs lp c 180 0 0 1
chmod a+rw /dev/usb/lp0 /dev/null
insmod /mnt/HD_a2/printer.o
mkdir /var/lock/subsys
/mnt/HD_a2/local/sbin/p910nd -f /dev/usb/lp0 -b 0

Attachments:
Attachment Icon p910nd, Size: 16,086 bytes, Downloads: 555

Offline

 

#2 2008-09-07 23:30:47

Maarten
New member
Registered: 2008-09-07
Posts: 3

Re: Print faster on the dsm

Will this allow me to use my CH3WNAS as a printer server for my HP LaserJet P1005? I tried to find out but could not find a clear answer.

Offline

 

#3 2008-09-08 12:39:34

BertrandB
Member
From: Dijon (France)
Registered: 2006-09-16
Posts: 119
Website

Re: Print faster on the dsm

Yes it would but with my canon i have some problems to get the printer status ... i think that the bidirectional transfer is not optimal.

Offline

 

#4 2008-09-21 14:35:23

Maarten
New member
Registered: 2008-09-07
Posts: 3

Re: Print faster on the dsm

Works like a charm. I had to figure out how to upload the firmware to my printer on each power-on (thank you HP for this 'feature'). Bi-directional is not working, but that is not a big problem for me. Thanks!

Offline

 

#5 2009-07-01 15:34:05

Masyanich
Member
Registered: 2009-06-30
Posts: 6

Re: Print faster on the dsm

BertrandB
please tell me there is a mistake.
I copied a p910nd file to the root HD_a2 and added  the script to launch the server,
plugged my printer HP Laserjet 2015 or HP Laserjet 1300 and reboot G600
So, I have NO printer seen.... USB led not blinking...

Last edited by Masyanich (2009-07-01 15:45:54)


Attachments:
Attachment Icon 01.07.png, Size: 6,419 bytes, Downloads: 220

Offline

 

#6 2009-07-01 16:53:31

Masyanich
Member
Registered: 2009-06-30
Posts: 6

Re: Print faster on the dsm

оh!
I forgot а
printer.o file in the root of the root HD_a2
Then i make a new LCP connection
Dsmg600
hp1300
install some drivers and trying to print
still no reaction, USB led not blinking...

Offline

 

#7 2009-07-01 20:38:23

BertrandB
Member
From: Dijon (France)
Registered: 2006-09-16
Posts: 119
Website

Re: Print faster on the dsm

well i don't know it work fine for me ... (just i can't get the status of printer).

Sometime the daemon don't stop gracefully on printer proiblem (lack of paper for example) and i need to reboot the server.
Sorry for this time i can't help you but you can try with the lprng it's very slow

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB