cleidigh / printing-tools-ng

PrintingTools NG Thunderbird Extension - Printing Utilities
Other
36 stars 17 forks source link

Usage of format for file name and custom date also when not directly generating PDF output #183

Open PeterS-ZH opened 1 year ago

PeterS-ZH commented 1 year ago

In the specification of a default printer it is also possible to select a printer driver. In this case the decision if the output will go to paper or some other media is only taken in second step - outside of the PrintingToolsNG. The filename customization (currently defined in the tab 'PDF Output') should nevertheless be evaluated and the corresponding info be sent to the default printer. That way, if the subsequent decision is to generate a PDF or to save it as some other file, the defined filename is available. This brings the same benefits as for the directly generated PDF output.

cleidigh commented 1 year ago

@PeterS-ZH Thanks for the feedback on the new release! You are spot on with regards to how it should work. In fact I tried everything to be able to get the naming passed. The problem is that drivers interacting with Thunderbird all act differently and don't seem to be very smart. One example is from preview the Mozilla Save to PDF will use the subject for the pre populated name, the Microsoft pdfprinter just blank!

So unfortunately unless ptng is directly printing to a pdf printer I have no control within the addon. I will keep looking. @cleidigh

PeterS-ZH commented 1 year ago

@cleidigh Tnx for the answer. Mail and a beer or two on their way back to you. 👍

cleidigh commented 1 year ago

@PeterS-ZH Beer received, many thanks 💯 ! And don't hesitate to make more suggestions. Cheers Christopher

cleidigh commented 1 year ago

@PeterS-ZH I am going to make this a feature request so I can be reminded to keep on trying sneaky tricks to do this ! @cleidigh

PeterS-ZH commented 1 year ago

@cleidigh Thanks a lot for that move! I'll keep my fingers crossed. :-) P.