Jump to content

stringfellow

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by stringfellow

  1. Hi, At our school we use two VBScripts to both add and make the appropriate printer the default. In many circumstances e.i. in offices where a local printer is present, this needs to be the default. Every now and again when the user logs on in an office where a local printer is present the default printer gets set to something random. This causes issues as some programs only print to the default printer. Below is what I use to set the default printer by OU, as every office doesn't have there own OU, is there a peice of VBS that I can add to the end to make the local print the default or "anything" using port "USB001" the default for instance. Set objSysInfo = CreateObject("ADSystemInfo") strName = objSysInfo.ComputerName arrComputerName = Split(strName, ",") arrOU = Split(arrComputerName(1), "=") strComputerOU = arrOU(1) Set objNetwork = CreateObject("WScript.Network") Select Case strComputerOU Case "UsLib" objNetwork.SetDefaultPrinter "\\presley\uslib-mono" Case "R20" objNetwork.SetDefaultPrinter "\\presley\r20-mono" Case "R22" objNetwork.SetDefaultPrinter "\\presley\r22-mono" Case "R23" objNetwork.SetDefaultPrinter "\\presley\r23-mono" Case "R40" objNetwork.SetDefaultPrinter "\\presley\r40-mono"
  2. I tried this also but the client workstation either crashes when trying to print or it asks to locate the privers as if your installing a new USB printer. Am resorting back to Server 03 x86 now anyway to save the hassle
  3. I was doing it through a windows vista x86 workstation as I have the admin pack for it.
  4. I have tried this and it says "The selected driver must be installed from a x86 computer using type 3 (user mode) drivers" When I try this on a x86 workstation, I get "Unable to install Brother HL5350DN BR-Script3 - usermode, x86 driver, The operation is not supported" Is it just down to the server being x64 and the clients being x86? Thanks
  5. I have just installed Windows Server 2008 standard 64bit and the printer management snap-in so that I can re-do the way printers are installed/deployed through the network. One of the methods I'm going to use to install printers is: > On the client workstation, install the printer through a web browser by going to http://(server name)/printers then selecting the required pritner and clicking connect Half way through, I get a message saying : "Printer Installation Failed" "The driver files are not available for the current CPU platform. Please contact your administrator to install proper driver files on the server" The client workstation is Windows XP SP3 Professional Has anyone got any ideas on what this could be? Thanks
  6. This is the first time i've used this forum so I can post url's
×
×
  • Create New...