+ Post New Thread
Results 1 to 4 of 4
Scripts Thread, Print script not playing ball in Coding and Web Development; This morning I came into work to find the printers were not being mapped to staff machines, the staff logon ...
  1. #1
    bondbill2k2's Avatar
    Join Date
    Jan 2011
    Location
    West Midlands
    Posts
    1,013
    Thank Post
    80
    Thanked 66 Times in 51 Posts
    Blog Entries
    2
    Rep Power
    42

    Question Print script not playing ball

    This morning I came into work to find the printers were not being mapped to staff machines, the staff logon script is as follows:

    reg delete "hkcu\printers\connections" /f
    rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\staff_room$
    rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\library$
    rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\science$
    rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\col_it_room$
    rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\Maths$
    rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\curriccentre$
    rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\cLT$
    rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\IB_SCB$
    rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\AblockCLT$
    rundll32 printui.dll,PrintUIEntry /y /n\\servername\staff_room$
    rundll32 printui.dll,PrintUIEntry /u /in /n\\servername\Art$


    This has always worked in the past but as of this morning users recieve an error "Windows cannot connect to the printer. Either the printer name was typed incorrectly, or the specified printer has lost its connection to the server"

    Clients can reach the server ok and the print server can print to all networked printers.


    Update:
    It appears admin side of the network can print still, and I tryed running via the curric server for emergency circumstances without any issues. It appears its just the connection between curric clients and the print server
    Last edited by bondbill2k2; 21st June 2011 at 09:53 AM.

  2. #2
    lionsl2005's Avatar
    Join Date
    Nov 2008
    Location
    Barnet
    Posts
    533
    Thank Post
    373
    Thanked 23 Times in 22 Posts
    Rep Power
    16
    i had the similar situation but that time user roaming profiles were not loaded properly. it happened to a particular user.

  3. #3

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,689
    Thank Post
    334
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    Quote Originally Posted by bondbill2k2 View Post
    Update:
    It appears admin side of the network can print still, and I tryed running via the curric server for emergency circumstances without any issues. It appears its just the connection between curric clients and the print server
    Have you tried connecting to it directly? Just using it as "run" the server/print name etc.

    Just to ensure it can actually connect. Might be nothing wrong in the script, and just lost access to view/connect for some reason.

    Steve

  4. #4
    bondbill2k2's Avatar
    Join Date
    Jan 2011
    Location
    West Midlands
    Posts
    1,013
    Thank Post
    80
    Thanked 66 Times in 51 Posts
    Blog Entries
    2
    Rep Power
    42
    Yep I tried this with no luck so I ruled out the script. Sorted now but I've no idea why the cause of this problem had even occured.

    Our curric subnet is 255.255.248.0.....the curric NIC on the print server was for some reason set to 255.255.248.0, changed it back to 248 and its fine but why it wrong i've no idea and neither does the network manager who locked up last night

SHARE:
+ Post New Thread

Similar Threads

  1. [Video] Ball of Light -
    By mattx in forum Jokes/Interweb Things
    Replies: 0
    Last Post: 17th June 2011, 10:53 PM
  2. GoDaddy UCC Cert not playing ball with Exchange 2007
    By DrPerceptron in forum Internet Related/Filtering/Firewall
    Replies: 6
    Last Post: 24th December 2009, 06:51 PM
  3. Paint Ball 2
    By ricki in forum Windows
    Replies: 4
    Last Post: 8th December 2009, 01:25 PM
  4. Replies: 9
    Last Post: 26th February 2007, 12:45 PM

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
  •