Startdocprinter [upd] Today

Begins a print job on a specified printer.

: Informs the spooler a new page is starting. startdocprinter

💡 : If you are working in .NET , you cannot call these functions directly. You must use P/Invoke (Platform Invoke) to import the functions from winspool.drv . Begins a print job on a specified printer

It looks like you're referencing a Windows printing function — likely — from the Win32 API (often used with languages like C++, C#, or Python via pywin32 ). startdocprinter

Mastering the StartDocPrinter API: A Guide to Direct Windows Spooling