LinePrinter.GetConfiguration Method

Retrieves a configuration string from the printer.

Syntax

[Visual Basic]
Public Function GetConfiguration() As String
[C#]
public string GetConfiguration();

Parameters

None.

Return Values

A configuration string as returned by the printer. An empty or null string indicates that the printer is incapable of this function based on a missing or null entry in the printer configuration file.

Remarks

This method may only be called from outside a print job. This function opens the printer, retrieves data, and closes the printer afterwards.

More Information

LinePrinter Class