[K12OSN] Local priner problem

Radek Bursztynowski radek at bursztynowski.waw.pl
Tue Mar 5 13:11:25 UTC 2013


Thanks a lot for all help, but still nothing. Let me explain my today exercise.

The first I used Julius's advice:
       PRINTER_0_TYPE=S
        PRINTER_0_DEVICE="/dev/usb/lp0"  # /dev/usblp0 is symbolic link to /dev/usb/lp0
        PRINTER_0_WRITE_ONLY=Y

Nothing. 
telnet 192.168.1.10:9100 
connection refused.

So, I started on thin client (shell console) jetpipe manually. 

Now telnet 192.168.1.10 9100 
connects, but still I couldn't print.

So I added /usr/sbin/jetpipe to /etc/rc.d/rc.local. Now every time telnet 192.168.1.10 9100 connects, but the printer doesn't print.

I changed PRINTER_0_TYPE=S with "U", still nothing.

I installed using chroot python-daemon, still nothing.
ps aux | grep python*
shows that any python process isn't running.

But very interesting - when I added this printer connected to thin client using system-config-printer on my LTSP server and I try to print test page, I can read the messages that printer is connected, next - the file sent to the printer, next "waiting for finishing printing job", and next "ready to use". But my printer didn't print anything.

The advice with /dev/lp0 I tried too - still noting.



When I try to add this printer on Windows computer using TCP/IP port (192.168.1.10:9100) I can see the message, that the printer is not connected (still telnet 192.168.1.10 9100 connects).

Any other advice, please?

Best regards,
Radek


----- Original Message -----
From: "Santiago Mera" <santiago.mera at dusa.com.uy>
Sent: Mon, 3/4/2013 8:54pm
To: "Support list for open source software in schools." <k12osn at redhat.com>
Subject: Re: [K12OSN] Local priner problem

Yes, that would usually be the case I think.What happened to us with parallel printers is that we see no device in the /dev directory that corresponds to the printer (no /dev/lp0 or similar). So no matter what you put in PRINTER_0_DEVICE, jetpipe will complain about not finding the device and dies.
We ended up not bothering about parallel printing and are now using serial or usb.
----
Ing. Santiago Mera
Droguería Uruguay S.A.
Tel: (+598) 2408 7505 int. 264

From: "Burke Almquist" <burke at thealmquists.net>
To: "Support list for open source software in schools." <k12osn at redhat.com>
Sent: Monday, March 4, 2013 5:30:55 PM
Subject: Re: [K12OSN] Local priner problem

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Mar 4, 2013, at 11:56 AM, Santiago Mera wrote:

> Hello Radek, 
> I have the same server as yours. The first time I tried to print locally I had the similar problems (jetpipe wasn't running).
> 
> I solved this by installing the python-daemon package in the chroot.
> I'm still unable to print to a printer connected to the thin client via the parallel port though.
> 

I think for parallel port printers you need to use
 PRINTER_0_DEVICE          = "/dev/lp0"                 instead of "/dev/usblp0"
    PRINTER_TYPE                  = P                                 instead of U or S


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAlE09nAACgkQxWV7OPa/g5EwBwCfZfiH96eoLgxZSBiUzl3Wtxw5
wtQAniN2yp+lxDZ2Ysf8IowNYZYN9GvS
=rekW
-----END PGP SIGNATURE-----

_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>

_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;




More information about the K12OSN mailing list