Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Mac-specific: translator(smcl2pdf)

From   Phil Schumm <>
Subject   Re: st: Mac-specific: translator(smcl2pdf)
Date   Mon, 12 Mar 2007 11:49:50 -0500

On Mar 12, 2007, at 6:09 AM, Daniel Becker wrote:
I am using quite often the translator(smcl2pdf). What is annoying is that you have "output settings" box popping up that asks you for confirmation that you really want a conversion of you log to pdf. Also you can tell stata what the header, name and project entry should be.
On a Mac there is no real need to translate logs, since Macs have pdf technology built in. Just issue a 'print' command and then use the 'pdf' button to save the file as a pdf.
yes, i know. The need to use the translator that I need to avoid as much interaction as possible as my project takes quite a while when I run the do file. It would be handy if the translation to pdf would be as automatic as possible. Maybe I can write an applescript that prints from stata to pdf.

I believe this is because the smcl2pdf translator essentially uses OS X's print-to-pdf functionality (which is why it is only available for the OS X GUI version of Stata). If you want to run the translation unattended, then just use smcl2ps to translate the file to Postscript. You can then open the file in Preview (which will convert it to PDF on the fly) or install Ghostscript and use the ps2pdf command.

-- Phil

* For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index