Thanks Jim. I feel honored when I get a response from you in person, pretty darn cool.<br><br>I am using Ubuntu, but I am using LTSP 4.2 not MUkow. I am also using cups (via the (gnome-cups-manager) to manage printers. The printer is shared via smb://&nbsp; Using your example below would I just do something similar to:
<br><br>case `echo $DISPLAY | sed s/:.*$//` in<br>&nbsp;&nbsp;ws004)&nbsp;&nbsp; lpoptions -d smb://pathtoprinter;;<br>&nbsp;&nbsp;ws005)&nbsp;&nbsp; lpoptions -d smb://pathtootherprinter;<br>esac<br><br>Thanks again for your help.<br>John<br><br><div><span class="gmail_quote">
On 1/28/07, <b class="gmail_sendername">Jim McQuillan</b> &lt;<a href="mailto:jam@mcquil.com">jam@mcquil.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
John,<br><br>what you are trying to do, really isn&#39;t LTSP related at all.<br><br>It just so happens that your users are connection with LTSP terminals,<br>and the printers are attached to LTSP terminals.&nbsp;&nbsp;Other than that, it&#39;s
<br>really a printer management issue on the server.<br><br>You want one users default printer to be printerA, and another users<br>default printer to be printerB.<br><br>Assuming that you&#39;ve got your printers all configured in CUPS on the
<br>server, you can use the &#39;lpoptions&#39; command to set a default for each user.<br><br>Because a user may log into ws004 in the morning, and then log into<br>ws005 in the afternoon, you&#39;ll need to call lpoptions each time the user
<br>logs in.&nbsp;&nbsp;the /etc/profile script might be a good place to put this.<br><br>The magic scripting you&#39;ll need to add is something like this:<br><br>case `echo $DISPLAY | sed s/:.*$//` in<br>&nbsp;&nbsp;ws004)&nbsp;&nbsp; lpoptions -d printerA;;
<br>&nbsp;&nbsp;ws005)&nbsp;&nbsp; lpoptions -d printerB;;<br>esac<br><br>That way, each time a user logs in, it checks the current terminal that<br>they are logging in with, and it sets their default printer accordingly.<br><br>If you are using Ubuntu&#39;s LTSP, you can&#39;t use the $DISPLAY, you&#39;ll have
<br>to use another env variable, like $SSH_CLIENT, which has a different<br>format.&nbsp;&nbsp;do:&nbsp;&nbsp;echo $SSH_CLIENT to see what the value looks like.<br><br>Hope that helps,<br>Jim McQuillan<br><a href="mailto:jam@Ltsp.org">jam@Ltsp.org
</a><br><br><br>john wrote:<br>&gt; Hi all,<br>&gt;<br>&gt; I want to use networked printing on my thin clients and specify it per<br>&gt; station ( e.g tell ws004 to print to networked printer A and ws005 to<br>&gt; print to networked printer B).
<br>&gt;<br>&gt; My reading of lts.conf it appears to say that one can only do this<br>&gt; with local printers. Can anyone help me figure out if what I want to<br>&gt; do is possible?<br>&gt;<br>&gt; TIA!<br>&gt;<br>&gt; John
<br></blockquote></div><br>