PDF-XChange - Tracker PDF Viewer - TIFF-XChange - Image-XChange - XMF-XChange - Raster-XChange - Support

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

 
petwes
User
Topic Author
Posts: 2
Joined: Wed Nov 19, 2014 1:15 pm

Print all open files

Wed Nov 19, 2014 1:21 pm

Is it possible to print all open files at once?
So without selecting the tab's?
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 12667
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Print all open files

Wed Nov 19, 2014 1:28 pm

Hello petwes,

Welcome to our forums.
There is a "Print All" button in the list of commands in the Editor - but this is still inactive. It will be enabled in a future build.
In the mean time you can use the attached script file.
Extract the archives contents in
C:\Users\<<YOUR WINDOWS USERNAME>>\AppData\Roaming\Tracker Software\PDFXEditor\3.0\JavaScripts
(if the JavaScripts folder does not exist - create it)
And then restart the Editor.

This should result in a new button appearing in a separate toolbar in the Editor. When you click that - it will print all of your files, but show you the print preview window for each, so you will need to click the OK button for each file you want to print. If you want to "print all" silently - open the .js file in e.g. notepad and uncomment the indicated line.

Regards,
Stefan
Attachments
printAllOpenedDocs.zip
(456 Bytes) Downloaded 189 times
 
petwes
User
Topic Author
Posts: 2
Joined: Wed Nov 19, 2014 1:15 pm

Re: Print all open files

Thu Nov 20, 2014 6:14 am

Thank you very much for your support.
I have done it, and it works very fine.

This is the solution i was looking for.... :D :D
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 12667
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Print all open files

Thu Nov 20, 2014 9:25 am

:)
 
blutackey
User
Posts: 4
Joined: Thu Jul 27, 2017 12:15 am

Re: Print all open files

Mon Jul 31, 2017 12:54 am

Hi,

I'd also like to say thanks for the script, it works great! Saves quite a bit of time. Would be even better if you could just hit the print button once without having to worry about the Print dialog box appearing for every document. Do you know if this feature will still be implemented? It seems like this post was from a long time ago and the icon is still greyed out.

One more thing, can I change the java script icon from a puzzle to a printer icon to make it easier for people to know what the icon does?

Thanks again!
 
User avatar
Will - Tracker Supp
Site Admin
Posts: 6054
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Print all open files

Mon Jul 31, 2017 7:49 am

Hi blutackey,

Thanks for the post - Icons can be supplied for JavaScript buttons, but it's not as easy as it would seem. I would recommend that you simply add the cName & cLabel lines to the JavScript, e.g.
Image

If you did want to add an icon, you would need to create the icon file yourself. It can then be supplied to the script as per the oIcon property of the app.addToolButton method described here:
http://help.adobe.com/en_US/acrobat/acr ... _1_8_6_1_2

HTH!
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
 
blutackey
User
Posts: 4
Joined: Thu Jul 27, 2017 12:15 am

Re: Print all open files

Mon Jul 31, 2017 8:28 am

Thanks for the help, you guys are really great!
 
User avatar
Will - Tracker Supp
Site Admin
Posts: 6054
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Print all open files

Mon Jul 31, 2017 8:30 am

No problem at all! :D
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
 
User avatar
AndyK
User
Posts: 62
Joined: Sun Jul 27, 2008 8:52 pm

Re: Print all open files

Thu Dec 07, 2017 5:38 pm

@Tracker Supp-Stefan

this way don't work anymore :-(
viewtopic.php?f=62&t=22821#p88112

ist there a new JS file for that?

Thank you
Andy
 
User avatar
Ovg
User
Posts: 157
Joined: Tue Sep 05, 2017 4:56 pm
Location: Moscow

Re: Print all open files

Thu Dec 07, 2017 6:25 pm

Hmm ... I have tested just now - working fine for me .....
It's impossible to lead us astray for we don't care even to choose the way.
PDF-XChange PRO, 7.0 (Build 325.1) / W7 x64 SP1
 
User avatar
AndyK
User
Posts: 62
Joined: Sun Jul 27, 2008 8:52 pm

Re: Print all open files

Thu Dec 07, 2017 6:34 pm

mhh, now it's working for me too … strange Image

Andy
 
Paul - Tracker Supp
User
Posts: 4747
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Print all open files

Thu Dec 07, 2017 10:38 pm

:?
_________________
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

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

Who is online

Users browsing this forum: superpdfman and 2 guests