[net.micro.pc] Help with Compaq Problems; screen intensity, date,time

gino@sdchema.UUCP (Eugene G. Youngerman) (08/29/85)

I have a couple of questions/problems that I thought someone could
help me out with.

First off, let me say that I am running a Compaq Deskpro with
two floppies and 640K.

First Problem.

     It seems that my monochromatic Compaq monitor (amber) has two
     levels of intensity, sort of a bright, and sort of a half bright.
     When I come out of symphony, the level is set to the duller level
     as default.  When I come out of Wordstar, the level is set at
     the brighter level.  So, in order to get the brighter level
     after using Symphony, I have to go in and out of Wordstar.

     Is there some way to circumvent this?

Second Problem

     I run a whole series of fortran programs that generate a series
     of output files.  I then obtain hard copy of these files by using
     the command

	   copy *.* prn

     My question is, I would like to have the date and time of the
     file's creation on the hard copy.  Is there some way to do this?
     
Third Problem

     In order to have these files to look nice, I output them using 
     the 17 cpi feature of my okidata 92 printer.  I have been accessing
     this feature by using the hard switches.  Is there some way I can
     access this feature from the keyboard.  I patched wordstar so
     that I can do it from there, but I just followed the instructions,
     and have no clue what I actually did.

In advance, let me say

Thank You

GINO

     Let me say that I am not a programmer, and you will have to
     be rather explicit in explaining this to me.
-- 
gino@CHEM.UCSD.ARPA
gino@CHEM.UCSD.UUCP
sdcsvax!gino%chem.ucsd

2212msr@whuts.UUCP (ROBIN) (09/03/85)

> I have a couple of questions/problems that I thought someone could
> help me out with.
> 
> First off, let me say that I am running a Compaq Deskpro with
> two floppies and 640K.
> 
> First Problem.
> 
>      It seems that my monochromatic Compaq monitor (amber) has two
>      levels of intensity, sort of a bright, and sort of a half bright.
>      When I come out of symphony, the level is set to the duller level
>      as default.  When I come out of Wordstar, the level is set at
>      the brighter level.  So, in order to get the brighter level
>      after using Symphony, I have to go in and out of Wordstar.
> 
>      Is there some way to circumvent this?
> 
> Second Problem
> 
>      I run a whole series of fortran programs that generate a series
>      of output files.  I then obtain hard copy of these files by using
>      the command
> 
> 	   copy *.* prn
> 
>      My question is, I would like to have the date and time of the
>      file's creation on the hard copy.  Is there some way to do this?
>      
> Third Problem
> 
>      In order to have these files to look nice, I output them using 
>      the 17 cpi feature of my okidata 92 printer.  I have been accessing
>      this feature by using the hard switches.  Is there some way I can
>      access this feature from the keyboard.  I patched wordstar so
>      that I can do it from there, but I just followed the instructions,
>      and have no clue what I actually did.
> 
> In advance, let me say
> 
> Thank You
> 
> GINO
> 
>      Let me say that I am not a programmer, and you will have to
>      be rather explicit in explaining this to me.
> -- 
> gino@CHEM.UCSD.ARPA
> gino@CHEM.UCSD.UUCP
> sdcsvax!gino%chem.ucsd

ntensity may by controlled with ANSI escape sequence.  Use: prompt e$[XXn
where XX =0 is dim intensity
      XX =1 is high intensity, e.g. bright


printer may be controlled by writing an escape sequence to proint buffer.
Using MS Fortran , use the 'char' command to write a suitable sequence, e.g.
wite(6,*)char(27),char(xx),char(yy),......

The escape sequence is the same one you used to patch WS.  Use ASCII value in place of xx and yy.  Remember to reset printer to normal char. size/pitch when finished via a similar command.

f you have any problems contact me directly at:
	Max S. Robin
	AT&T Bell Laboratories
	Rm. 3E-318A
	Whippany, NJ 07981
	201-386-6865
.
ZZ

*** REPLACE THIS LINE WITH YOUR MESSAGE ***

jeffm@mmintl.UUCP (Jeffrey Miller) (09/18/85)

*
Concerning your problem of setting up your printer's cpi from DOS, use debug
to set 2 or 3 bytes to the ESC-?? or whatever the Okidata's control code is.
Save the 2 or 3 bytes in a file called OKID17.CPI for example.  Everytime
before you want to print at 17 cpi (or any type of setting you configure)
simply copy OKID17.CPI to LPT1:.  If for example an ESC 1 does it for 17 cpi,
you would use the E command in debug to enter a 1b and a 31.  You might want
to terminate the string with a carriage return - line feed (0d 0a).

	*************************************************
	*	Jeff Miller				*
	*	Multimate International Corp.		*
	*	52 Oakland Avenue 			*
	*	East Hartford, CT  06108-9911		*
	*	(203) 522-2116 x257			*
	*  UUCP:					*
	* ...!seismo!utah-cs!utah-gr!pwa-b!mmintl!jeffm *
	*						*
	* P.S. I can't *mail* to ARPA but I can receive *
	* from there and news I *post* should get there	*
	*************************************************
*