-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
format pdf filename possible issue with subject Content-Length or forbidden characters #247
Comments
Can you also do a screenshot of the pdf options tab?
…On Tue, Mar 12, 2024 at 1:05 PM R44D44 ***@***.***> wrote:
i am trying to print an email using *${prefix} ${subject}* as filename
(Dateinamenformat) within the pdf print options. the resulting filename is
not as expected.
as prefix i use *%y %m %d %H %M*
the subject has 118 characters, also some *+/()* in it
PrintingTools NG will not format the pdf filename according to what i have
set. it gives out differnet versions of subject, depending on the pdf
printer used. using pdf xchange standart printer it will give out the word
after */* and the first character after whats in the brackets.
using "save as pdf" it gives out the subject as filename without */* and
without prefix.
microsoft print to pdf and adobe pdf gives no filename.
OS windows 10
TB 115.8.0 64bit
PrintingTools NG 3.0.1
bug or human error?
—
Reply to this email directly, view it on GitHub
<#247>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGAZ76ZOSZD5IU62IVVJWADYX4YUHAVCNFSM6AAAAABESUMMHGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DEMRSGA3TGOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@R44D44 Now assuming you want the custom date then the subject, here is the setup: custom date: %y %m %d %H %M Now as for the special characters +/() Each of these is substituted with an underscore _ The other characters are fine and should have no affect. I have not seen different outputs from different pdf drivers so lets look at that once you are using the correct tokens. When you report back, give the exact message subject and resulting filenames so I can debug better. |
message subject is Gummilager Motor + Getriebe checken+ggf. tauschen MERCEDES BENZ T1 Bus/Kasten (601) 210 2.3 (Bremer Modell) B-HT 9368H i select the message and click on Drucken NG in the menu bar. the preview appears fine. i click print and copy the filename here. |
@R44D44 To use the auto naming you have to enable the pdf output directory and set the directory. Then when you press print you will be given the option to autosave the PDF or preview. Choose Autosave and your filename will be used. |
thats the solution. but it also works here without enabling the pdf output directory, just print+select the folder you wish the pdf to be saved. thanx! |
@R44D44 |
i am trying to print an email using ${prefix} ${subject} as filename (Dateinamenformat) within the pdf print options. the resulting filename is not as expected.
as prefix i use %y %m %d %H %M
the subject has 118 characters, also some +/() in it
PrintingTools NG will not format the pdf filename according to what i have set. it gives out differnet versions of subject, depending on the pdf printer used. using pdf xchange standart printer it will give out the word after / and the first character after whats in the brackets.
using "save as pdf" it gives out the subject as filename without / and without prefix.
microsoft print to pdf and adobe pdf gives no filename.
OS windows 10
TB 115.8.0 64bit
PrintingTools NG 3.0.1
bug or human error?
The text was updated successfully, but these errors were encountered: