Method | Description | |
---|---|---|
Print ( Document document, string printerName, string jobName, bool isWait ) : void |
Sends an Aspose.Words document to a printer using the XpsPrint API.
|
|
Print ( Stream stream, string printerName, string jobName, bool isWait ) : void |
Sends a stream that contains a document in the XPS format to a printer using the XpsPrint API. Has no dependency on Aspose.Words, can be used in any project.
|
Method | Description | |
---|---|---|
CheckJobStatus ( IXpsPrintJob job ) : void | ||
CloseHandle ( |
||
CopyJob ( Stream stream, IXpsPrintJob job, IXpsPrintJobStream jobStream ) : void | ||
CreateEvent ( |
||
StartJob ( string printerName, string jobName, |
||
StartXpsPrintJob ( [ printerName, [ jobName, [ outputFileName, |
||
WaitForJob ( |
||
WaitForSingleObject ( |
||
XpsPrintHelper ( ) : System |
No ctor.
|
public static Print ( Document document, string printerName, string jobName, bool isWait ) : void | ||
document | Document | |
printerName | string | |
jobName | string | Job name. Can be null. |
isWait | bool | True to wait for the job to complete. False to return immediately after submitting the job. |
return | void |
public static Print ( Stream stream, string printerName, string jobName, bool isWait ) : void | ||
stream | Stream | |
printerName | string | |
jobName | string | Job name. Can be null. |
isWait | bool | True to wait for the job to complete. False to return immediately after submitting the job. |
return | void |