C
Chtiot
Hello,
I'm not sure to be in the good forum, but i will ask my question :
- i'm using findfirstprinterchangenotification to know when something is
sent to a particular printer (no problem)
- when something is sent to this printer, i list the jobs with enumjobs (no
problem)
When a job is sent to this printer, i open the spool file an do some
operations on the file (generate a pdf, send an email ...).
I have no problem when the printer is a local printer with enhanced
functionalities not actived (the spool file name is equal to the idJob with
extension .spl -> 00027.spl for the job with idjob 27 found with enumjobs).
But when the printer in a network printer, the name of the spool file is
very different (FP + a number different od idJob found with enumjobs +
extension .spl -> for example, idJob = 27 -> spool file name is
FP004251.spl).
Is there a way to find the name of the spool file by programation, using an
api ?
thanks
Michel
I'm not sure to be in the good forum, but i will ask my question :
- i'm using findfirstprinterchangenotification to know when something is
sent to a particular printer (no problem)
- when something is sent to this printer, i list the jobs with enumjobs (no
problem)
When a job is sent to this printer, i open the spool file an do some
operations on the file (generate a pdf, send an email ...).
I have no problem when the printer is a local printer with enhanced
functionalities not actived (the spool file name is equal to the idJob with
extension .spl -> 00027.spl for the job with idjob 27 found with enumjobs).
But when the printer in a network printer, the name of the spool file is
very different (FP + a number different od idJob found with enumjobs +
extension .spl -> for example, idJob = 27 -> spool file name is
FP004251.spl).
Is there a way to find the name of the spool file by programation, using an
api ?
thanks
Michel