Ok,
NT worksations version 4
Roaming profiles and group policies
1000 clients
Two networked printes in each IT room
I have edited the script so that if the user is sendind a print and the printer port is set to lpt 1 or lpt 2 in my case both, the print will be sent through the server and back to the network printer, this que's the print jobs and give acces to all users that are in the student group. The problem is that any student that logs on to a workstation that has a local printer pointing to lpt1 or lpt2 all their print jobs come out at the printers in the IT room. So by listing the pc's names and thelling the script where to send the print job this will stop this happening.
Here is my scriptif ingroup ("students") =1
gosub students
endif
if ingroup ("cohort99_00") =1
gosub 99
endif
if ingroup ("cohort97_98") =1
gosub 97
endif
if ingroup ("cohort98_99") =1
gosub 98
endif
if ingroup ("cohort00") =1
gosub intake_00
endif
if ingroup ("cohort01") =1
gosub intake_01
endif
if ingroup ("school staff") =1
gosub staff
endif
if ingroup ("domain admins") =1
gosub other
endif
if ingroup ("sims") =1
gosub sims
endif
if ingroup ("Food") =1
gosub food
endif
if ingroup ("PrimarySchool") =1
gosub primary
endif
exit
:intake_01
use u: /del
use u: "\\Utility-server\01"
return
:intake_00
use u: /del
use u: "\\Utility-server\00"
return
:99
use u: /del
use u: "\\Utility-server\99"
return
:98
use u: /del
use u: "\\Utility-server\98"
return
:97
use u: /del
use u: "\\Utility-server\97"
return
:sims
use s: "\\admin-server\applicat"
return
:students
use g: /del
use r: /del
use o: /del
use t: /del
use s: /del
use k: /del
use m: /del
use r: "\\Utility-server\roa$"
use o: "\\Utility-server\shared"
use s: "\\Utility-server\careerscape"
use k: "\\Utility-server\kudos"
use m: "\\Utility-server\omnigraph"
use i: "\\cdromserver\sschool"
use g: "\\Utility-server\itskills"
use l: "\\curriculum\rivers"
use lpt1: "\\curriculum\PagePro4100"
use lpt2: "\\curriculum\T8Colour"
use lpt3: "\\library1\hp deskjet 500"
return
:staff
use m: /del
use n: /del
use r: /del
use k: "\\Utility-server\kudos"
use l: "\\Utility-server\careerscape"
use o: /del
use r: "\\admin-server\reports"
use o: "\\Utility-server\shared"
use n: "\\admin-server\y92001"
use m: "\\admin-server\y72001"
use l: "\\curriculum\rivers"
return
:food
use p: /del
use p: "\\cdromserver\the can"
return
ther
;;run "\\Utility-server\shared\ranger\setup.exe"
use r: "\\admin-server\reports"
use z: "\\backup server\cdrom"
use i: "\\cdromserver\sschool"
use t: "\\cdromserver\quickcad"
use p: "\\cdromserver\office97"
return
rimary
use o: "\\Utility-server\shared"
return