Printer stops printing after turning off and turning on

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
aolean
DD-WRT Novice


Joined: 20 May 2020
Posts: 2

PostPosted: Wed May 20, 2020 6:04    Post subject: Printer stops printing after turning off and turning on Reply with quote
This is my first post. Let me begin by thanking this community for all the guides and tutorials, this has helped me reuse an old Canon Pixma Mx 318 (all in one) and Samsung Ml1610 laser as a scanning and printing solution.

My setup is as follows :

Router : Asus RT AC 66U
Firmware : DD-WRT v3.0-r43192 giga (05/19/20)
Optional package : Entware k3.4 installed and running on 4 GB usb flash drive
USB devices : 1) Samsung ML1610 connected to USB port on router
2) USB hub with Canon Pixma Mx 318 printer and 4 GB flash drive running entware.
Services enabled : USB core support, USB storage support, USB printer support


Everything works well. I can scan using SANE droid on my mobile from the canon and also print on the samsung laser printer. Problem occurs if i switch off the printer and switch it on again, it stops printing. I have to restart the router for it to start printing again. Strangely, the scanner (canon MX 318) has no issues even if switched off and on again, it continues to scan perfectly well. Thus problem occurs only with the laser printer device if its switched off.

Here is the status from my router when everything is working well. After executing dmesg | grep usb

Code:


usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usb 1-1: new high-speed USB device number 2 using ehci-pci
usb 1-1.1: new full-speed USB device number 3 using ehci-pci
usb 1-1.2: new full-speed USB device number 4 using ehci-pci
usbcore: registered new interface driver usb-storage
usb 1-1.2.1: new full-speed USB device number 5 using ehci-pci
usb 1-1.2.1: not running at top speed; connect to a high speed hub
usb 1-1.2.2: new full-speed USB device number 6 using ehci-pci
usb 1-1.2.2: not running at top speed; connect to a high speed hub
usblp 1-1.1:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3268
usb-storage 1-1.2.2:1.0: USB Mass Storage device detected
usblp 1-1.2.1:1.1: usblp1: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x04A9 pid 0x1728
scsi host0: usb-storage 1-1.2.2:1.0
usblp 1-1.2.1:1.2: usblp2: USB Bidirectional printer dev 5 if 2 alt 0 proto 2 vid 0x04A9 pid 0x1728
usbcore: registered new interface driver usblp
usblp0: nonzero read bulk status received: -32


As far as i can understand it, Samsung laser printer is at Lp0 as dev3 and Canon is at Lp1 as dev 5. It shows two devices at Lp1 and lp2 but both as dev5 because the canon also has a printer (which i dont use).

After switching off the Laser printer and swithcing it on again this is what i get :

Code:


usb 1-1.1: USB disconnect, device number 3
usb 1-1.1: new full-speed USB device number 7 using ehci-pci
usblp 1-1.1:1.0: usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3268



As you can see the dev 3 (samsung laser) disconnected and reconnected as dev 7 and has stopped printing. Is this normal ? and is this the reason for it to stop printing

WHen i execute netstat -an i can see that the service is still running on port 9100 and listening. Asus router is at 192.168.1.4

Code:


root@DD-WRT:~# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        4      0 0.0.0.0:9100            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:23              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:6566            0.0.0.0:*               LISTEN
tcp        0      0 192.168.1.4:80          192.168.1.12:57325      TIME_WAIT
tcp        0      0 192.168.1.4:80          192.168.1.12:57308      TIME_WAIT
tcp        0      0 192.168.1.4:80          192.168.1.12:57310      TIME_WAIT
tcp    14056      0 192.168.1.4:9100        192.168.1.5:38180       ESTABLISHED



When i execute ls /dev/usb/lp0


Code:


root@DD-WRT:~# ls /dev/usb/lp0
ls: /dev/usb/lp0: No such file or directory



I am a complete newbie i am having difficulty finding where p901nd is installed and how to restart the service. It will be great if someone can help me out ! T
Sponsor
TimPaige
DD-WRT Novice


Joined: 02 Jul 2020
Posts: 1

PostPosted: Thu Jul 02, 2020 20:11    Post subject: Reply with quote
looks preatty good? which program do u use for it? or it is just html? Confused
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum