Hi,
We set the full output path for pdf report via API:
m_pPrinter->Option[L"Save.File"] = fullpath;
Our testers observed that whenever the path contains a single "%" the character is simply removed from path/name. I know "%" has to do with macros, but I was sure it will properly recognize "%[...]" pattern, it seems it always uses "%" as a special character though. I did some further testing and could notice, that if we use double "%%" it's converted to single "%". Could you please confirm it? Is it enough to simply replace every "%" with double "%%" in a path before passing it to the option Save.File for it to work correctly? I couldn't find it in your documentation somehow.
Regards,
Maciej
Skipping "%" in file name
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange
-
- Site Admin
- Posts: 3597
- Joined: Thu Jul 08, 2004 10:36 pm
Re: Skipping "%" in file name
The issue is fixed in build 196 which should be available on Thursday or Friday. Thanks for the report.
PDF-XChange Co Ltd. (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.
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.
-
- User
- Posts: 23
- Joined: Mon Feb 09, 2009 8:52 am
Re: Skipping "%" in file name
Thank you!
-
- Site Admin
- Posts: 19919
- Joined: Mon Jan 12, 2009 8:07 am