I used the following code copied from the helpfile to try to create a pdf file. The file (example.pdf) shows up. However it is missing the output of the commands. It has "Report on 1978 automobiles" as content and that's all. e.g. the summarize mpg output is missing. Where am I going wrong?
Thanks in advance.
use https://www.stata-press.com/data/r17/auto, replace
putpdf begin
putpdf paragraph, font("Courier",20) halign(center)
putpdf text ("Report on 1978 automobiles")
summarize mpg
return list
putpdf save "/Users/mputt/Box/chibe/sri/example.pdf"
Thanks in advance.
use https://www.stata-press.com/data/r17/auto, replace
putpdf begin
putpdf paragraph, font("Courier",20) halign(center)
putpdf text ("Report on 1978 automobiles")
summarize mpg
return list
putpdf save "/Users/mputt/Box/chibe/sri/example.pdf"

Comment