'Print Contents' command in context menu for drive root

Click here to run a free scan for registry errors
This setting enables you to have "Print Contents" option in the context menus of the drive root, provided the printer is connected through the port LPT1 and not to either USB or Network printers.
Level: Recommended For Experts Only
Description:
Context menu is a very useful tool to make your working quite easy. You have many choices for working on a file or folder. You just have to right-click the drive and select "print contents". The drive contents will be printed. For this, you have to make changes in the registry. Go to "start->run" and enter "regedit" and click "ok". Search the key. Create the key "printhere" if it does not exist. Now, double-click on "printhere" in the right panel and enter the string data value of default with "prints contents". Create the subkey with "command" name then double click on "command" key in the right panel and set the data value with "cmd.exe /c dir /a "%1" > lpt1". Clear the settings you have made to disable. After restart or logoff, changes take effect. When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.




Screenshots


First, click the 'Start' button, and select 'Run'. In the resulting dialog box, type "regedit".
Second, go to the <b>[HKEY_CLASSES_ROOT\drive\Shell\]</b> key, right-click and click on "New > Key" to create a new key with the name "PrintHere".
Third, right-click on the "Default" String value and click on "Modify".
Fourth, enter the value "Print Contents" in the text box and click on 'OK'.
Fifth, right-click on the "PrintHere" key and click on "New > Key" to create a new key with the name "Command".
Sixth, right-click on the "Default" String value and click on "Modify".
Seventh, enter the value "cmd.exe /c dir /a "%1" > lpt1" in the text box and click on 'OK'.


Registry Entries

- back to top

  • Path: [HKEY_CLASSES_ROOT\Drive\Shell\]
  • Location: Root
  • Value Name: PrintHere
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_CLASSES_ROOT\Drive\Shell\PrintHere\]
  • Location: Root
  • Value Name: Default
  • Data Type: REG_SZ (String Value)
  • Action Type: Modified
  • Path: [HKEY_CLASSES_ROOT\Drive\Shell\PrintHere\]
  • Location: Root
  • Value Name: Command
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_CLASSES_ROOT\Drive\Shell\PrintHere\Command\]
  • Location: Root
  • Value Name: Default
  • Data Type: REG_SZ (String Value)
  • Action Type: Modified


Related Tweaks

- back to top