Begin print display using default printer

Namespace: T.Modules.ClientStation
Assembly: T.Modules (in T.Modules.dll)

Public Function PrintDisplayDefaultPrinter( _ 
ByVal displayName As String, _ 
ByVal pageOrientation As Integer
) As Boolean
This language is not supported or no code example is available.
public bool PrintDisplayDefaultPrinter( 
string displayName
int pageOrientation 
)
This language is not supported or no code example is available.
public:  
bool PrintDisplayDefaultPrinter( 
String^ displayName
int pageOrientation 
)
This language is not supported or no code example is available.
public function PrintDisplayDefaultPrinter( 
displayName : String
pageOrientation : int 
) : boolean;
This language is not supported or no code example is available.

Parameters

displayName

Type: string

Display name

pageOrientation

Type: int

0: Portrati, 1: Landscape

Return Value

Flag indicating success (true) or fail (false)

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4, 3.5 SP1