TS101 Help File


Table of Contents

TS101.SetDefPrint
TS101.SetPrintCom
TS101.AddPrintShare
TS101.RemPrintShare
TS101.PrintPrefs
TS101.PrintProps
TS101.PrintServProps
TS101.PrintTest
TS101.PrintInstallWiz
TS101.RemLocPrint
TS101.RemNetPrint
TS101.RenamePrint
TS101.SetPrintDirect
TS101.SetPrintSpool
TS101.Print
TS101.PausePrint
TS101.Spooler

TS101.SetDefPrint


(string) TS101.SetDefPrint ( 

(string) Printer = "Printer" )

Description

Sets the given printer as default

Parameters

Printer

(string) Name of the Printer


Return

This action returns a (string) value.



TS101.SetPrintCom


(string) TS101.SetPrintCom ( 

(string) Printer = "Printer",

(string) Comment = "My Printer" )

Description

Sets the comment for the given printer

Parameters

Printer

(string) Name of the printer

Comment

(string) Comment to add to the printer


Return

This action returns a (string) value.



TS101.AddPrintShare


(string) TS101.AddPrintShare ( 

(string) Printer = "Printer",

(string) Sharename = "MyPrinter" )

Description

Sets the given printer as shared

Parameters

Printer

(string) Name of the printer

Sharename

(string) Name that you want the printer to be shared as


Return

This action returns a (string) value.



TS101.RemPrintShare


(string) TS101.RemPrintShare ( 

(string) Printer = "Printer",

(string) Sharename = "MyPrinter" )

Description

Sets the given printer as unshared

Parameters

Printer

(string) Name of the printer

Sharename

(string) Name in which you want the printer shared as


Return

This action returns a (string) value.



TS101.PrintPrefs


(string) TS101.PrintPrefs ( 

(string) Printer = "MyPrinter" )

Description

Opens the printer preferences dialog for the given printer

Parameters

Printer

(string) Name of the Printer


Return

This action returns a (string) value.



TS101.PrintProps


(string) TS101.PrintProps ( 

(string) Printer = "MyPrinter" )

Description

Opens the printer properties dialog for the given printer

Parameters

Printer

(string) Name of the printer


Return

This action returns a (string) value.



TS101.PrintServProps


(string) TS101.PrintServProps ()

Description

Opens the print server properties dialog

Parameters

None


Return

This action returns a (string) value.



TS101.PrintTest


(string) TS101.PrintTest ( 

(string) Printer = "MyPrinter" )

Description

Prints a printer test page to the given printer

Parameters

Printer

(string) Name of the printer


Return

This action returns a (string) value.



TS101.PrintInstallWiz


(string) TS101.PrintInstallWiz ()

Description

Opens the printer installation wizard dialog

Parameters

None


Return

This action returns a (string) value.



TS101.RemLocPrint


(string) TS101.RemLocPrint ( 

(string) Printer = "MyPrinter" )

Description

Removes the specified local printer from the system

Parameters

Printer

(string) The name of the printer


Return

This action returns a (string) value.



TS101.RemNetPrint


(string) TS101.RemNetPrint ( 

(string) Printer = "\\\\ComputerName\\MyPrinterShare" )

Description

Removes the specified network printer from the system

Parameters

Printer

(string) Name of the printer


Return

This action returns a (string) value.



TS101.RenamePrint


(string) TS101.RenamePrint ( 

(string) Printer = "MyPrinter",

(string) PrinterName = "MyNewPrinter" )

Description

Renames the specified printer to the given name

Parameters

Printer

(string) Name of the printer

PrinterName

(string) The name to be used as the new printer name


Return

This action returns a (string) value.



TS101.SetPrintDirect


(string) TS101.SetPrintDirect ( 

(string) Printer = "MyPrinter" )

Description

Set the printer driver to send documents directly to printer (no spooling)

Parameters

Printer

(string) Name of the printer


Return

This action returns a (string) value.



TS101.SetPrintSpool


(string) TS101.SetPrintSpool ( 

(string) Printer = "MyPrinter" )

Description

Sets the printer driver to spool all documents instead of sending directly to printer (spooling)

Parameters

Printer

(string) Name of the printer


Return

This action returns a (string) value.



TS101.Print


(string) TS101.Print ( 

(string) Printer = "MyPrinter",

(string) FilePath = "C:\\MyFile.txt" )

Description

Prints a document to the specified printer

Parameters

Printer

(string) Name of the printer

FilePath

(string) The path to the file to be printed


Return

This action returns a (string) value.



TS101.PausePrint


(string) TS101.PausePrint ( 

(string) Printer = "MyPrinter" )

Description

Pauses the specified printer

Parameters

Printer

(string) Name of the printer


Return

This action returns a (string) value.



TS101.Spooler


(string) TS101.Spooler ( 

(string) Command = "Start" )

Description

Starts or Stops the printer spooler service

Parameters

Command

(string) The command to be passed to the spooler service


Return

This action returns a (string) value.



Made with Action Plugin Compiler