+ Post New Thread
Results 1 to 3 of 3
Scripts Thread, Script not deleting/adding printer correctly in Coding and Web Development; Ever since half term our printers scripts dont seem to have been running right, wondering if someone could take a ...
  1. #1

    Join Date
    Mar 2007
    Location
    Devon
    Posts
    1,022
    Thank Post
    216
    Thanked 63 Times in 56 Posts
    Rep Power
    29

    Script not deleting/adding printer correctly

    Ever since half term our printers scripts dont seem to have been running right, wondering if someone could take a look at the attached and see why they have just stopped working correctly. Before half term was all fine but now they dont seem to delete or add them right, either leaving printers still installed or not adding new ones when it has deleted them all.
    Attached Files Attached Files

  2. #2

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,582
    Thank Post
    107
    Thanked 761 Times in 592 Posts
    Rep Power
    179
    Those scripts look fine - pretty much unaltered from the originals. The only thing I do differently is use the printserver's hostname rather than its IP.

    Are all the printer drivers installed on all the clients? If the required driver is not there, sufficient privileges may not be available to install it - hence the printer won't be installed.

    As the printers not getting deleted, I think that printers created by an administrator and using a TCP/IP printer port may not get deleted - I can't remember exactly though.

  3. #3

    Join Date
    Mar 2007
    Location
    Devon
    Posts
    1,022
    Thank Post
    216
    Thanked 63 Times in 56 Posts
    Rep Power
    29
    Ric, it did used to have the printservers name but it wasn't working so thought i'd try the IP instead just haven't got around to changing it back yet.

    Would it make a difference where in the logon batch it was? Just wondering if the change in logon bat file might have made a difference?

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 8
    Last Post: 25th February 2009, 09:50 AM
  2. Adding a printer
    By Neville in forum Windows
    Replies: 0
    Last Post: 15th May 2008, 11:09 AM
  3. Adding x32 printer drivers to x64 server
    By Dos_Box in forum Windows
    Replies: 7
    Last Post: 2nd May 2008, 10:35 AM
  4. Macromedia FlashPaper deleting network printer
    By gill in forum Educational Software
    Replies: 0
    Last Post: 12th March 2008, 12:12 PM
  5. Replies: 13
    Last Post: 20th February 2008, 04:29 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
  •