spoolsv

Delphi: EnumPrinterData example

Hello. Can you please provide an example of using EnumPrinterData function in Delphi to get a list of printers in system? ...

Sending RAW data to a printer with port set to FILE

When sending data to a printer as described in KB 138594 http://support.microsoft.com/kb/q138594/ i.e. OpenPrinter with DOC_INFO_1.pDataType set to "RAW", StartDocPrinter, StartPagePrinter, WritePrinter, etc., and the printer port is set to FILE:, print job sits in spooler with status "Error - Printing". No entries are written to the eve...