[comp.windows.ms] recording macros

eaton@eecs.ucdavis.edu (William Eaton) (06/14/91)

  I'm looking to automate what I foresee to be a very tedious, but
  frequent process on my PC compatible. I  would like to use macro
  recorder, which comes with W3, since it seems to be a handy way to
  automate processes. Anyway, here's what I'd like to do:

	Ultimate Goal: print file on remote machine

	1. fire up Terminal, which then
	2. automatically logs into a mainframe account
	3. transfer a file to the mainframe
	4. print the file from the mainframe
  
  Simply buying a laserprinter IS NOT AN OPTION. This seems to be the
  only way (at this time, at least) that I can get laser quality
  printouts.

  It may be easier to use the same file name for every printout and
  just keep overwriting it. I am confident that once I get the file to
  the mainframe, doing a printout will be simple. Getting it there
  will probably be the hard part.

  Any suggestions?

  ------------------------------------------------------
  Bill Eaton
  insert standard disclaimer here
  ------------------------------------------------------

julien@wsc-sun.boeing.com (William Julien) (06/17/91)

In article <9186@ucdavis.ucdavis.edu>, eaton@eecs.ucdavis.edu (William Eaton) writes:
> 
>   I'm looking to automate what I foresee to be a very tedious, but
>   frequent process on my PC compatible. I  would like to use macro
>   recorder, which comes with W3, since it seems to be a handy way to
>   automate processes. Anyway, here's what I'd like to do:
> 
> 	Ultimate Goal: print file on remote machine
> 
> 	1. fire up Terminal, which then
> 	2. automatically logs into a mainframe account
> 	3. transfer a file to the mainframe
> 	4. print the file from the mainframe
>   
>   Simply buying a laserprinter IS NOT AN OPTION. This seems to be the
>   only way (at this time, at least) that I can get laser quality
>   printouts.
> 
>   It may be easier to use the same file name for every printout and
>   just keep overwriting it. I am confident that once I get the file to
>   the mainframe, doing a printout will be simple. Getting it there
>   will probably be the hard part.
> 
>   Any suggestions?
> 
>   ------------------------------------------------------
>   Bill Eaton
>   insert standard disclaimer here
>   ------------------------------------------------------

This is possible to do this with WRQ's Reflection. Or for that matter,
a lot of communication programs have script programs to perform
just what you describe. Also, if you are connected to the host via an
ethernet connection FTP's TCP package has the tools to do this. I do
not have a printer on my system at work, but all I have to  do is
double click on the file which is associated to a batch file. In this
batch file I have:
	@echo off
	rcp hostname %1 ~myid/tmp/%1
	rsh hostname lpr %1
It works great!

Willaim Julien            | julien@wsc-sun.boeing.com        |    Grin and
Boeing Computer Services  | julien%wsc-sun@atc.boeing.com    |     ignore
(206) 865-5047            | uw-beaver!bcsaic!wsc-sun!julien  |       it
#include <Standard discaimer>
-- 
Willaim Julien            | julien@wsc-sun.boeing.com        |    Grin and
Boeing Computer Services  | julien%wsc-sun@atc.boeing.com    |     ignore
(206) 865-5047            | uw-beaver!bcsaic!wsc-sun!julien  |       it
#include <Standard discaimer>