[K12OSN] Local priner problem
julius at turtle.com
julius at turtle.com
Mon Mar 4 16:07:06 UTC 2013
Radek, same server as yours, this is what works for me like a charm:
PRINTER_0_TYPE=S
PRINTER_0_DEVICE="/dev/usb/lp0"
PRINTER_0_WRITE_ONLY=Y
Check the /dev files. I use "Write only" because I don't want or need
the chatter. The printer type is really serial as in "Universal Serial
Bus".
A good way to test for the properly created printer process is:
telnet 192.168.1.10 9100.
you should get:
Connected to 192.168.1.10.
Escape character is '^]'.
Julius
----- Original Message -----
From: "Support list for open source software in schools."
To:
Cc:
Sent:Mon, 4 Mar 2013 16:21:19 +0100
Subject:[K12OSN] Local priner problem
Hello All,
Today I try the first time to use local printer connected to thin
client, and no effect.
My LTSP server is CentOS 6.3 x86_64.
My local printer connected to thin client via USB is Samsung ML-2165.
This printer connected to the server directly works very well.
The first I checked is thin client sees this printer.
Using Ctrl+F6 I switched to the shell and:
# tail -f /var/log/messages
I can see that printer is connected to /dev/usblt0
I checked jetpipe:
# ps aux | grep jetpipe
and I can see:
root 3463 0.0 0.0 760 pts/1 S+ 14:49 0:00 grep
jetpipe
Thin client configuration in lts.conf:
[E0:69:95:65:A1:EB] # Nettop D510
LIKE
= CentOS
PRINTER_0_DEVICE = "/dev/usblp0"
PRINTER_0_PORT = 9100
PRINTER_TYPE = U
Thin client receives from DHCP IP address 192.168.1.10
# Netbook D510
host d510 {
option host-name "d510";
hardware ethernet E0:69:95:65:A1:EB;
fixed-address 192.168.1.10;
### LTSP 5
option root-path "192.168.1.230:/opt/ltsp/i386";
next-server 192.168.1.230;
filename "/ltsp/i386/pxelinux.0";
### Koniec LTSP 5
}
Finally I added printer using system-config-printer:
socket://192.168.1.10:9100
And nothing.
I checked archives this issue and I found this post:
https://www.redhat.com/archives/k12osn/2012-September/msg00009.html
Follow this advice I deleted old jetpipe from thin client chroot and
I renamed p910nd in jetpipe.
Still nothing. I can see the message that the printer could be not
connected.
What should I to do to use local printer.
Any advice will be priceless.
Best regards,
Radek This email is confidential and intended solely for the use of
the individual to whom it is addressed. Please note, any views or
opinions presented in this email are solely those of the author and
do not necessarily represent those of Turtle & Hughes, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20130304/6bc9da92/attachment.htm>
More information about the K12OSN
mailing list