By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,969 Members | 2,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,969 IT Pros & Developers. It's quick & easy.

printing using shellexecute - retrieving name of printed file

P: n/a
We are writing an app that automates printing of documents of different
types. These documents are printed to PostScript files, not to a
printer. The app uses shellExecute with the "printto" verb (and the
Process class). This is a server app which requires that everything is
done without user intevention.
The problem is that we need to grab these PostScript files after
they've been printed, for further processing. Is there a way to set the
name of the file that will be printed so we can be sure we're
retrieving the correct file (not some random file that was printed by
someone else for a different purpose - this server may be used for
other things as well)? How can we track the print process and know when
an app is stuck (e.g. Word is trying to print a doc file but gets stuck
on some user prompt) so that we can handle them without user
intervention?
Help will be strongly appreciated... :)

Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.