+ Post New Thread
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 51
Windows Thread, need advice on assigning printers based on classroom in Technical; Originally Posted by webman As bossman says, it's this easy . Off topic but how did you create that example? ...
  1. #31
    Heebeejeebee's Avatar
    Join Date
    Nov 2006
    Location
    Intergalactic Cruise
    Posts
    1,062
    Thank Post
    69
    Thanked 80 Times in 63 Posts
    Rep Power
    36

    Re: need advice on assigning printers based on classroom

    Quote Originally Posted by webman
    As bossman says, it's this easy.
    Off topic but how did you create that example? That's the sort of thing I need to do for some of our staff but the software I've managed to find is clunky and doesn't make smooth animations.

    Now back to topic. We tried R2's push printers features and had to go back to a script that picks up the room names because the printers were not always being installed with R2 (see this thread)

    HBJB

  2. #32

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,417
    Thank Post
    644
    Thanked 965 Times in 665 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: need advice on assigning printers based on classroom

    HBJB: I used Wink.

  3. #33
    Heebeejeebee's Avatar
    Join Date
    Nov 2006
    Location
    Intergalactic Cruise
    Posts
    1,062
    Thank Post
    69
    Thanked 80 Times in 63 Posts
    Rep Power
    36

    Re: need advice on assigning printers based on classroom

    Quote Originally Posted by webman
    HBJB: I used Wink.
    I'm checking it out now.

    Edit: Looks nice and does the job well. Free as well!

    Thanks

    HBJB

  4. #34
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    893
    Thank Post
    70
    Thanked 85 Times in 70 Posts
    Rep Power
    33

    Re: need advice on assigning printers based on classroom

    Quote Originally Posted by webman
    HBJB: I used Wink.
    Thanks for the tip, very useful.

  5. #35

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,158
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124

    Re: need advice on assigning printers based on classroom

    Quote Originally Posted by NetworkGeezer
    @joedetic
    Yeah ...the problem with monolithic batch files is that the Windows command processor doesn't do string splicing. This means you either have to name each printer or put the room attribute in an enviromental variable.
    Not completely true. NT/2000/XP do string slicing and splicing. It's a bit hard work but it's all possible - try this:
    Code:
    @echo off
    set a=123456789
    set b=%a:~0,3%
    set c=%a:~3,2%
    set d=%c%%b%
    echo %a%
    echo %b%
    echo %c%
    echo %d%
    Quote Originally Posted by NetworkGeezer
    Of course room identifiers don't matter so much if the script is run from a GPO which then selects the right computers. For those prefering the centralisation of monolithic scripts it's better to use a grown up language such as VBS/JScript or KiXtart
    Agreed to the last bit :-) all you then have to worry about is putting the computers in the right OU and the job's all done.

  6. #36
    projector1's Avatar
    Join Date
    Nov 2005
    Posts
    461
    Thank Post
    70
    Thanked 1 Time in 1 Post
    Rep Power
    19

    Re: need advice on assigning printers based on classroom

    Quote Originally Posted by Ric_
    You could use

    Code:
    Mid(computerName, 7, 5)
    This will return 5 characters from the computer name, starting at the 7th character.
    well back at work today
    was just mooching over your suggestion......

    if i use Mid(computerName, 7, 5)

    that will not work with the
    rooms that have pc's named

    R30-13 need to extract R30-
    RDCXP21 need to extract RDC or RDCXP

  7. #37

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,158
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124

    Re: need advice on assigning printers based on classroom

    This is where you need a standard naming convention that helps with things like this. for example, in theory all our room names are like WG150 (Willesden; G Block; 1st floor; room 50) so we should be able to name computers and know that the first 5 characters are the room number. This all falls over when you get rooms like WFG33A (room 33A on the ground floor)

    We've now given up trying to assume we can have a standard PC name and put machines in OUs - it's easy to find the OU name and that effectively is the room name.

    If you decide to rename a batch of computers then it can (of course!) be scripted - I've put some info here:http://techinfo.cnwl.ac.uk/Windows%2...20computer.htm

  8. #38

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,987
    Thank Post
    3,536
    Thanked 1,107 Times in 1,014 Posts
    Rep Power
    374

    Re: need advice on assigning printers based on classroom

    Quote Originally Posted by projector1
    Quote Originally Posted by Ric_
    You could use

    Code:
    Mid(computerName, 7, 5)
    This will return 5 characters from the computer name, starting at the 7th character.
    well back at work today
    was just mooching over your suggestion......

    if i use Mid(computerName, 7, 5)

    that will not work with the
    rooms that have pc's named

    R30-13 need to extract R30-
    RDCXP21 need to extract RDC or RDCXP
    I think you will find that the split function will do the trick for you if you have hyphens in your room names ie

    RDC-#

    then you can split it using the hyphen which is the common denominator

  9. #39
    projector1's Avatar
    Join Date
    Nov 2005
    Posts
    461
    Thank Post
    70
    Thanked 1 Time in 1 Post
    Rep Power
    19

    Re: need advice on assigning printers based on classroom

    sorry over the summer i plan to standardise the it suite naming convention

    not all the pc names contain hyphens

    i have contemplated another ou for laptops thus another vb script, but if there is away around it then i would be greatful

    thanks for the suggestion though

  10. #40

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131

    Re: need advice on assigning printers based on classroom

    Quote Originally Posted by webman
    As bossman says, it's this easy. :D
    no replay button?

  11. #41

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,417
    Thank Post
    644
    Thanked 965 Times in 665 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: need advice on assigning printers based on classroom

    Quote Originally Posted by beeswax
    Quote Originally Posted by webman
    As bossman says, it's this easy.
    no replay button?
    Just F5

  12. #42
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22

    Re: need advice on assigning printers based on classroom

    @NetworkGeezer.

    Yeah, the batch files did require environment variables and was an extremely poor bodge that was used by the person that designed and built the network the first time round.

    It got a complete rebuild on an external contract because it was so poorly designed.

    The VB script i referred to was the logon script that did EVERYTHING. The "super logon script" i think it was called or something like that (one of the techies wrote it). It checked the machine name and then assigned printers based on that IIRC.

    It's been a year since i was still helping out in ICT services and there were a few months before i left where i was focusing on my education so i could get into uni so it's a long time since i had anything to do with it to be honest.

  13. #43
    Andi's Avatar
    Join Date
    Feb 2007
    Location
    Newport, South Wales
    Posts
    276
    Thank Post
    52
    Thanked 4 Times in 4 Posts
    Rep Power
    16

    Re: need advice on assigning printers based on classroom

    We connect our printers with a VBScript using con2prnt.exe which is then assigned per OU with GPO. This works a treat for our client stations, however. It doesn't work for our terminal stations.

    Our terminal stations connect using thinstation which boots from PXE on the network cards. This requires them to have an account in AD on which you set the Remote Install properties to use the thinstation boot file. What I want to be able to do is to assign a printer to the terminal station depending on which classroom it is. Of course the terminal stations do not take any notice of GPO despite the fact that they are placed in OUs with them set.

    Currently they all connect to one terminal server which has all the necessary printers installed which then relies on the student choosing the correct printer from the drop down list, which of course never happens.

    Does anybody know a way to sort this?

  14. #44
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,995
    Thank Post
    123
    Thanked 286 Times in 263 Posts
    Rep Power
    108

    Re: need advice on assigning printers based on classroom

    Look at the scripts in the scripts section. Ric's in particular. You can do it using the clientname. He has had thinstation running and assigning printers according to their name with no problem once you get the client name and not comptername as that returns the terminal servers name.

  15. #45
    projector1's Avatar
    Join Date
    Nov 2005
    Posts
    461
    Thank Post
    70
    Thanked 1 Time in 1 Post
    Rep Power
    19

    Re: need advice on assigning printers based on classroom

    ok thanks i will do that this weekend after i start and finish the dreaded tiling on the bathroom at home



SHARE:
+ Post New Thread
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Mapping Printers based on Location
    By NeoNemesis in forum Windows
    Replies: 11
    Last Post: 6th August 2007, 09:03 AM
  2. Assinging printers to clients based on OU
    By originofsymmetry in forum Network and Classroom Management
    Replies: 3
    Last Post: 11th July 2007, 07:02 AM
  3. Problem assigning printers at logon - SOLVED
    By richard in forum Wireless Networks
    Replies: 12
    Last Post: 4th January 2007, 10:14 AM
  4. Setting Printers Based On Room Location
    By ICTNUT in forum Scripts
    Replies: 34
    Last Post: 13th May 2006, 09:19 PM
  5. monochrome printers for classroom use
    By broc in forum Hardware
    Replies: 10
    Last Post: 7th February 2006, 01:19 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •