Search found 15 matches

by casaestrada
Tue Mar 24, 2009 3:10 am
Forum: VBScript
Topic: Default printing
Replies: 4
Views: 753

Default printing

Sorry I am confused based on your reply. I am trying to remove old printer servers (printserver_01 & printserver_02) and replace them with my new print server (printserver_03) - when i run my script I get an error on the first array "expected literal constant"
by casaestrada
Tue Mar 24, 2009 1:33 am
Forum: VBScript
Topic: Default printing
Replies: 4
Views: 753

Default printing

So is this correct then? DO I have the array correctly added?
const sCriteria = Array ("printserver_01","printserver_02")Const sOldPrintServer = Array ("printserver_01","printserver_02")"Const sOldPrintServerName = Array ("printserver_01","printserver_02")Const sNewPrintServer = "printserver_03"
by casaestrada
Tue Mar 24, 2009 12:35 am
Forum: VBScript
Topic: Default printing
Replies: 4
Views: 753

Default printing

Ok so I changed my script and have approached it another method.....however, I am unable to get my script to recognize 2 separate print servers in an array ...can someone please review. I am thinking something minor like the array may be wrong-
by casaestrada
Sat Mar 21, 2009 5:41 am
Forum: VBScript
Topic: Printer Removal
Replies: 4
Views: 597

Printer Removal

All, We are migrating from old print servers to new: I am getting "Expected END" on my code when i run it.....i cant see how to fix this- i hope its simple as I cant see the obvious- need extra eyes - can anyone help 'On Error Resume Next Dim strCaption, strComment, strName, strDeviceID, strCompute...
by casaestrada
Sat Mar 21, 2009 5:41 am
Forum: VBScript
Topic: Printer Removal
Replies: 4
Views: 597

Printer Removal

All, We are migrating from old print servers to new: I am getting "Expected END" on my code when i run it.....i cant see how to fix this- i hope its simple as I cant see the obvious- need extra eyes - can anyone help 'On Error Resume Next Dim strCaption, strComment, strName, strDeviceID, strCompute...