c# - Print PDF with Acrobat Pro: select printer -


i can print pdf acrobat (not reader) here code:

var mapp = new acroappclass();  var avdoc = new acroavdocclass(); if (avdoc.open(filename, "")) {     var pddoc = (cacropddoc)avdoc.getpddoc();     avdoc.printpagessilent(0, pddoc.getnumpages()-1, 2, 1, 1);     pddoc.close();                         avdoc.close(1); }      if (mapp != null) {     mapp.closealldocs();     mapp.exit(); } 

this print pdf default windows printer.
there way choose printer without changing windows default printer?

here documentation: http://wwwimages.adobe.com/www.adobe.com/content/dam/adobe/en/devnet/acrobat/pdfs/iac_api_reference.pdf

it seems not possible:

printpages uses default printer setting.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -