How to Convert your SMCL Log Files to PDF
Stata log files are usually saved in smcl format, which is the Stata Markup and Control Language. This format is easily readable by Stata, however if you are sharing your log files with someone who doesn’t have Stata this can present an issue. An easy fix for this is to simply convert your smcl log file into a PDF file which everyone can read. This has the added benefit of protecting your log file from editing by others.
To convert your log file (once its saved) use the following command:
When the command is run this should give you the following message in the results pane:
The file pdflog.pdf, which I saved in my Documents folder with the above code, is my log file now saved in PDF format.