C# Class TSVCEO.CloudPrint.Util.Ghostscript

Inheritance: IDisposable
Mostrar archivo Open project: klightspeed/CloudPrintProxy Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Ghostscript ( ) : System
PrintData ( string username, PrintTicket ticket, string printername, string jobname, byte data, string inargs ) : void
ProcessData ( PrintTicket ticket, byte data, string driver, string inargs, string devsetup ) : byte[]

Protected Methods

Method Description
Dispose ( bool disposing ) : void
GeneratePrinterPort ( RegistryKey regkey ) : string
GetGhostscriptPath ( string filename ) : string
GetPrinterPort ( string printername ) : string
ProcessData ( string username, PrintTicket ticket, byte data, string inargs, string extraargs, string devsetup ) : byte[]
RunCommand ( string args, Stream stdin, Stream stdout, Stream stderr ) : int
RunCommandAsUser ( string username, string args, Stream stdin, Stream stdout, Stream stderr ) : int
SetDeviceCommand ( string outputfilename, string jobname, string driver ) : IEnumerable
SetupUserPrinter ( string username, string printername ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GeneratePrinterPort() protected method

protected GeneratePrinterPort ( RegistryKey regkey ) : string
regkey Microsoft.Win32.RegistryKey
return string

GetGhostscriptPath() protected static method

protected static GetGhostscriptPath ( string filename ) : string
filename string
return string

GetPrinterPort() protected method

protected GetPrinterPort ( string printername ) : string
printername string
return string

Ghostscript() public method

public Ghostscript ( ) : System
return System

PrintData() public method

public PrintData ( string username, PrintTicket ticket, string printername, string jobname, byte data, string inargs ) : void
username string
ticket PrintTicket
printername string
jobname string
data byte
inargs string
return void

ProcessData() public method

public ProcessData ( PrintTicket ticket, byte data, string driver, string inargs, string devsetup ) : byte[]
ticket PrintTicket
data byte
driver string
inargs string
devsetup string
return byte[]

ProcessData() protected method

protected ProcessData ( string username, PrintTicket ticket, byte data, string inargs, string extraargs, string devsetup ) : byte[]
username string
ticket PrintTicket
data byte
inargs string
extraargs string
devsetup string
return byte[]

RunCommand() protected method

protected RunCommand ( string args, Stream stdin, Stream stdout, Stream stderr ) : int
args string
stdin Stream
stdout Stream
stderr Stream
return int

RunCommandAsUser() protected method

protected RunCommandAsUser ( string username, string args, Stream stdin, Stream stdout, Stream stderr ) : int
username string
args string
stdin Stream
stdout Stream
stderr Stream
return int

SetDeviceCommand() protected method

protected SetDeviceCommand ( string outputfilename, string jobname, string driver ) : IEnumerable
outputfilename string
jobname string
driver string
return IEnumerable

SetupUserPrinter() protected method

protected SetupUserPrinter ( string username, string printername ) : void
username string
printername string
return void