1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WRTSL54GS HyperWRT +thibor14 printing

Discussion in 'HyperWRT Firmware' started by Disman_ca, Mar 27, 2006.

  1. Disman_ca

    Disman_ca Super Moderator Staff Member Member

    I running HyperWRT +thibor14 on my WRTSL54GS, works great. I have some questions related to the printing that was added by thibor. What was the name of the printing software added (I assume it is an opensource project). Anyway, I have been messing around with it and trying to get the printing to work and find it difficult to troubleshoot as I don't know where to look. Perhaps there is a log I can cat or something? I'd like to know the command to restart the print server if possible as I am trying to find a USB printer that will work and would prefer not to reboot the router if not needed.
     
  2. vincentfox

    vincentfox Network Guru Member

    What does this have to do with SveaSoft?
     
  3. Toxic

    Toxic Administrator Staff Member

    lol, i'll move this post.
     
  4. Disman_ca

    Disman_ca Super Moderator Staff Member Member

    So thats where it went! I feel like such a n00b
     
  5. Thibor

    Thibor Super Moderator Staff Member Member

    the print server is p910nd, do a ps | grep p910 and you'll see it in the process list. as far as troubleshooting it, i haven't a clue as it just works.
    EDIT** corrected 9100nd to 910nd; sorry, it was early :)
    the command that runs it is:

    p910nd -f /dev/usb/lp0 0 and it shows p9100d -f /dev/usb/lp0 0 in the process list.
     
  6. Disman_ca

    Disman_ca Super Moderator Staff Member Member

  7. Thibor

    Thibor Super Moderator Staff Member Member

    yeah it is quite simple isn't it. it works though, and that's the main thing.
     
  8. bigclaw

    bigclaw Network Guru Member

    Sorry for the completely newbie question. How do I use this print server with a Windows XP PC trying to print to a Samsung USB laser printer connected to the WRTSL54GS USB port?

    I tried the following but it didn't work.

    1. Enable raw print server on the admin page of the router.
    2. Plug the printer into the router.
    3. Windows XP->Add a Printer->Local Printer->TCP/IP->192.168.1.1.

    Can you tell me what's missing, or am I on a completely wrong track?

    Thanks a lot!
     
  9. Thibor

    Thibor Super Moderator Staff Member Member

    bigclaw, make sure the protocol is set to raw, and the port is 9100. Bidirectional printing does not work so the status monitoring app won't function but printing works just fine(depending on whether your printer is compatible of course). reboot your router after enabling the print server to be sure too
     
  10. Toxic

    Toxic Administrator Staff Member

    i just got myself a network printer HP 2575 :) saved the hassle of fighting with that lexmark of mine, its not in the bin hehehe
     
  11. bigclaw

    bigclaw Network Guru Member

    I rebooted the router several times and reconfigured the port on the XP machine. Somewhere in there I was able to print a test page successfully. Then I turned the printer off, thinking all was finally well.

    Half an hour later, I turned the printer back on and tried to print. No activity. Now I can't get it to work again. Rebooting the router doesn't help anymore. :-(

    For what's worth, I have a Windows XP Home PC, a Samsung ML-1740 laser printer, and the WRTSL54GS router.
     
  12. Disman_ca

    Disman_ca Super Moderator Staff Member Member

    I belive the issue is the print process sets up for your printer and chokes because it can't find it again. Either reboot the router or restart the process with the command as posted previously.

    I've experienced this issue while testing a few different USB printer models, the print spooler doesn't like it when you swap printers (unplug, plugin)
     
  13. bigclaw

    bigclaw Network Guru Member

    Thanks. Does this mean I have to have the printer turned on at all times once I get it to print again? This is the only printer I have, so I'm definitely not swapping different printers in and out.

    Also, the ML-1740 printer I have uses some highly proprietary drivers. Some online sources suggest using a standard postscript driver instead. I heard some Apple and HP drivers are generic. Do you know of a particular driver I can use?

    Thanks.
     
  14. bigclaw

    bigclaw Network Guru Member

    Well, I guess I have found the problem. The printer must be on when the router is (re)started for p910nd to execute correctly. Also, once the p910nd process is started, if I unplug the printer and plug it in again, the print server no longer works either. Is this the case for everybody else? Is there a way to run p910nd so that it will stick around even if the printer is off?

    Thanks.
     
  15. Thibor

    Thibor Super Moderator Staff Member Member

    p910 will not run if there is no printer at /dev/usb/lp0, i hard coded it to that location
     
  16. Thibor

    Thibor Super Moderator Staff Member Member

    i'll take a look at it, maybe i can make it behave a little more intelligently. perhaps hook it into hotplug so that p910 starts when a printer is detected(no promises though)
     
  17. bigclaw

    bigclaw Network Guru Member

    Thanks a lot. Didn't mean to push you or something. :)

    If I could just turn the printer off and on and the print server remains fully functional, it'd be very neat.
     

Share This Page