Hi Alex,

Look at this script:

------------------
#!/bin/bash
#
# Setzt Drucker anhand von Rechnernamen
#
rechnername="${DISPLAY%.*.*.*}"
#
# Unterscheidung nach Rechnername
#

case "$rechnername" in
        # Frage die Ausnahmen ab, der Rest ist dann Linuxraum
        biblio1)
                lpoptions -d bibliolaser
                ;;
        biblio2)
                lpoptions -d bibliolaser
                ;;
        biblio3)
                lpoptions -d bibliolaser
                ;;
        biblio4)
                lpoptions -d bibliolaser
                ;;
        biblio5)
                lpoptions -d bibliolaser
                ;;
        biblio6)
                lpoptions -d bibliolaser
                ;;
        sv)
                lpoptions -d bibliolaser
                ;;
        lehrer)
                lpoptions -d lehrerlaser
                ;;
        lzgymnasium)
                lpoptions -d Dell1710N
                ;;
        hausunten)
                lpoptions -d HP-PSC1215
                ;;
*)
                lpoptions -d 116laser
                # Linuxraum
                ;;
esac

------------
Ok, I'm not a script-guru, but I think it does what it should do. 
The script should be executed at login-time. This depends on what
window-manager you are using.
Many greeting from Recke,

Frank

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Alexander
Hungenberg
Gesendet: Samstag, 18. November 2006 11:23
An: ltsp-discuss@lists.sourceforge.net
Betreff: Re: [Ltsp-discuss] Printing Challenge


Hello,
that would be a first step. But how? :)

Alex

> Hallo Alexander,
>
> How about assigning a default printer in dependence of the 
> workstation? No access rights, but most of the users don't think about 
> on which printer to print, they just hit the print-button. Frank

-------------------------------------------------------------------------
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



-------------------------------------------------------------------------
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

Reply via email to