Add Print command in context menu of folders or directories.

Click here to run a free scan for registry errors
This setting enables you to Print command in the context menu of the folders, 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 folder and select print contents and the folder details will be printed. However, it should be noted that printer is connected through the port lpt1 and not to either usb or network printers. For this, go to start > run menu, enter regedit and navigate to the registry path listed below. If any of the subkeys \printhere is not present, create it as explained below. Under this key, change the data of default string value to print contents. Then, create another sub key under printhere with the name command and change the data of default string value to cmd.exe /c dir /a "%1" > lpt1. However, if you want to revert to the original context menu condition, delete the subkey printhere. Refresh view of your system for the changes to 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\Directory\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".
Finally, 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\Directory\Shell\]
  • Location: Root
  • Value Name: PrintHere
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_CLASSES_ROOT\Directory\Shell\PrintHere\]
  • Location: Root
  • Value Name: Default
  • Data Type: REG_SZ (String Value)
  • Action Type: Modified
  • Path: [HKEY_CLASSES_ROOT\Directory\Shell\PrintHere\]
  • Location: Root
  • Value Name: Command
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_CLASSES_ROOT\Directory\Shell\PrintHere\Command\]
  • Location: Root
  • Value Name: Default
  • Data Type: REG_SZ (String Value)
  • Action Type: Modified


Related Tweaks

- back to top