[K12OSN] terminal printers

Julius Szelagiewicz julius at turtle.com
Tue Jun 14 19:16:19 UTC 2005


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

>
>
> On Tue, 14 Jun 2005, Julius Szelagiewicz wrote:
>
>> On Tue, 14 Jun 2005, Sudev Barar wrote:
>>
>> > On Mon, 2005-06-13 at 22:00, Julius Szelagiewicz wrote:
>> > Sudev Barar
>>
>> Sudev, we have a misunderstanding here. This are the printers that
>> worked
>> fine before the upgrade, they don't work now. The queues get created
>> correctly, but no printing occurs.
>
>
> Seems like some simple troubleshooting is in order here.
>
> Can you telnet to port 9100 on the client and start typing?
> Hit Ctrl-L, and it should eject the page.
>
> If the connection is refused, then the lp_server daemon probably isn't
> running.  In that case, maybe it's not loading the kernel modules
> required for the printer.
>
> What type of interface does the printer have?  (Serial/Parallel/USB)
>
> Can you send us a copy of your lts.conf file?
>
>
> Printing on printers connected to LTSP-4.1.1 terminals DOES work. I've
> seen it with my own eyes.  If it's not working for you, i'm pretty sure
> we can get it figured out.
>
> Jim McQuillan
> jam at Ltsp.org


Jim,
 troubleshooting definitely, and I do hope it is simple :-)

The station I'm testing with is a Thinknic with usb printers.
this is the lts.conf entry. (the printers where defined as /dev/usb/lp0
and lp1, /dev/usb is now empty.
changed devices to tty0 and tty1 to see if the queues will get created
correctly. now i can telnet into the ports 9100 and 9101 with the
connection staying on.
[testnic]
        XSERVER            = vesa
#       PRINTER_0_DEVICE        = /dev/usb/lp0
        PRINTER_0_DEVICE        = /dev/vc/0
        PRINTER_0_TYPE          = S
#       PRINTER_1_DEVICE        = /dev/usb/lp1
        PRINTER_1_DEVICE        = /dev/vc/1
        PRINTER_1_TYPE          = S
        SCREEN_01          = startx
        SCREEN_02          = shell

What are the devices for usb printers?

This is what the manual says:
"9.2.6. Printer configuration parameters

Upto three printers can be connected to a diskless workstation. A
combination of serial and parallel printers can be configured via the
following entries in the lts.conf file:

PRINTER_0_DEVICE

The device name of the first printer. Names such as /dev/lp0, /dev/ttyS0
or /dev/ttyS1 are allowed."

Fine as far as it goes, but what happened to /dev/usb/lp(x) devices?

thank you, julius

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFCry0D2LhlZOaj6vURArKOAJ4gNtavtYotTttmM3i4DkYnfXjhEgCfS1Y6
7ql7r9zBgP2lFJr9GK3qEb8=
=4z01
-----END PGP SIGNATURE-----




More information about the K12OSN mailing list