Hi
In StartDoc call, the document name is sent from GDI to the spooler.
lpszDocName - Pointer to a null-terminated string that specifies the name of
the document.
And output file name is sent if it is a print to file.
Now, If I fire a printout of a file from a specific directory say
c:\temp\123,
How can I get the “Directory information” passed from GDI to the printer
driver?. We get the file name currently from GDI to the printer driver. I
need to know the source directory of the file that is currently being
printed.
Can anyone suggest any solution for this?.
Thanks
Venkat
The output path information is present in the DOC_INFO_x structure which
is passed to the spooler in StartDocPrinter or to the print monitor in
StartDocPort.
This posting is provided “AS IS” with no warranties, and confers no
rights.
-----Original Message-----
From: Tera NTDev [mailto:xxxxx@teraltd.com]
Sent: Thursday, June 06, 2002 5:05 AM
To: NT Developers Interest List
Subject: [ntdev] StartDoc Spooler call(GDI -> Printer Driver)
Hi
In StartDoc call, the document name is sent from GDI to the spooler.
lpszDocName - Pointer to a null-terminated string that specifies the
name of the document. And output file name is sent if it is a print to
file.
Now, If I fire a printout of a file from a specific directory say
c:\temp\123, How can I get the “Directory information” passed from GDI
to the printer driver?. We get the file name currently from GDI to the
printer driver. I need to know the source directory of the file that is
currently being printed.
Can anyone suggest any solution for this?.
Thanks
Venkat
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%