Est ce que qqn sait cmt je dois executerces fonctions ss windows? merci
Reading job data
Access to the data of a SPL spool file, can be implemented quite easily from within a print processor.
To access the spool stream use the OpenPrinter function, where you specify “PrinterName,Job xxxx” for the pPrinterName parameter. The returned hPrinter handle can be used to read the job data via the ReadPrinter function.
If the printername is "Lexmark W820" and the JobId is 3, the string to be used would be "Lexmark W820,Job 3"
For more information on this see the SDK documentation for OpenPrinter and ReadPrinter.
Information about the SPL file format can be found here: SPL Files.