Statalist


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

st: Re: Re: how to batch print .do files


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Re: how to batch print .do files
Date   Wed, 1 Oct 2008 22:06:50 +0200

You might have to issue -transmap define .do .txt- to make this work...

HTH
Martin _______________________
----- Original Message ----- From: "Martin Weiss" <martin.weiss1@gmx.de>
To: <statalist@hsphsun2.harvard.edu>
Sent: Wednesday, October 01, 2008 9:39 PM
Subject: st: Re: how to batch print .do files



cd <my directory>
cap ssc inst fs

fs *do

foreach file in `r(files)'{
print "`file'"
}

HTH
Martin _______________________
----- Original Message ----- From: "Caleb Southworth" <caleb@uoregon.edu>
To: <statalist@hsphsun2.harvard.edu>
Sent: Wednesday, October 01, 2008 9:32 PM
Subject: st: how to batch print .do files




Does anyone have a way to send all the dofiles in a directory to a printer under windows?

Even better would be if there were a header with the filename.

Thanks,

Caleb Southworth
Associate Professor
University of Oregon Sociology
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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