![]() Just look for the «msgtotxt» function.Ĭurrently pergamail creates text files from incoming eMail messages, but it would be much better to directly create HTML or PDF documents to get more control over the print layout. ![]() With a little bit of AppleScript knowledge (maybe even without) you can easily adjust the pergamail eMail output to your own requirements. Important: If pergamail encounters an error, it creates a log file named «pergamail.log» on your desktop containing the last error message. It’s not an expensive and mature application. So if you encounter any problems, please remember that pergamail is currently just a little beta script. ![]() Moreover I encountered some problems, when I tried to use pergamail with my Bonjour-shared HP network printer at home. Maybe this can be overcome in the future by parsing the raw source of the eMail messages with a Python/Ruby/Perl script, then extracting and saving the HTML part, and finally printing it with the «lpr»-command. You won’t see any pictures or formatted text in the printouts from pergamail. Please note, that pergamail currently doesn’t support fancy HTML eMail very good. If you set this property to “long”, some more infos will show up in the mail header, e.g. But please note that pergamail can only print attachments, which can be printed out using the «lpr»-command (PS, PDF, RTF(D), TXT, HTML, most image formats natively supported by Mac OS X). If you want to try to also print out the attachments of the eMail messages, then set this value to true. After pergamail is finished, it will always set back your printer to the one used before. But if you always want to print to a specific printer, just provide the printer name here. "HP LaserJet 1300"īy default, pergamail is printing to the currently set printer. possible values: any name of an available printer, e.g. If TextEdit was not running on your Mac at the time pergamail started its work, it will quit it afterwards. You can set defprintapp to print either via the shell using the «lpr»-command or via TextEdit, which can also automatically print documents using AppleScript without invoking the print dialog. When making changes to pergamail, please always save it as a «Script bundle», as it also contains a little Python script, which translates byte sizes into a human readable form. Just open the script in the Script Editor and have a look at the first lines. Pergamail offers some advanced options, which you can directly set in its source code. All rule-matching eMails will then be processed by pergamail and - hopefully - printed out accordingly.
0 Comments
Leave a Reply. |