OpenWrt Forum Archive

Topic: Problem with printing

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,
I install 9100d as is written in howto, but my
Minolta 1350W don't print (I try it from WinXP). 
When I try to print,
logread -f write:
Jan  1 00:15:24 (none) kern.notice p9100d[590]: Connection from 192.168.1.200 port 1886 accepted
Jan  1 00:15:24 (none) kern.notice p9100d[590]: Finished job: 9 bytes received, 4220 bytes sent
Jan  1 00:15:29 (none) kern.notice p9100d[590]: Connection from 192.168.1.200 port 1887 accepted
Jan  1 00:15:29 (none) kern.notice p9100d[590]: Finished job: 9 bytes received, 4140 bytes sent
Jan  1 00:15:34 (none) kern.notice p9100d[590]: Connection from 192.168.1.200 port 1888 accepted
Jan  1 00:15:34 (none) kern.notice p9100d[590]: Finished job: 9 bytes received, 4140 bytes sent
and so on...

Windows told me only: "This document failed to print, ... click here for troubleshooter" :-(
again and again

Can anybody hlep me, please?
                                                                                                                          Thanks Matyas

Are you sure you have setup your windows with the correct drivers for your printer, and also set it to RAW printing ?

Check out Olegs excellent howto: http://oleg.wl500g.info/printing/

Hi,
obviously i read (and use :-)) this howto. All (printer, port) is
well configured refering the howto.
(I try it now once more and nothing again.)
                                                                   Thanks Matyas

PS: If I try it with original Asus firmware, printer didn't want to
print too.

Seems that this might be a driver or a p9100 issue. Ive got th 1300W one and with exactly the same problem.
I did also tail -f /tmp/syslog.log and that loop you shoved above where occuring.

This is what Ive tried:

-Disabled LPR mode, leaving RAW on
-Disabled RAW mode, leaving LPR on
-Enabled both (ofcourse)
-Olegs fw
-Asus fw
-Openwrt

And yes all the windows port config stuff is okay! Any ideas,clues,thoughts whatever.. anyone ?

Have you fixed your printing problem? I have something similar..i installed my USB printer (HP 1020) on wl500 deluxe, i have all things running, and my setup is corret, however when i print i get this in the log:

Aug 20 14:58:08 (none) kern.err p9100d[615]: copy_stream: Connection reset by peer

please help.

You might be able to troubleshoot whether the problem is on the Asus or a client problem: do "telnet asus 9100".   You should see something like:
==
$ telnet 192.168.1.10 9100 <--- use Asus IP here...
Trying 192.168.1.10...
Connected to  (192.168.1.10).
Escape character is '^]'.
===
type some characters, then quit with CNTRL-].

Whatever you typed should be printed.

If nothing's printed, it's an Asus p910nd setup problem; otherwise, a client problem.

Just a suggestion, mayber worthless.

We got exactly same situation, print job is spooling and disappearing, printer does not react at all.

Printer is HP LaserJet 1018, and router is Trendnet TEW-673GRU, which is identical hardware as D-link DIR-825, but has 2 USB ports.

Fist setup was perfect, everything worked after on router software enabled USB support, then enabled printing support. Printer was autopluged and recognized correctly, what could be seen with command:
# dmesg | grep usb

Windows computers were setup with Local printer/ Add port, type TCPIP, IP address of router (192.168.1.1) and port 9100, mode RAW.
Worked Perfect!

But then the problem appeared, when printer went out of paper. It just stopped printing, router reboot and printer power off and power on cycle didn't help at all.

And here is solution: you need to reinitialize printer!
To to this, you need to reload printer firmware to printer.

Fist you will need filesystem on router where you can put firmware file, I enabled JFFS2 support, and put firmware file on it:
# wget http://www.spmetas.lt/images/files/linu … 018.dl.zip
unzip it:
# unzip sihp1018.dl.zip
clean:
# rm sihp1018.dl.zip

and manually reload firmware:
# cat /jffs/sihp1018.dl >/dev/lp0

Your HP LaserJet 1018 printer will initialize and will be able to print again!!!

and finally put this line to router Startup commands script (Save startup).
So you can just reboot router to reinitialize printer.

That's all, happy printing! big_smile

The discussion might have continued from here.