Abu.Zahra:

I use the following script, originally written by Peter Scheie, to set the default printer. Unfortunately, evince doesn't respect it - most everything else does. I'm not sure how to allow an unprivileged user restart a queue, sorry.

Cheers,
Michael


#!/bin/sh
# Set default printer based on which workstation is being used
# Propers to Peter Scheie ([EMAIL PROTECTED])
ws=$(echo $LTSP_CLIENT|cut -d. -f1)
case $ws in
  ws0-007 ) lpoptions -d CupsPrinterName ;;
  ws0-017 ) lpoptions -d Shared_Color_Printer ;;
  ws1-007 ) lpoptions -d OtherCupsPrinter ;;
  # and so on for the library workstations

  # now assign printers for the lab workstations
  # ws013 ) lpoptions -d lab_printer ;;
  # ws014 ) lpoptions -d lab_printer ;;
  # and so on
esac

### End of script

rudy prasatio wrote:
Hi All,
1. Can I set each terminal on ltsp to have they own default network printer?
I have 4 network printers connected to the ltsp server, 1 is set as default.
2. Is it possible for user to set printer as stop/start without the root
password. In some case user need to be set their printer stop/start.
    As a user I was tried to set printer stop in KDE Panel, & its prompt me
the root password.
Note:
- Open Suse 10.2
- LTSP-4.2
- KDE for XDMCP
- CUPS as print server

Cheers,
Abu.Zahra.

------------------------------------------------------------------------

-------------------------------------------------------------------------
SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
------------------------------------------------------------------------

_____________________________________________________________________
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

--


CONFIDENTIALITY NOTICE:
This message, and any attachments that may accompany it, contain information that is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise exempt from disclosure under applicable law. If the recipient of this message is not the intended recipient, any disclosure, copying, or other use of this communication or any of the information, which it contains is unauthorized and prohibited. If you have received this message in error, please notify the original sender by return mail and delete this message, along with any attachments, from your computer. Thank you.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_____________________________________________________________________
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