• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting Default Printer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Default Printer


  • Subject: Re: Setting Default Printer
  • From: Steve Hideg <email@hidden>
  • Date: Wed, 30 Jul 2003 10:22:17 -0500

I would use this shell command: /usr/bin/lpadmin -d <name of printer>



At 9:58 AM -0500 7/30/03, Bruce Carter wrote:
Does anyone have a script for OS X (10.2.6) that I can bandit and modify that does something like the following:

I need to set default printers for each of our various cluster areas (I know, the printers are all in the popdown menu in the print dialog/sheet, but the students are still sending print jobs to the wrong places) and it needs to run from our generic setup image. Each cluster is on its own subnet, so what I think I need to do is 1) grab the IP address, 2) cut out the third digit which represents the subnets at ND, 3) match that up against a table of known locations, 4) set the printer for that area.

Does this sound reasonable? Does anyone have something that does more or less this that I could use?

--
Bruce Carter, ACTC, MacCSE, MCP http://www.nd.edu/~bcarter/
Senior Educational Technologist mailto:email@hidden
Information Technology Center 359 AIM:bcarteratnd
University of Notre Dame +1 574 631 9191 Voice
Notre Dame, IN 46556-0539 +1 574 631 8201 FAX
_______________________________________________
maclabmanager mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/maclabmanager
Do not post admin requests to the list. They will be ignored.

--

_________________________________________________________________________
Steve Hideg
Integrated Technologies Programmer
Saint Mary's College, Notre Dame IN
<email@hidden>
_________________________________________________________________________
"If all else fails, immortality can always be assured by spectacular error"
-John Kenneth Galbraith
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Setting Default Printer (From: Bruce Carter <email@hidden>)

  • Prev by Date: Setting Default Printer
  • Next by Date: Adobe InDesign - Unlink From - how?
  • Previous by thread: Setting Default Printer
  • Next by thread: Adobe InDesign - Unlink From - how?
  • Index(es):
    • Date
    • Thread