Attachmate Reflection 2014 .NET API Reference
PrintToFile Property (IPrintOptions)


Returns or specifies the destination of the terminal print jobs.
Syntax
'Declaration
 
Property PrintToFile As Boolean
'Usage
 
Dim instance As IPrintOptions
Dim value As Boolean
 
instance.PrintToFile = value
 
value = instance.PrintToFile
bool PrintToFile {get; set;}
Exceptions
ExceptionDescription
Attachmate.Reflection.SecuredSettingException This exception is thrown when you modify a property that was secured via the Permissions Manager, or that can only be modified by an Administrator.
Remarks
When this property is true, the terminal sends print jobs to a file. Use PrintFileName to specify the file name. Use PrintFileExistsAction to determine what happens if the specified file already exists.

When this property is false, the terminal sends print jobs to the printer.

This property affects screen printing, 3270 printer sessions, and 5250 printer sessions.
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IPrintOptions Interface
IPrintOptions Members

Send Feedback