Partager via


Print Server Registry Settings (Windows Embedded CE 6.0)

1/6/2010

The registry stores information necessary to configure the system for applications and hardware devices. The registry also contains information that the operating system continually references during operation. The protected registry contains named values for Print Server configuration.

Note

The default registry values vary depending on which Catalog items are included in your OS design. For more information, see Default Registry Settings.

The following table shows the named values for the HKEY_LOCAL_MACHINE\Services\Smbserver key.

Value : type Description

AdapterList : REG_SZ

Provides a list of network adapters separated with a semicolon. You can also use the "*" option to specify any adapters that are present on the operating system.

Ee500330.security(en-US,WinEmbedded.60).gifSecurity Note:
This setting can be used to exclude network adapters that are attached to public (Internet-connected) networks.

DLL : REG_SZ

Default set to "Smbserver.dll". Specifies the name of the dynamic-link library (DLL) file to be loaded.

Keep : REG_DWORD

Default set to 1. If this is set to zero (0), the DLL will be unloaded immediately after initialization.

Order : REG_DWORD

Default set to 9. Specifies the order in which Device.exe will load this service.

Prefix : REG_SZ

Default set to SMB. Specifies the prefix of the DLL to be loaded.

The settings for the Print Server are stored in the HKEY_LOCAL_MACHINE\Services\Smbserver\Shares\LPT_1 registry key. LPT_1 specifies the name of the printer port.

The following table shows the named values for the HKEY_LOCAL_MACHINE\Services\Smbserver\Shares\LPT_1 key.

Value : type Description

Type : REG_DWORD

Setting this value to 1 designates this as a print server share, setting this value to 0 (zero) designates this as a file server share.

Path : REG_SZ

Specifies the path to the port that will be used for printing.

Ee500330.security(en-US,WinEmbedded.60).gifSecurity Note:
It is not recommended that you share out the \Windows or root directory.

Driver : REG_SZ

Specifies the exact string for the printer driver. This is the name of the driver that will be visible to the client.

Comment : REG_SZ

Specifies any comments relating to the printer driver. This comment will be visible to the client.

UserList : REG_SZ

Specifies a list of allowed users, separated by a semicolon (;) symbol.

See Also

Other Resources

Print Server