printing - VBS printer script executing error -
i have trouble executing/using vbs scripts linked printers. located in %windir%/system32/printing_admin_scripts
the objective plan weekly print task preserve ink cartridge
looking @ scripts, available me create task main script use prnqctl.vbs
before create task, have tried test script , got (sorry french version, try update screenshot in english later):
there wrong. have tried google error code, nothing conclusive. have tried run script in admin mode , under admin session, same problem have made research on cimwin32, seems dll , can find in locations of filesystem
my os w8.1.
if has suggestion or solution, i'm interested in
==>cscript c:\windows\system32\printing_admin_scripts\en-us\prnqctl.vbs -e unable printer instance. error 0x80041002 not found operation getobject provider cimwin32 description win32 error code
the error culprit clear: should provide valid -p
argument. it's mandatory parameter in case of -e
operation:
==>cscript c:\windows\system32\printing_admin_scripts\en-us\prnqctl.vbs -e -p "fax" success print test page printer fax ==>
Comments
Post a Comment