+ Post New Thread
Results 1 to 5 of 5
Windows Thread, Printer Script errors in Technical; We are currently experiencing some problems with our printer script, so if there's anyone that is good with VB scripting ...
  1. #1
    jdibsdale's Avatar
    Join Date
    May 2008
    Location
    UK
    Posts
    84
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    13

    Angry Printer Script errors

    We are currently experiencing some problems with our printer script, so if there's anyone that is good with VB scripting can help me at all (as I am not) I would be really grateful! The script is attached.

    Our students use terminal server to access applications, but a couple of the apps are local, so they need a printer mapped on the terminal server as well as on the local printer (ideally) the terminal server one is most important. The script maps it by the first 3 letters of the computer name on the terminal server session, if it's not a TS then it will look at what OU the computer is in and maps the correct printer locally. Most of the time the students get the printer on TS, but the local printer not so often. I've done a lot of testing on the script for each room, using student accounts and it maps both printers 100%.

    The script also logs an error if it doesn't map a printer on the terminal server and it supposed to do the same for the local printer too but doesn't.

    The main errors we've been getting from students is this one:

    Date,Server,strclname,%CLIENTNAME%,USER,Other Note, Error Num, Error Description
    02/03/2009 13:42:17,SVCTS04,LIB,LIBW01,06butg,Error Mapping Printer,-2147023899


    ..and one instance of this one, which there is actually a printer called HP3600LIB

    Date,Server,strclname,%CLIENTNAME%,USER,Other Note, Error Num, Error Description
    03/03/2009 13:18:14,SVCTS04,LIB,LIBW02,08dunh,Error Mapping Printer,-2147352567,There is no printer called "\\svcfs02\HP3600LIB".


    I thought the problem might be down to timing on logon so have changed it so that the script runs from Group Policy, which I think has improved things but not 100%.

    Not sure what else to do!!!
    Attached Files Attached Files

  2. #2

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    Reading the description of your problem carefully, it's interesting that sometimes the script works perfectly and other times it does not. What's the server load like and how many users do you have concurrently on TS? I'm speculating that it might be a load issue 'possibly'.
    I presume you have also tried basics such as stopping and then starting the print spooler, and any other HP related services just to make sure?

  3. #3
    jdibsdale's Avatar
    Join Date
    May 2008
    Location
    UK
    Posts
    84
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    13
    Server load seems fine, I have 3 terminal servers and a separate server to load balance them and there's never more than 30 users on concurrently. Today there's just 3 errors logged of 3 students not getting a printer with the 2147023899 error. I haven't tried starting and stopping the print spooler .... I didn't think this would be relevant because the printers work fine?

  4. #4

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    It shouldn't, but rubbish drivers can cause all kinds of problems with the spooler and indeed printer scripts.

  5. #5
    jdibsdale's Avatar
    Join Date
    May 2008
    Location
    UK
    Posts
    84
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    13
    I think a Server update has caused our printer vb script to stop working now, it's the only thing that has changed on our servers but we're getting this error every time:

    "Error Mapping Printer,462,The remote server machine does not exist or is unavailable"

    The remote machine is one of our DC's so it is there!!!

    Can anyone please help at all?

    Pulling my hair out now... damn scripts!!!!

SHARE:
+ Post New Thread

Similar Threads

  1. A Printer Script
    By Ric_ in forum Scripts
    Replies: 164
    Last Post: 1st October 2010, 10:11 AM
  2. Replies: 13
    Last Post: 20th February 2008, 04:29 PM
  3. Logon script & Printer script question.
    By Galway in forum Windows
    Replies: 3
    Last Post: 29th August 2007, 11:00 AM
  4. Replies: 0
    Last Post: 2nd July 2007, 03:27 PM
  5. Printer Errors!
    By Mintsoft in forum How do you do....it?
    Replies: 5
    Last Post: 6th March 2006, 10:24 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
  •