Windows: How to tell printer to issue a FormFeed during printing?
问题 i need to tell a printer driver to issue a form feed. i'm printing directly to a printer using the: OpenPrinter StartDocPrinter StartPagePrinter WritePrinter EndPagePrinter EndDocPrinter ClosePrinter set of API calls. A lot of the inspiration came from KB138594 - HOWTO: Send Raw Data to a Printer by Using the Win32 API. An important point to note in that KB article is that they (and my copied code) start the document in RAW mode: // Fill in the structure with info about this "document."