FaxMan Jr
PrintJobs Class
Members  Example 




A collection of Print Jobs that have been generated.
Object Model
PrintJobs Class
Syntax
'Declaration
 
Public Class PrintJobs 
'Usage
 
Dim instance As PrintJobs
public class PrintJobs 
public __gc class PrintJobs 
public ref class PrintJobs 
Remarks
The PrintJobs Collection allows for one to process all pending print jobs. The following example iterates through all pending 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 iterates through all pending 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
Inheritance Hierarchy

System.Object
   DataTech.FaxManNet.PrintJobs

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

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

Send Feedback