Read printer settings from the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\[PRINTER NAME]

Namespace:  bioPDF.PdfWriter
Assembly:  bioPDF.PdfWriter (in bioPDF.PdfWriter.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function GetRegistrySetting ( _
	settingName As String, _
	printerName As String _
) As String
C#
public static string GetRegistrySetting(
	string settingName,
	string printerName
)
Visual C++
public:
static String^ GetRegistrySetting(
	String^ settingName, 
	String^ printerName
)
JavaScript
bioPDF.PdfWriter.PdfUtil.getRegistrySetting = function(settingName, printerName);

Parameters

settingName
Type: System..::.String
Name of setting to read
printerName
Type: System..::.String
Name of printer

Return Value

The string value of the registry setting

See Also