From: utzoo!decvax!ucbvax!C70:info-cpm
Newsgroups: fa.info-cpm
Title: Re:  submit with printer control
Article-I.D.: ucb.1601
Posted: Sun Jul 25 19:19:15 1982
Received: Wed Jul 28 06:12:31 1982

>From rconn@BRL Sun Jul 25 19:18:58 1982
Jim,

        For your particular problem, there are several  directory
utilities,  including  XDIR2, which provide a print option.  That
may be a simple direct solution.

        The use of the character string "^P"  will  probably  not
work since the interpretation for ^P is done in the BDOS, and the
CCP (ZCPR is what I tested against) reads the $$$.SUB  file  from
disk  and  the control character doesn't pass thru the BDOS input
routine, and, hence, is not interpreted.

        Aside from using a  directory  utility  which  gives  you
printer  output,  an  alternative  is  to implement as one of the
redirectable I/O devices a special device driver  which  provides
console  input  and console/printer output in parallel.  Then, by
simply running STAT to select the new device,  you  turn  on  the
printer  for all output to the screen, and you can run STAT again
when you are done to turn off the printer.  I am using  redirect-
able  I/O  to perform a similar function in which the device tied
to my console is a second  microcomputer,  and  I  can  send  all
screen displays to disk in this way.

                                        Rick