Is there a way to get the full path of a printed file in windows?

643 Views Asked by At

I am attempting to find the original file that is being printed. I am aware that there is an SPL file stored in C:\Windows\System32\spool\PRINTERS that triggers the print job, but I would like to find the file used to create this spool file.

Is there a way to get the full path of the document printed using winspool or win32 API?

1

There are 1 best solutions below

9
On BEST ANSWER

In general, no. Only the application calling the print APIs is aware of any file involved (if any).