FaxMan Jr
PrintJobs Property
Example 




Returns a collection of PrintJobs
Syntax
'Declaration
 
Public ReadOnly Property PrintJobs As PrintJobs
'Usage
 
Dim instance As FaxPrint
Dim value As PrintJobs
 
value = instance.PrintJobs
public PrintJobs PrintJobs {get;}
public: __property PrintJobs* get_PrintJobs();
public:
property PrintJobs^ PrintJobs {
   PrintJobs^ get();
}

Property Value

PrintJobs Collection
Remarks
The PrintJobs Collection is used to iterate through all available printjobs on a First In First Out basis. The following example simply displays the FileName of all print jobs. The PrintJob Object also exposes Document Name as well as the page count in the Pages Property. While (FaxPrint1.PrintJobs.Count > 0) Then Dim pj As DataTech.FaxManNet.PrintJob pj = FaxPrint1.PrintJobs.GetNextJob() System.Windows.Forms.MessageBox.Show("Print Job Complete: " + pj.FileName, FaxPrint1.PrinterName) End While
Example
The following example simply displays the FileName of all print jobs. The PrintJob Object also exposes Document Name as well as the page count in the Pages Property.
While (FaxPrint1.PrintJobs.Count > 0) Then        Dim pj As DataTech.FaxManNet.PrintJob        pj = FaxPrint1.PrintJobs.GetNextJob()        System.Windows.Forms.MessageBox.Show("Print Job Complete: " + pj.FileName, FaxPrint1.PrinterName)    End While
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FaxPrint Class
FaxPrint Members
DataTech.FaxManNet.PrintJobs
DataTech.FaxManNet.PrintJob
PrintComplete

Send Feedback