Page 1 of 2 12 LastLast
Results 1 to 15 of 20

Thread: Printing problem

  1. #1

    Printing problem

    I spent a few hours to make my wl500gx work with my Canon LBP 1120 printer.
    I have 1.9.2.7-5a firmware
    I followed this tutorial to install my printer on windows 2000 (I also tried on XP), but without success.
    The driver of that printer launch a small exe each time you print. Here is the screenshot:



    If you know a way to make it work on the next firmware update, I will be more than happy to know it
    Canon provides drivers for Linux >>Here<<, so I hope it is possible to fix that problem.

    PS: sorry for my bad english, I am French
    Last edited by renaudtwingo; 05-06-2005 at 23:36.

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,258
    This printer requires bidirectional communication to work for printing. You may want to try executing these commands in the telnet session:
    Code:
    killall p910nd
    p9100d -f /dev/usb/lp0 0 -b
    and then try printing again after rebooting of your PC.

  3. #3
    The first command is OK, but I have "-sh: p9100d: not found" for the second one. I used "p910nd -f /dev/usb/lp0 0 -b" instead, but the printer is still not working (with or without rebooting the router).
    Do you have any experience with this printer?
    Last edited by renaudtwingo; 06-06-2005 at 22:12.

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,258
    Should be p910nd.
    No, never used it. Just checked linux sources. You're out of luck then...

    Do you've anything in the system log after print attempt?

  5. #5
    Nothing on the "system log" (from the web interface).
    I could not find any log file in /var/log/, is it normal?
    I strange thing is I cannot find my router with Asus Device Discovery utility.
    I do not have any printer the web interface (Status & Log>Status>Printer) since I used your firmware. With firmware 1.9.4.0 I used to have "Canon LBP1120".

  6. #6
    After several tries I finally succeed to have this:



    But I still have the same error message on driver: Port Busy
    I double checked the system log and I have :

    Code:
    Jun  7 00:17:28 p9100d[120]: Connection from 192.168.1.5 port 1692 accepted 
    Jun  7 00:17:28 p9100d[120]: /dev/usb/lp0: No such device 
    Jun  7 00:17:28 p9100d[120]: Finished job: 138419 bytes received, 0 bytes sent 
    Jun  7 00:18:25 p9100d[120]: Connection from 192.168.1.5 port 1693 accepted 
    Jun  7 00:18:25 p9100d[120]: /dev/usb/lp0: No such device 
    Jun  7 00:18:25 p9100d[120]: Finished job: 51845 bytes received, 0 bytes sent

  7. #7
    Join Date
    Sep 2004
    Location
    NL
    Posts
    206
    You may try the following way:

    Printer Properties, Details Tab, queue or port properties, select print directly to printer, disable all queuing (On WXp this will probably be on the "Advanced" tab). If this doesn't work you may also try:

    1: Install printer to local (USB) port
    2: Set up LPRServer printing port (see Asus manual or this forum), be careful to set this up correctly!
    3: Attach printer to WL-500g
    4: Change printer port to LPRServer
    5: Printer Properties, Details Tab, queue or port properties, select print directly to printer.

    You will need a firmware which supports LPR printing, you should be able to find out on this forum which one will do (probably the original firmware that came with your WL-500g will do)

    Good luck
    Last edited by brubber; 07-06-2005 at 19:50.
    Brubber

    WL-500g, WL-138g, WL-160g

  8. #8
    Still not working...
    Any idea?

  9. #9
    did you ever get it to "see" the printer on the usb ?

    Did you try to connect and turn on your printer, and do a :

    Code:
    ls -l /dev/usb
    ?

    You should get something like :
    Code:
    lp0
    Also, you could try to boot your router with your printer connected but NOT turned on.

    Then logon using telnet, and execute :

    Code:
    tail -f /tmp/syslog.log
    You will now see the last 10 lines of your syslog file, and see any changes to the syslog as they happen.

    Now turn on your printer, and check in the telnet session if something happens in the syslog. In my (with a HP PSC950) I get the following when turning on my printer :

    Code:
    Jun 15 09:15:23 kernel: hub.c: new USB device 01:02.0-1, assigned address 2
    Jun 15 09:15:23 kernel: printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1E11
    Jun 15 09:15:23 kernel: printer.c: usblp0 Device ID string [247]='MFG:Hewlett-Packard;MDL:PSC 900 Series;SKU:PSC 950;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard PSC 900 Series;1284.3M:f7f,f7f;1284.4DL:4d,4e,1;SERN:MY23GD215MWP;VSTATUS:$HB0$NC0,ff,DN,IDLE,CUT,K0,C0,SM,NR,KP061,CP096;AiO:00;DW-PCL;'
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  10. #10
    When I turn on my printer I have:

    Code:
    Jun 16 00:07:15 kernel: hub.c: new USB device 01:02.0-2, assigned address 2
    Jun 16 00:07:15 kernel: printer.c: usblp0: USB Bidirectional printer dev 2 if 0
    alt 0 proto 2 vid 0x04A9 pid 0x262B
    Jun 16 00:07:15 kernel: printer.c: usblp0 Device ID string [94]='MFG:Canon;MDL:L
    ASER SHOT LBP-1120;CMD:CAPT;VER:1.0;CLS:PRINTER;DES:Canon LASER SHOT LBP-1120'
    But when I try to print I have:

    Code:
    Jun 16 00:27:52 p9100d[69]: Connection from 192.168.1.2 port 1078 accepted
    Jun 16 00:27:52 p9100d[69]: /dev/usb/lp0: No such device
    Jun 16 00:27:53 p9100d[69]: Finished job: 185262 bytes received
    Where 192.168.1.2 is the IP of the PC I am printing from.

    When I list /dev/usb I have:

    Code:
    admin@router root]$ ls -l /dev/usb
    crw-rw----    1 admin    root     180,   0 Jan  1  1970 lp0
    So I do not understand why I have "Jun 16 00:27:52 p9100d[69]: /dev/usb/lp0: No such device" in syslog.log if lp0 exists!

    On the GUI I have:


    I found this topic might be interesting, but I am not clever enough to understand:
    http://www.linuxprinting.org/piperma...q4/001704.html
    Last edited by renaudtwingo; 16-06-2005 at 00:04.

  11. #11
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,258
    Please type
    Code:
    cat /proc/bus/usb/devices
    and post results here.

  12. #12
    Here is the result:

    Code:
    [admin@router root]$ cat /proc/bus/usb/devices
    T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 4
    B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
    P:  Vendor=0000 ProdID=0000 Rev= 2.04
    S:  Manufacturer=Linux 2.4.20 ehci_hcd
    S:  Product=PCI device 1106:3104
    S:  SerialNumber=01:02.2
    C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
    T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
    B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
    D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
    P:  Vendor=0000 ProdID=0000 Rev= 0.00
    S:  Product=USB UHCI Root Hub
    S:  SerialNumber=120
    C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
    T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
    B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
    D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
    P:  Vendor=0000 ProdID=0000 Rev= 0.00
    S:  Product=USB UHCI Root Hub
    S:  SerialNumber=100
    C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
    T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
    D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
    P:  Vendor=04a9 ProdID=262b Rev= 1.00
    S:  Manufacturer=Canon
    S:  Product=Canon CAPT USB Printer
    S:  SerialNumber=0150JEgA
    C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
    I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
    E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
    E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

  13. #13
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,258
    Ok, could you please complete system log too? The no such device is also returned for some other errors...

  14. #14
    Quote Originally Posted by Oleg
    Ok, could you please complete system log too? The no such device is also returned for some other errors...
    You mean /tmp/syslog.log?

  15. #15
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,258
    yes, the same as seen via web interface.

Page 1 of 2 12 LastLast

Similar Threads

  1. RAW printing problem
    By krimskrams in forum WL-500g Q&A
    Replies: 1
    Last Post: 01-08-2005, 17:58
  2. Epson Stylus Photo R800 printing problem
    By phyrhk in forum WL-500g Q&A
    Replies: 2
    Last Post: 05-09-2004, 08:26
  3. 1.7.5.9-2 RAW Printing problem
    By FrankyG in forum WL-500g Custom Development
    Replies: 6
    Last Post: 26-07-2004, 09:28
  4. Printing
    By Oleg in forum WL-500g Custom Development
    Replies: 4
    Last Post: 09-04-2004, 09:52

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •