cube.pdf icon indicating copy to clipboard operation
cube.pdf copied to clipboard

Printer to PDF Naming: If Document Contains a " - " everything before that is dismissed.

Open pjpks opened this issue 1 year ago • 2 comments

If my Document Name (in MS Word) is: "test - name.docx" cubepdf Printer will only show "name.pdf" when saving/printing the Document.

pjpks avatar Apr 03 '24 08:04 pjpks

CubePDF determines the initial filename based on the "document name" obtained through the Windows virtual printer mechanism.

This name is set by the application that presses the print button. Since many applications specify it in a format like "Application name - filename.ext", we have implemented a mechanism to trim some strings.

We will discuss this issue to see if there is a better way to trim.

clown avatar Apr 04 '24 01:04 clown

Thank you for the reply and explanation. as i was looking at diffrent solutions to my Problem, i found that clawPDF´s solution is: a) userdefinable strings (cool!) b) regarding this specific one the ones in the standard are as folows: grafik

in hopes that this is usefull information i greet sincerely

pjpks avatar Apr 09 '24 08:04 pjpks

We have improved the way to determine the initial filename in CubePDF 4.0.0. https://www.cube-soft.com/cubepdf/ https://docs.cube-soft.jp/entry/2024/07/10/cubepdf-4.0.0-or-later

clown avatar Jul 11 '24 05:07 clown

Hi, i just tested, and can confirm that this change solved this specific problem :) Thanks a lot!

pjpks avatar Jul 11 '24 08:07 pjpks