Automatically, A parts of saving file name replacable?

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers only - Please do not post requests for older versions of PDF-XChange or the PDF-Tools/OFFice2PDF applications here

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

Post Reply
User avatar
monpetit.san
User
Posts: 8
Joined: Mon Oct 15, 2018 11:36 pm

Automatically, A parts of saving file name replacable?

Post by monpetit.san » Sat Mar 23, 2019 3:33 am

Hi, all of Forum members:

Would you please tell me it is possiblity? :?:

I want to change a parts of filename when between the PDF XChange Lite printing.
the sent from business system print jpb is "/" in a parts of filename.
So I want to change its from "/" to "_" replace.

Could I resolve these issue at tuneing the printer settings?


Tank you for your looking this article.
Best Regard
monpetit.san (staying JPN)

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

Re: Automatically, A parts of saving file name replacable?

Post by Will - Tracker Supp » Mon Mar 25, 2019 12:21 pm

Hi monpetit.san,

Thanks for the post - Please try replacing the titrules.js file under C:\Program Files\Tracker Software\PDF-XChange Lite with the attached (you will need to extract the JS file from the zip folder). I'd recommend that you make a copy of the original titrules.js file just in case.
titrules.zip
(1.16 KiB) Downloaded 33 times
Cheers,
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
monpetit.san
User
Posts: 8
Joined: Mon Oct 15, 2018 11:36 pm

Re: Automatically, A parts of saving file name replacable?

Post by monpetit.san » Wed Mar 27, 2019 1:23 am

Will san
Tank you for your cooperation and printing script.

I replaced printing script for PDF-XChange Lite, however a part of filename did not replace from "/" to "_".
Should I need to change a your offered script?

  • I have deployed a script on the below path: "C:\Program Files\Tracker Software\PDF-XChange Lite"
  • I did not change anything in a script codes.
Best Regard
monpetit.san (staying JPN)

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

Re: Automatically, A parts of saving file name replacable?

Post by Will - Tracker Supp » Wed Mar 27, 2019 1:01 pm

Hi monpetit.san,

The laptop I'm forced to use at the moment has some issues, so I couldn't be sure if the error was because of that. However, others in the support team are also experiencing the same and it appears to be because the %[DocPath] macro isn't working. I've sent this to the development team for comment/investigation and one of us will update you as soon as we hear more.

Apologies for the inconvenience!
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
monpetit.san
User
Posts: 8
Joined: Mon Oct 15, 2018 11:36 pm

Re: Automatically, A parts of saving file name replacable?

Post by monpetit.san » Thu Apr 04, 2019 1:31 am

Ahh, sorry for interrupting the between your busy time :shock:
However, THANK YOU A LOT sending this time's issues situation to your company's developer Dept.

I wait that replying solution from you.
Best Regard
monpetit.san (staying JPN)

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

Re: Automatically, A parts of saving file name replacable?

Post by Will - Tracker Supp » Thu Apr 04, 2019 9:25 am

Hi monpetit.san,

It's not a problem at all, that's what we're here for! I've heard back from our lead developer and he's said that the reason %[DocPath] macro isn't working is because only certain applications provide information on the document path. If this isn't provided, then we cannot know where the file is stored and therefore the script I sent will not work. I wasn't aware of this before so my apologies there!

Can you please advise on how you're getting the file path into the name of the file? Are you entering it manually? If not, can you please advise on the application that you're printing from?

Cheers,
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
monpetit.san
User
Posts: 8
Joined: Mon Oct 15, 2018 11:36 pm

Re: Automatically, A parts of saving file name replacable?

Post by monpetit.san » Fri Apr 05, 2019 12:15 am

Will san
Thank you for your reply and kindly words!

We do not print from a made file.(because of "/" cannot use for file name on Windows OS.)
This time issue, we have printed at used the "SAP GUI client".

Now, a part of records in on our SAP GUI client are to contain a "/" word.
We will generate with PDF XChange Lite v7 for these records, however, each any PDF file lost the string after "/" word.
Because of lost string contain the invoice number, we definitely need their.

Could you please understand it? and can we resolve this issue? :(

P.S.
Our SAP GUI client was install the below path on Windows:
"%PROGRAMFILES(X86)%\SAP\FrontEnd\SAPgui\saplogon.exe"
Best Regard
monpetit.san (staying JPN)

Post Reply