PrintJob Constructor

Overload List

Initializes a new instance of the PrintJob class for an already opened printer handle with the given job identifier.

[Visual Basic]
Public Sub New(ByVal hPrinter As IntPtr, ByVal idJob As Int32)
[C#]
public PrintJob(IntPtr hPrinter, Int32 idJob);
[C++]
public: PrintJob(IntPtr hPrinter, Int32 idJob);
[JScript]
public function PrintJob(hPrinter : IntPtr, idJob Int32);

Initializes a new instance of the PrintJob class for the printer named printer with the given job identifier.

[Visual Basic]
Public Sub New(ByVal DeviceName As String, ByVal idJob As Int32)
[C#]
public PrintJob(string DeviceName, Int32 idJob);
[C++]
public: PrintJob(String* DeviceName, Int32 idJob);
[JScript]
public function PrintJob(DeviceName : String, idJob Int32);

Remarks

When an instance of this class is created for an already opened printer handle the secutity settings are inherited from that handle.

Requirements

Platforms: Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family,

See Also


© 2003 Merrion Computing Ltd. All rights reserved.