Date: Tue, 13 Apr 1999 16:17:34 +0200
Reply-To: "Becker, Eckhard [IAW-04]" <EBecker@VHV.DE>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "Becker, Eckhard [IAW-04]" <EBecker@VHV.DE>
Subject: Printing from AF
Content-Type: text/plain; charset="iso-8859-1"
Hello SAS-ler,
I want to print a file to the defaultprinter from an AF-program.
This is the way I do it:
call execcmdi("cle out"); /* Clear the output-window */
link ERSTELL; /* Link the section with the proc print */
call execcmd("out;print ;af"); /* Switch to the output-window, print
it and back to the af-programm */
It works nearly :-(
The output window pops up after the proc print, but I have to close it by
hitting F3 (=end), before the printing starts. After printing, the
application returns to the AF part. It doesn't help sending an end-command
after the print.
Any Idea anyone?
Eckhard
////
(o-o)
--------------------o0o.-(_)-.o0o-----------------
VHV Vereinigte Haftpflicht Versicherung
Eckhard Becker
Informatik - Anwendungsentwicklung
Constantinstr. 40
30177 Hannover
Telefon +49 511 907 4763
Fax +49 511 907 4799
EMail EBecker@vhv.de
SAS-AE-Forum Hannover:
www.germany.net/teilnehmer/100/111666/sas/main.htm
--------------------------------------------------