Article ID: 6629, created on Aug 21, 2009, last review on May 9, 2014

  • Applies to:
  • Virtuozzo containers for Windows 4.5
  • Virtuozzo containers for Windows 4.0
  • Virtuozzo for Windows 3.5.1 SP1


I am trying to install PDF printer software into containers. The software installs successfully, but the post script printer in not installed. The following error is shown:
Add printer return values (1796)


To fix the error apply the following solution:

1. Create an empty "LPT1:" key (REG_SZ) in the container registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports]

It can be done by running this command inside the container:

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports" /v "LPT1:" /t REG_SZ

2. Restart the container;

3. Install PDF printer software.

28d0f7cc091e3b9304fa556c03f9a940 d02f9caf3e11b191a38179103495106f 965b49118115a610e93635d21c5694a8 d09cb2230ee0cfa720ed0f2a3cc39452 1348db476c8a5844ffbef8d503db9c15 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF