Joe Baker wrote:
> Joe Baker wrote:
>
>> Jim McQuillan wrote:
>>
>>
>>> Yeah, we found that while working on LTSP-4.2 update 2, lp_server
>>> doesn't like to work in bidirectional mode with the 2.6 kernels.
>>>
>>> We changed PRINTER_x_WRITE_ONLY = Y as the default.
>>>
>>>
>>>
>>>
>> I tried putting
>> PRINTER_0_WRITE_ONLY = Y
>> Into the defaults stanza of my lts.conf file.
>> It didn't help with starting the lp_server.
>>
>> I'm going to patch the start_printer script to add a -w option for the
>> time being.
>>
>> -Joe Baker
>>
>>
>>
> Here's where I made the changes by adding -w in both lines of:
> ------------------- /opt/ltsp/i386/usr/lib/ltsp/start_printer
>
> exec /usr/lib/ltsp/lp_server -n ${PORT} ${WO_OPT} -d ${DEVICE} -w -t
> "${PRT_OPTS}" >/dev/null 2>&1
> exec /usr/lib/ltsp/lp_server -n ${PORT} -w ${WO_OPT} -d ${DEVICE}
>
>> /dev/null 2>&1
>>
Just as a followup. This didn't work to start the lp_server
automatically. I see there is some new jet-direct sort of daemon coming
out in feisty. I can wait till then for a better solution. Presently I
have to ssh into the thin client, start screen, then issue a command to
enable printing to this seldom used ink jet printer. Here's the
command that Olliver helped me fashion.
/usr/lib/ltsp/lp_server -n 9100 -d /dev/lp0 -r 192.168.0.0/24 -w &
-Joe Baker
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net