Path: utzoo!utgpu!watmath!xenitec!timk
From: timk@xenitec.uucp (Tim Kuehn)
Newsgroups: comp.databases
Subject: Re: dBase/FoxBase question
Summary: output to the printer...
Message-ID: <1989Aug12.183058.4476@xenitec.uucp>
Date: 12 Aug 89 18:30:58 GMT
Reply-To: timk@xenitec.UUCP (Tim Kuehn)
Organization: Xenitec Consulting Services, Kitchener, ON
Lines: 36

In article <225@ic2020.UUCP> jim@ic2020.UUCP (Jim Carter) writes:
>Here is another question :
>FoxBase under SCO/386, How do you send output to a printer and not to the
>screen.  For example, if you are producing a report via the 
>"report ... to print" command, you have to wait and see all the same output
>on the screen.  Rather iritating and I am sure much slower.  
>
>Have any Ideas ??
>--
>Jim Carter (Sequoia Contact Lens,1355 11th Street,Reedley,CA,93654)
>{...!csufres!csuf3b!ic2020!jim} 209/638-3939, Fax 209/638-5433
Jim - your question is somewhat ambiguious as to what *Exactly* you're 
asking.Hopefully, one of the following will give you (and any other 
net.readers out there) an answer to your question:

It depends on where the output is coming from. If you're using the @ x, y Say
commands you'll need to include the statment SET DEVICE TO PRINTER in your
code. (You won't see the output from the program though) If you're using 
the ? command, then SET PRINTER ON will give you a hard copy of what you see 
on the screen, and also you can see the output on the screen too. (IF you
don't want anything coming up on the screen then SET CONSOLE OFF first, and
then SET CONSOLE ON after the print run is done.) If you have something 
you want directed to a file then SET PRINTER TO . IF you want something
to go to a *different* device printer, then SET PRINTER TO , output
the info you want printed, then !cat  > 

Of course, most of this is documented in the manuals... :-)


+-----------------------------------------------------------------------------+
|Timothy D. Kuehn	       			       timk@xenitec	      |
|TDK Consulting Services			       !watmath!xenitec!timk  |
|871 Victoria St. North, Suite 217A					      |
|Kitchener, Ontario, Canada N2B 3S4 		       (519)-741-3623 	      |
|DOS/Xenix - SW/HW. uC, uP, DBMS. 		       Satisfaction Gauranteed|
+-----------------------------------------------------------------------------+