Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Using PDF reDirect
 EXP Systems Forum : PDF reDirect : Using PDF reDirect
Topic: Scripting PDF reDirect Post Reply Post New Topic
Author Message
mhall50
Newbie
Newbie
Avatar

Joined: 13 Mar 13
Location: United States
Posts: 2
Quote mhall50 Replybullet Topic: Scripting PDF reDirect
    Posted: 14 Mar 13 at 8:29PM
Is it possible to script PDF reDirect?
 
I'd like to be able to pass the PDF reDirect viewer the PDF file path and PDF File 'save as' name to automate the process.  Ideally the viewer wouldn't have to be displayed at all.  The click on "save" event would also be included in the script to enact the save of the PDF file by the name passed and the path/folder to save it in.
 
For example:
 
variables to include in the script:
 
1.  a network path like //myserver/myshare_parent_folder/Daily_PDF_files
2.  the name of the new PDF file:  mynewPDF.pdf
 
Forcing the end-user to 'browse' to the folder location to save the PDF file in is
awkward.  I'd rather pass the name of the save folder path and the PDF file 'save as' file name via a scripting interface.
 
Having to teach end-users how to select a mapped network drive with the "save-to" folder location is difficult.
 
Is there a config file sililar to that used with PDF Split and Merge where
the default working directory can be set using a simple vbs script.
 
This is the config file used by the PDF Split and Merge Utility
div>
 
?xml version="1.0" encoding="UTF-8"?>
<pdfsam config-version="2">
 <settings>
  <laf current-laf="6" current-theme="0"/>
  <thumbpoolsize value="3"/>
  <loglevel value="10000"/>
  <i18n value="en_GB"/>
  <default_working_path value="C:\PDFsam\PDFs"/>
  <thumbnails_creator class="org.pdfsam.guiclient.business.thumbnails.creators.JPodThumbnailCreator"/>
  <default_environment value=""/>
  <plugs_absolute_path value=""/>
  <checkupdates value="true"/>
  <playsounds value="true"/>
  <overwrite_confirmation value="false"/>
  <high_quality_thumbs value="true"/>
  <thumbnails_size value="270"/>
 </settings>
</pdfsam>
IP IP Logged
mhall50
Newbie
Newbie
Avatar

Joined: 13 Mar 13
Location: United States
Posts: 2
Quote mhall50 Replybullet Posted: 16 Mar 13 at 12:28PM
If someone at EXP can provide me a sample script that does what I need I can guarantee a sale, otherwise it's time for me to move onto another PDF Printer based solution that can do what I need to do!
IP IP Logged
Michel_K17
Moderator Group
Moderator Group
Avatar
Forum Administrator

Joined: 25 Jan 03
Posts: 1637
Quote Michel_K17 Replybullet Posted: 17 Mar 13 at 11:11PM
Hi,

   PDF reDirect Pro comes with an ActiveX component which you can use to "remote control" PDF Batch printers, using pretty much any programming language of your choice.

   You can read more about it [ which includes sample code as well.

   Cheers!

Michel
Michel Korwin-Szymanowski
EXP Systems LLC
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum