Statalist


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

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


From   Caleb Southworth <[email protected]>
To   [email protected]
Subject   Re: st: Re: Re: how to batch print .do files
Date   Wed, 1 Oct 2008 14:22:11 -0700 (PDT)

Thanks, Martin. I get an error re -prn2do- & findit doesn't turn up 
that program. Ideas?

. cd c:\union_pop\dofiles\
c:\union_pop\dofiles

. 
. fs *do
[snip]
. 
. foreach file in `r(files)'{
  2. print "`file'"
  3. }
translator do2prn not found
r(111);

end of do-file

r(111);





On Wed, 1 Oct 2008, Martin Weiss wrote:

:You might have to issue -transmap define .do .txt- to make this work...
:
:HTH
:Martin _______________________
:----- Original Message ----- From: "Martin Weiss" <[email protected]>
:To: <[email protected]>
: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" <[email protected]>
:> To: <[email protected]>
:> 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/
:

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/



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