How to Use VeryPDF HookPrinter on Windows 11 to Capture Print Jobs from Notepad and Other Applications

VeryPDF HookPrinter can capture Windows print jobs from applications such as Notepad, Microsoft Word, and other Windows programs. However, some users may experience problems when using the Legacy version on Windows 11, including missing SPL files, missing SHD files, printer spooler errors, and printers getting stuck after printing.

This article explains why these problems happen and how to configure HookPrinter correctly on Windows 11.

https://www.verypdf.com/app/hookprinter/

How to Use VeryPDF HookPrinter on Windows 11 to Capture Print Jobs from Notepad and Other Applications

1. Why Does HookPrinter Legacy Not Work on Windows 11?

The first thing to check is your Windows version.

HookPrinterSDK-Legacy does not support 64-bit Windows 11. It supports 64-bit Windows 10 and earlier Windows versions.

If you are using Windows 11, we recommend using the programs in the HookPrinterSDK-New directory instead.

HookPrinter version Windows compatibility
HookPrinterSDK-Legacy 64-bit Windows 10 and earlier
HookPrinterSDK-New Recommended for Windows 11

Using the Legacy version on an unsupported Windows system may cause problems when capturing print jobs.

2. Why Does HookPrinter Show "Do You Want to Purchase"?

If you see the following message when printing from Notepad:

Do you want to purchase

This is normal when using the trial version of HookPrinter.

The trial version displays a purchase reminder. After purchasing the software and using the registered version, this message will no longer appear.

This message is not necessarily related to missing SPL or SHD files or your printer configuration.

3. How to Hook Notepad.exe on Windows 11

If you want to capture print jobs from Notepad, Microsoft Word, or another Windows application, you can use the DLL injection method provided in HookPrinterSDK-New.

Required HookPrinter files

The following files are used to hook specific Windows applications:

File Description
DLL_Injector-32bit.exe Injects the 32-bit HookPrinter DLL
DLL_Injector-64bit.exe Injects the 64-bit HookPrinter DLL
hookspl-32bit.dll HookPrinter library for 32-bit applications
hookspl-64bit.dll HookPrinter library for 64-bit applications

Make sure you select the correct DLL for the target application's architecture.

Step 1: Open Command Prompt

Open cmd.exe on your Windows computer.

For the permission and DLL injection steps below, run Command Prompt as Administrator.

Step 2: Start the application you want to monitor

Before injecting the HookPrinter DLL, make sure the target application is already running.

For example:

  • To capture printing from Notepad, open notepad.exe.
  • To capture printing from Microsoft Word, open winword.exe.

The target application must be running before you execute the DLL injection command.

Step 3: Set permission for the Windows printer spool folder

HookPrinter needs access to the Windows printer spool folder:

C:\Windows\System32\spool\PRINTERS

You can give the Everyone user account Full Control permission by running this command in an Administrator Command Prompt:

cacls.exe "%windir%\system32\spool\PRINTERS" /T /E /C /P Everyone:F

This allows HookPrinter to access the printer spool files.

Security note: Giving Everyone Full Control to this folder reduces the security of your system. Use this setting only on a test computer or in an environment where you understand the risks. Restore the original permissions after testing.

Step 4: Inject the HookPrinter DLL into Notepad

Run the following command:

DLL_Injector-64bit.exe notepad.exe "%CD%\hookspl-64bit.dll"

Make sure you run this command from the directory containing the injector and DLL files.

You should also use the full path to hookspl-64bit.dll. This helps Windows find and load the correct DLL.

If you want to hook a different application, replace notepad.exe with the target process name.

For example:

DLL_Injector-64bit.exe winword.exe "C:\HookPrinterSDK-New\hookspl-64bit.dll"

Use the 32-bit injector and DLL when hooking a 32-bit application.

Step 5: Print a test document

After injecting the DLL, return to Notepad and print a few lines to any Windows printer.

HookPrinter should capture additional printing information.

You can check the log file here:

C:\Users\YourName\AppData\Local\Temp\VeryPDF\HookPrinter.log

Replace YourName with your actual Windows username.

4. Where Are the SPL and SHD Files Stored?

Windows uses SPL and SHD files to manage print jobs.

These files are normally stored in:

C:\Windows\System32\spool\PRINTERS

For example:

File Purpose
00000.SPL Contains the print job data
00000.SHD Contains print job information
FP00000.SPL May be created by HookPrinter-related processing, depending on the version and configuration

When printing from Notepad, you may see files such as:

FP00000.SHD
FP00000.SPL

However, the presence or absence of a particular SPL or SHD file does not by itself confirm whether HookPrinter is working correctly.

Windows may create, rename, move, or delete spool files as the printing process continues.

If you only see the following files in your Temp folder:

VeryPDF-HookPrinter.ini
VeryPDF-HookPrinter.log

but cannot find the expected SPL files, check the HookPrinter log first and make sure you are using the correct HookPrinter version.

5. Why Does My Brother Wi-Fi Printer Get Stuck?

Some users may experience printer spooler problems when using HookPrinter with network printers, including Brother Wi-Fi printers.

For example, a Brother MFC-series printer may print the document successfully but remain stuck in the Windows print queue.

The user may then need to:

  1. Restart the Windows Print Spooler service.
  2. Delete the stuck files from the PRINTERS folder.
  3. Restart the printer.

This is inconvenient, especially when printing multiple documents.

We recommend testing HookPrinterSDK-New with Notepad first, before investigating the Brother printer configuration.

This helps separate two possible problems:

If the problem continues, check the HookPrinter log and Windows print queue to identify where the print job gets stuck.

6. What Can VeryPDF HookPrinter Do?

The current HookPrinter SDK is mainly provided as a demonstration program.

VeryPDF can also provide custom development services to add printing control, print job capture, printer monitoring, and other functions.

Some possible features include:

Feature Description
Application printing control Disable printing for selected applications
Printer visibility control Show or hide printers based on user permissions
Printer access control Enable or disable printers for selected users
Print redirection Redirect print jobs from one printer to another
Print job modification Change printing options during printing
Print job capture Save print jobs as PDF, text, or image files
Online print monitoring Send print job information to an online database
Company-wide monitoring Monitor printing activities across an organization
Ink saving Convert color documents to black and white
SPL and SHD backup Capture spool files and copy them to another folder
Page counting Count printed pages by day, week, or month

These features can be developed based on your actual requirements.

Frequently Asked Questions

1. Does HookPrinterSDK-Legacy support Windows 11?

No. HookPrinterSDK-Legacy does not support 64-bit Windows 11. It supports 64-bit Windows 10 and earlier versions.

2. Which HookPrinter version should I use on Windows 11?

We recommend using HookPrinterSDK-New.

3. Why does HookPrinter show "Do You Want to Purchase"?

This message appears in the trial version. It will not appear in the registered version after purchasing the software.

4. Can HookPrinter capture printing from Notepad?

Yes. You can use DLL_Injector-64bit.exe and hookspl-64bit.dll to hook a running 64-bit Notepad process.

5. Can HookPrinter capture printing from Microsoft Word?

Yes. You can inject the HookPrinter DLL into the running winword.exe process.

6. Does the target application need to be running before DLL injection?

Yes. Start the target application first, then run the DLL injector.

7. Why can't I find SPL and SHD files in my Temp folder?

Windows normally stores printer spool files in:

C:\Windows\System32\spool\PRINTERS

They are not necessarily stored in the Temp folder. Check the HookPrinter log for more information.

8. Where can I find the HookPrinter log file?

For HookPrinterSDK-New, the log file is normally located at:

C:\Users\YourName\AppData\Local\Temp\VeryPDF\HookPrinter.log

9. Can HookPrinter work with Brother Wi-Fi printers?

HookPrinter is designed to work with Windows printing processes. However, individual printer drivers and spooler configurations may affect the results. We recommend testing with HookPrinterSDK-New first.

10. Why does my printer get stuck after printing?

This may be related to the Windows Print Spooler, printer driver, or HookPrinter configuration. Check the print queue and HookPrinter log to find the cause.

11. Can HookPrinter save print jobs as PDF files?

Yes. VeryPDF can customize HookPrinter to capture print jobs and save them as PDF files.

12. Can HookPrinter monitor printing activities in a company?

Yes. Custom development can add print monitoring, page counting, user tracking, and online reporting.

13. Can HookPrinter copy SPL and SHD files to another folder?

Yes. This feature can be added through customized development to back up captured spool files.

14. Can HookPrinter redirect print jobs to another printer?

Yes. VeryPDF can customize HookPrinter to redirect print jobs from one Windows printer to another.

15. Can VeryPDF develop custom printing functions?

Yes. VeryPDF provides custom development services for print job capture, printer control, print monitoring, print redirection, and other Windows printing requirements.

Contact VeryPDF

If you have problems using VeryPDF HookPrinter, please contact our support team.

Website:

https://www.verypdf.com/

https://www.verypdf.com/app/hookprinter/

Email: support@verypdf.com

We are happy to help you test HookPrinter, check printing logs, and discuss custom printing solutions for your Windows applications.

Related Posts