Re: [Ltsp-discuss] Printing Challenge
OK, let me explain it a bit more detailed. We have about 5 printers. 3 in the computerrooms. While pupils can't use this room without a teacher, we can ignore these ones. But then we have two other printers. One, which is freely accessible in a corridor, and another one in the staffroom. The system contains 7 Terminals. 6 in classrooms and one in the staffroom. Now it would be nice, if the classroom terminals were all able to print on the one corridor printer, but not on the staffroom printer. The terminal in the staffroom should have access to all printers. And it would also be nice, if we simply could add diverse printers. So in my eyes the easiest would be a list with the printer names and a list with Terminals which are allowed to access them. Unfortunately I'm quite at the beginning. Means, I don't know how, only that I want! :) And thank you again for those many tips! Alex What goal are you trying to reach? How many printers to you really have? Have you experienced problems, or is this a solution in search of a problem? - 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.phpp=sourceforgeCID=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
Re: [Ltsp-discuss] Printing Challenge
Hello again, I think I'm going to find a solution named Tea4CUPS. It's a cups backend which catches the jobs before they are forwarded to the printer and lets any program/script modify them. With the already mentioned Set-default-printer solutions this would be a reasonably way to restrict the access. Because in the script you can look, if the IP and the group is allowed to print, and if not, you are able to send some messages with the notification-daemon for example. So a big thanks to all the helpers Alex - 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.phpp=sourceforgeCID=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
Re: [Ltsp-discuss] Printing Challenge
Hi Alex, Access-control via groups is implemented in cups. Think about adding the staff-users to a staff group, deny access from anyone and allow access from staff-group. Greetings, Frank -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Alexander Hungenberg Gesendet: Sonntag, 19. November 2006 11:41 An: ltsp-discuss@lists.sourceforge.net Betreff: Re: [Ltsp-discuss] Printing Challenge Hello again, I think I'm going to find a solution named Tea4CUPS. It's a cups backend which catches the jobs before they are forwarded to the printer and lets any program/script modify them. With the already mentioned Set-default-printer solutions this would be a reasonably way to restrict the access. Because in the script you can look, if the IP and the group is allowed to print, and if not, you are able to send some messages with the notification-daemon for example. So a big thanks to all the helpers Alex - 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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
Re: [Ltsp-discuss] Printing Challenge
On Sunday 19 November 2006 04:23, Alexander Hungenberg wrote: OK, let me explain it a bit more detailed. We have about 5 printers. 3 in the computerrooms. While pupils can't use this room without a teacher, we can ignore these ones. But then we have two other printers. One, which is freely accessible in a corridor, and another one in the staffroom. The system contains 7 Terminals. 6 in classrooms and one in the staffroom. Now it would be nice, if the classroom terminals were all able to print on the one corridor printer, but not on the staffroom printer. The terminal in the staffroom should have access to all printers. And it would also be nice, if we simply could add diverse printers. So in my eyes the easiest would be a list with the printer names and a list with Terminals which are allowed to access them. Unfortunately I'm quite at the beginning. Means, I don't know how, only that I want! :) Given this information, if I were setting this up I would allow unrestricted access to all print queue *except* the one in the staffroom, which would be restricted to staff users (through group membership). Then I would map default printers for each terminal as either Frank or I have described previously. This way the most logical printer would be selected by default, yet the corridor printer could be selected from anywhere, and only staff could select the printer in the staff room. Try it and see if this is adequate. Perfection is the enemy of good enough, and in this case your idea of perfection doesn't make much sense to me FWIW. -- History doesn't repeat itself; at best it rhymes. - Mark Twain | John Lucas [EMAIL PROTECTED] | | St. Thomas, VI 00802http://mrjohnlucas.googlepages.com/ | | 18.3°N, 65°WAST (UTC-4) | - 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.phpp=sourceforgeCID=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
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.phpp=sourceforgeCID=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
Re: [Ltsp-discuss] Printing Challenge
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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
Re: [Ltsp-discuss] Printing Challenge
First things first. There has to be print queues defined for every printer you intend to use. If those print queues match the terminal name *or* you have a terminal to print queue mapping in mind, you could use pretty much the same logic as Frank used but generalize it for pretty much any Linux/Unix setup by using the PRINTER environment variable (not dependant on CUPS): = # This script is meant to be invoked within ~/.bash_profile # # Assign pre-built printer queues to local terminal as default # # First let us save the currently assigned printer # OLDPRN=$PRINTER # # Next we find out which terminal we are currently using # TERMNAME=`echo $DISPLAY | cut -d: -f1` # # case $TERMNAME in # Only put matches for pre-built print queues matching termname term1) export PRINTER=$TERMNAME ;; term2) export PRINTER=$TERMNAME ;; *) export PRINTER=$OLDPRN ;; esac == This assumes is called from within the user's .bash_profile file (or /etc/bash_profile): . /usr/local/share/set-prn.sh It also assumes that the PRINTER variable is set to some sensible default to begin with. I create symbolic links in users home directory that point to shared .bash_profile (and .bashrc and .icewm), so I can guarantee such things. The default case (*)) could be set to any valid printer instead or no default at all. This won't work without setting up the queues properly and enabling print service on the terminal (making them look like HP JetDirect print servers) to allow them to be targets in the queue definition. Not all terminals will be running as print service targets, so there should be a sensible default set somewhere. On Saturday 18 November 2006 12:26, Frank Bergmann wrote: 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV _ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https
Re: [Ltsp-discuss] Printing Challenge
Hello John, hello Frank, thank you for this great ideas. I will try it next time (friday). I understood the first facility, but maybe you can explain the second one a little bit more. 1. If I set the printer variable, it accesses the given queue on a local cups server? 2. If this is so, can the users access the other queues, or only this one? 3. This was a good cause for thought. If you can set the default printer like this, won't it be possible to install a printer with a script. So that you don't had any printers before, but in the script are the commands to install a printer temporary for only one user depending on the terminal name? Bye Alex Am Samstag 18 November 2006 18:56 schrieb John Lucas: First things first. There has to be print queues defined for every printer you intend to use. If those print queues match the terminal name *or* you have a terminal to print queue mapping in mind, you could use pretty much the same logic as Frank used but generalize it for pretty much any Linux/Unix setup by using the PRINTER environment variable (not dependant on CUPS): = # This script is meant to be invoked within ~/.bash_profile # # Assign pre-built printer queues to local terminal as default # # First let us save the currently assigned printer # OLDPRN=$PRINTER # # Next we find out which terminal we are currently using # TERMNAME=`echo $DISPLAY | cut -d: -f1` # # case $TERMNAME in # Only put matches for pre-built print queues matching termname term1) export PRINTER=$TERMNAME ;; term2) export PRINTER=$TERMNAME ;; *) export PRINTER=$OLDPRN ;; esac == This assumes is called from within the user's .bash_profile file (or /etc/bash_profile): . /usr/local/share/set-prn.sh It also assumes that the PRINTER variable is set to some sensible default to begin with. I create symbolic links in users home directory that point to shared .bash_profile (and .bashrc and .icewm), so I can guarantee such things. The default case (*)) could be set to any valid printer instead or no default at all. This won't work without setting up the queues properly and enabling print service on the terminal (making them look like HP JetDirect print servers) to allow them to be targets in the queue definition. Not all terminals will be running as print service targets, so there should be a sensible default set somewhere. - 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.phpp=sourceforgeCID=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
Re: [Ltsp-discuss] Printing Challenge
On Saturday 18 November 2006 15:42, Alexander Hungenberg wrote: Hello John, hello Frank, thank you for this great ideas. I will try it next time (friday). I understood the first facility, but maybe you can explain the second one a little bit more. 1. If I set the printer variable, it accesses the given queue on a local cups server? 2. If this is so, can the users access the other queues, or only this one? 3. This was a good cause for thought. If you can set the default printer like this, won't it be possible to install a printer with a script. So that you don't had any printers before, but in the script are the commands to install a printer temporary for only one user depending on the terminal name? You can restrict access to queues managed by CUPS (made easy with the KDE print tools) by user or group membership. So, if the terminal attached printers were made publicly accessible and you restricted access to other print servers (real JetDirect equipped printer for instance), then you can have the situation where public printing can only happen on one category of printer. Terminals don't print, users do. Access to the print queue can be restricted by IP address, but that won't help because they are being accessed from only one computer (the LTSP server). I don't think you will find what you are looking for ready-made. I don't think creation (and destruction) of queues on the fly is practical (if it can even be done without causing more problems than it would cause). What goal are you trying to reach? How many printers to you really have? Have you experienced problems, or is this a solution in search of a problem? Bye Alex Am Samstag 18 November 2006 18:56 schrieb John Lucas: First things first. There has to be print queues defined for every printer you intend to use. If those print queues match the terminal name *or* you have a terminal to print queue mapping in mind, you could use pretty much the same logic as Frank used but generalize it for pretty much any Linux/Unix setup by using the PRINTER environment variable (not dependant on CUPS): = # This script is meant to be invoked within ~/.bash_profile # # Assign pre-built printer queues to local terminal as default # # First let us save the currently assigned printer # OLDPRN=$PRINTER # # Next we find out which terminal we are currently using # TERMNAME=`echo $DISPLAY | cut -d: -f1` # # case $TERMNAME in # Only put matches for pre-built print queues matching termname term1) export PRINTER=$TERMNAME ;; term2) export PRINTER=$TERMNAME ;; *) export PRINTER=$OLDPRN ;; esac = = This assumes is called from within the user's .bash_profile file (or /etc/bash_profile): . /usr/local/share/set-prn.sh It also assumes that the PRINTER variable is set to some sensible default to begin with. I create symbolic links in users home directory that point to shared .bash_profile (and .bashrc and .icewm), so I can guarantee such things. The default case (*)) could be set to any valid printer instead or no default at all. This won't work without setting up the queues properly and enabling print service on the terminal (making them look like HP JetDirect print servers) to allow them to be targets in the queue definition. Not all terminals will be running as print service targets, so there should be a sensible default set somewhere. - 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.phpp=sourceforgeCID=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 -- History doesn't repeat itself; at best it rhymes. - Mark Twain | John Lucas [EMAIL PROTECTED] | | St. Thomas, VI 00802http://mrjohnlucas.googlepages.com/ | | 18.3°N, 65°WAST (UTC-4) | - 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.phpp=sourceforgeCID=DEVDEV
Re: [Ltsp-discuss] Printing Challenge
On Sunday 19 November 2006 00:26, [EMAIL PROTECTED] wrote: But the other two. I don't know if I understood you wrong but in my opinion the problem is, that a terminalsystem is logically only one pc. And from the terminal you haven't got access to the real system which ultimatly spools the printer. So if you set an environment variable, or some kernel options on the terminal, it won't affect the printing process on the server, because he even don't asks the terminal for anything. Please correct me if I'm wrong (most likely I'm wrong) :) and thanks for your help There are two systems and they are loosely coupled: There are machines that want to print something. They may be clients, whole machines, winders machines etc etc The are 'machines' that print stuff. They may be winders machines, servers, clients, stand-alone printers. Finally you connect a want-to-print-machine to a printer-machine using a technique that is some what dependant on the implementation ie cups Now a thin-client is not (generally) a logical pc. It is a (one of many) keyboard and display on the server machine. It may also act as a printer-machine that may or may not be related to the server on which you are working using the want-to-print-machine to printer-machine association and techniques. Now just about any bizare setup is possible, but generally a single spooler accessed by many want-to-print-machines makes sense. The spooler handles the details of which printer-machines to use, how and when. Now your printing issues boil down to which want-to-print-machines using the spooler access which printer-machines. James - 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.phpp=sourceforgeCID=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
[Ltsp-discuss] Printing Challenge
Hello list, I'm new here, so I first want to say hello. But the reason for contacting this list is a big challenge with ltsp. I'm a student on a school in Germany and I manage the computers with some others... This summer we decided to bring PC's in each classroom. The perfect solution for it: ltsp. Because we bought new PCs for one computer room, we could use the 7 years old ones as terminal clients. We only needed to buy a new big Server. Now our problem. The system works very fine, and everything is allright. But it would be nice, if we also could print at the terminals. Normally, that's no problem. But we want to restrict the access to the printers based on the geographical location of the terminal and the printer. So it would be ideally, if we have a list with the IPs of the terminals and then the printers by each IP where you are allowed to print at. I heard about the possibility to change a cups binary on the server which filters the IP of the terminal where the current user works out of the DISPLAY variable. With this you could look in the list if it is allowed to print on this printer. But I'm not so familiar with CUPS that I know where to begin. Someone on the LinuxWorldExpo in Cologne this week recommended me this list, because he knew that here are people, who manage even much bigger terminal networks. So I would be grateful if someone can help me with this problem. Have a nice weekend Alexander Hungenberg - 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.phpp=sourceforgeCID=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
Re: [Ltsp-discuss] Printing Challenge
You know, I never thought about this before, but is it possible to have the printer default to the ltsp kernel? For example, have ten copies of the kernel in 10 directories and each directory has a printer defaulted somewhere in it. Is that possible, or is it all dependent on the login? Another question to ask would be whether there's a printer option that can be loaded into lts.conf or some other config file we have. Alexander Hungenberg wrote: Hello list, I'm new here, so I first want to say hello. But the reason for contacting this list is a big challenge with ltsp. I'm a student on a school in Germany and I manage the computers with some others... This summer we decided to bring PC's in each classroom. The perfect solution for it: ltsp. Because we bought new PCs for one computer room, we could use the 7 years old ones as terminal clients. We only needed to buy a new big Server. Now our problem. The system works very fine, and everything is allright. But it would be nice, if we also could print at the terminals. Normally, that's no problem. But we want to restrict the access to the printers based on the geographical location of the terminal and the printer. So it would be ideally, if we have a list with the IPs of the terminals and then the printers by each IP where you are allowed to print at. I heard about the possibility to change a cups binary on the server which filters the IP of the terminal where the current user works out of the DISPLAY variable. With this you could look in the list if it is allowed to print on this printer. But I'm not so familiar with CUPS that I know where to begin. Someone on the LinuxWorldExpo in Cologne this week recommended me this list, because he knew that here are people, who manage even much bigger terminal networks. So I would be grateful if someone can help me with this problem. Have a nice weekend Alexander Hungenberg - 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.phpp=sourceforgeCID=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 -- joe auerbach systems administrator pcb / rossman and co 614-523-4150 [EMAIL PROTECTED] - 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.phpp=sourceforgeCID=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
Re: [Ltsp-discuss] Printing Challenge
Forgive me if I'm totally wrong on this... Could you set some kind of environment variable (default_print_queue maybe?) at login that is based on MAC address...?? On Fri, 2006-17-11 at 13:52 -0500, Joe Auerbach wrote: You know, I never thought about this before, but is it possible to have the printer default to the ltsp kernel? For example, have ten copies of the kernel in 10 directories and each directory has a printer defaulted somewhere in it. Is that possible, or is it all dependent on the login? Another question to ask would be whether there's a printer option that can be loaded into lts.conf or some other config file we have. Alexander Hungenberg wrote: Hello list, I'm new here, so I first want to say hello. But the reason for contacting this list is a big challenge with ltsp. I'm a student on a school in Germany and I manage the computers with some others... This summer we decided to bring PC's in each classroom. The perfect solution for it: ltsp. Because we bought new PCs for one computer room, we could use the 7 years old ones as terminal clients. We only needed to buy a new big Server. Now our problem. The system works very fine, and everything is allright. But it would be nice, if we also could print at the terminals. Normally, that's no problem. But we want to restrict the access to the printers based on the geographical location of the terminal and the printer. So it would be ideally, if we have a list with the IPs of the terminals and then the printers by each IP where you are allowed to print at. I heard about the possibility to change a cups binary on the server which filters the IP of the terminal where the current user works out of the DISPLAY variable. With this you could look in the list if it is allowed to print on this printer. But I'm not so familiar with CUPS that I know where to begin. Someone on the LinuxWorldExpo in Cologne this week recommended me this list, because he knew that here are people, who manage even much bigger terminal networks. So I would be grateful if someone can help me with this problem. Have a nice weekend Alexander Hungenberg - 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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
Re: [Ltsp-discuss] Printing Challenge
Jim Kinney mentioned on the K12LTSP list a month or two back that he was working on this exact problem. Not sure if he got it working or not. Use google to check the archives at www.redhat.com/archives/k12osn. Petre Alexander Hungenberg wrote: Hello list, I'm new here, so I first want to say hello. But the reason for contacting this list is a big challenge with ltsp. I'm a student on a school in Germany and I manage the computers with some others... This summer we decided to bring PC's in each classroom. The perfect solution for it: ltsp. Because we bought new PCs for one computer room, we could use the 7 years old ones as terminal clients. We only needed to buy a new big Server. Now our problem. The system works very fine, and everything is allright. But it would be nice, if we also could print at the terminals. Normally, that's no problem. But we want to restrict the access to the printers based on the geographical location of the terminal and the printer. So it would be ideally, if we have a list with the IPs of the terminals and then the printers by each IP where you are allowed to print at. I heard about the possibility to change a cups binary on the server which filters the IP of the terminal where the current user works out of the DISPLAY variable. With this you could look in the list if it is allowed to print on this printer. But I'm not so familiar with CUPS that I know where to begin. Someone on the LinuxWorldExpo in Cologne this week recommended me this list, because he knew that here are people, who manage even much bigger terminal networks. So I would be grateful if someone can help me with this problem. Have a nice weekend Alexander Hungenberg - 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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
Re: [Ltsp-discuss] Printing Challenge
Hello again, thank you for those many answers. I will have a look at k12osn, thanks for the hint. But the other two. I don't know if I understood you wrong but in my opinion the problem is, that a terminalsystem is logically only one pc. And from the terminal you haven't got access to the real system which ultimatly spools the printer. So if you set an environment variable, or some kernel options on the terminal, it won't affect the printing process on the server, because he even don't asks the terminal for anything. Please correct me if I'm wrong (most likely I'm wrong) :) and thanks for your help Alex - 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.phpp=sourceforgeCID=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
Re: [Ltsp-discuss] Printing Challenge
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 -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Alexander Hungenberg Gesendet: Freitag, 17. November 2006 19:49 An: ltsp-discuss@lists.sourceforge.net Betreff: [Ltsp-discuss] Printing Challenge Hello list, I'm new here, so I first want to say hello. But the reason for contacting this list is a big challenge with ltsp. I'm a student on a school in Germany and I manage the computers with some others... This summer we decided to bring PC's in each classroom. The perfect solution for it: ltsp. Because we bought new PCs for one computer room, we could use the 7 years old ones as terminal clients. We only needed to buy a new big Server. Now our problem. The system works very fine, and everything is allright. But it would be nice, if we also could print at the terminals. Normally, that's no problem. But we want to restrict the access to the printers based on the geographical location of the terminal and the printer. So it would be ideally, if we have a list with the IPs of the terminals and then the printers by each IP where you are allowed to print at. I heard about the possibility to change a cups binary on the server which filters the IP of the terminal where the current user works out of the DISPLAY variable. With this you could look in the list if it is allowed to print on this printer. But I'm not so familiar with CUPS that I know where to begin. Someone on the LinuxWorldExpo in Cologne this week recommended me this list, because he knew that here are people, who manage even much bigger terminal networks. So I would be grateful if someone can help me with this problem. Have a nice weekend Alexander Hungenberg - 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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