Programmatic method to get "exclusive lock" on a printer?

S

sherifffruitfly

Hi all,

Our C# app needs to send multiple documents to the printer (done), but
such that no other print jobs from other users (or the same user, I
suppose) can get "in between" any of the documents being sent.

Is there programmatic way to obtain exclusive access to a printer,
while I For-Next my way through my array of documents? If not is there
some other manner of guaranteeing that the bundle of documents sent to
the printer all come out as 1 unit, with no other jobs in between?


Thanks for any suggestions,

cdj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top