Print all open documents

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
dbytes
User
Posts: 1
Joined: Wed Jan 02, 2013 5:31 am

Print all open documents

Post by dbytes »

Is there a way to print all currently open documents? I'm not seeing an option to do this and it would come in handy for times that I open multiple PDFs from emails and print them.

Also, is there a way to quick print to the default printer without the print dialog box?

Both of these would be great additions to future upgrades.

Thanks,

JJ
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6897
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Print all open documents

Post by Paul - Tracker Supp »

Hi dbytes,

welcome to the forum and thanks for the post.
Is there a way to print all currently open documents?
Not in the current Viewer, though it is coming in V3 - after the initial Gold release I believe. For now you can select multiple files in Windows Explorer and Print from a right mouse click, that will silently call the default Viewer and send the print jobs to your printer. This works with the current PDF-XChange Viewer installed.
Also, is there a way to quick print to the default printer without the print dialog box?
No I'm afraid not. It will always call the Print Dialogue. I believe this is by design, so I've added it to the wish list just in case it is something that can be added as an option one day.

hth
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Print all open documents

Post by Ivan - Tracker Software »

There is a way to print all opened documents. You have to use JavaScript to do this (open JS console using Ctrl+J shortcut, paste the following code into console, and run it):

Code: Select all

var ad = app.activeDocs;
for (var i = 0; i < ad.length; i++)
{
  var pp = ad[i].getPrintParams();
  // uncomment the next line to print without dialog for each document
  // pp.interactive = pp.constants.interactionLevel.silent;
  ad[i].print(pp);
}
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
mwidunn
User
Posts: 35
Joined: Sat Jun 20, 2015 2:09 pm

Re: Print all open documents

Post by mwidunn »

. . . A slow solution which caused multiple spooling problems with my printer. Would have been quicker for me to have just clicked each tab individually and printed the document myself.
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Print all open documents

Post by Will - Tracker Supp »

Hi mwidunn,

I'm afraid that this is the only option that we can offer at this time.

Thanks,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Post Reply