FaxPrintJob
Represents a job that can be sent to a printer for printing a fax.
public class FaxPrintJob : PrintJob, IDisposable
Public Class FaxPrintJob
Inherits PrintJob
Implements IDisposable
Inheritance: ObjectPrintJobFaxPrintJob
Implements: IDisposable
Licensing Info
This class is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF PrintManager selected.
- A DynamicPDF PrintManager for .NET v4.X Developer license.
Examples
The following examples creates a fax print job and sends the fax.Imports System
Imports ceTe.DynamicPDF.Printing
Module MyModule
Sub Main()
' Create a fax print job
Dim MyFaxPrintJob As FaxPrintJob = New FaxPrintJob("FaxPrinterName", "1-555-389-4567", "C:\MyDocument.pdf")
' Send the fax
MyFaxPrintJob.Print()
End Sub
End Module
using System;
using ceTe.DynamicPDF.Printing;
class MyClass
{
static void Main()
{
// Create a fax print job
FaxPrintJob faxPrintJob = new FaxPrintJob("FaxPrinterName", "1-555-465-1177", @"C:\MyDocument.pdf");
// Send the fax
faxPrintJob.Print();
}
}
Constructors
FaxPrintJob(Printer, String) | Initializes a new instance of the FaxPrintJob class. |
FaxPrintJob(Printer, String, InputPdf) | Initializes a new instance of the FaxPrintJob class. |
FaxPrintJob(Printer, String, InputPdf, Int32, Int32) | Initializes a new instance of the FaxPrintJob class. |
FaxPrintJob(Printer, String, String) | Initializes a new instance of the FaxPrintJob class. |
FaxPrintJob(Printer, String, String, Int32, Int32) | Initializes a new instance of the FaxPrintJob class. |
FaxPrintJob(String, String) | Initializes a new instance of the FaxPrintJob class. |
FaxPrintJob(String, String, InputPdf) | Initializes a new instance of the FaxPrintJob class. |
FaxPrintJob(String, String, InputPdf, Int32, Int32) | Initializes a new instance of the FaxPrintJob class. |
FaxPrintJob(String, String, String) | Initializes a new instance of the FaxPrintJob class. |
FaxPrintJob(String, String, String, Int32, Int32) | Initializes a new instance of the FaxPrintJob class. |
Properties
DocumentName | Gets or sets the name of the document that is to be shown in the print spooler. (Inherited from PrintJob) |
FaxOptions | Gets the FaxOptions object. |
JobId | Gets the ID of the job. (Inherited from PrintJob) |
Pages | Gets a PrintJobPageList object that represents the pages to be printed by the job. (Inherited from PrintJob) |
PagesPrinted | Gets a value indicating how many pages have been printed. (Inherited from PrintJob) |
Printer | Gets the Printer object that is targeted by the job. (Inherited from PrintJob) |
PrintOptions | Gets a PrintJobPrintOptions objects that represents the printing options for the job. (Inherited from PrintJob) |
PrintPriority | Gets or sets the Print priority of print job. Enter the value in between the Range(1 - 99). (Inherited from PrintJob) |
PrintToFileName | Gets or sets the filename or path where the output will be saved. (Inherited from PrintJob) |
RawStatus | RawStatus represents the status as returned by the printer driver.
It may have multiple bits set at the same time which means it
can represent multiple values from the PrintJobStatus enumeration. (Inherited from PrintJob) |
Status | Gets the current status of the job. (Inherited from PrintJob) |
Methods
Dispose() | Clean up any resources being used. |
Equals(Object) | Determines whether the specified Object is equal to the current Object . (Inherited from Object) |
GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
Print() | Prints the job to the printer. (Inherited from PrintJob) |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |
Events
FaxPrintJob.Failed | Occurs when a job fails. (Inherited from PrintJob) |
FaxPrintJob.Starting | Occurs before starting a job. (Inherited from PrintJob) |
FaxPrintJob.Succeeded | Occurs when a job succeeds. (Inherited from PrintJob) |
FaxPrintJob.Updated | Occurs when a job's status or pages printed is updated. (Inherited from PrintJob) |