🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1580

Printing to disk with Windows 3.0

#1580
From: Olivier Barthelemy
Date: Mon, 16 Jul 1990 13:57
38 lines
1847 bytes
I am trying to use windows w/o a printer, then printing to disk and going
to another machine.

The problem is, Windows always erases the previous content of the 'print'
file. I have to save this file to a floppy, under a different name, every
time.

I wrote a small batch file to do just that, abd then a macro to launch
this file. The problem is that the macro may be launched from any application.
It needs to switch to the program manager to execute the .bat file.
when I <ctrl-esc> to progman, I get a list of active tasks. How can I make
sure that the macro will ALWAYS select progman ? I cannot use the mouse
since the order of the listed tasks may vary. I cannot use P either bacause
of Paintbrush, PCshell...


Another problem I had in my batch file is that :
for %%a in (e1.prn e2.prn) do goto test
goto end
:test
dir a:%%a
:end
echo ---the end---

DOESN't work ! for some reason, dir doesn't replace %%a by its value.
dir DOES replace %%a if I don't use a goto but is instead do the dir in the 
loop. I must be missing something.

Thanks for your help

Olivier

  
-=-
Olivier Barthelemy       barthe@hpuxa.ircc.ohio-state.edu
MBA Student              1660 N 4th St, #2B, Columbus, Ohio 43201
French TA                Tel : (614)-294-3302 evenings
Computer consultant	 Permanent adress : 1 Q Mistral, 13120 Gardanne, France
Technical Details
Message-ID: <2805@nisca.ircc.ohio-state.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!nisca.ircc.ohio-state.edu!hpuxa.ircc.ohio-state.edu!barthe

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!nisca.ircc.ohio-state.edu!hpuxa.ircc.ohio-state.edu!barthe
From: barthe@hpuxa.ircc.ohio-state.edu (Olivier Barthelemy)
Newsgroups: comp.os.msdos.programmer
Subject: Printing to disk with Windows 3.0
Message-ID: <2805@nisca.ircc.ohio-state.edu>
Date: 16 Jul 90 13:57:12 GMT
Sender: news@nisca.ircc.ohio-state.edu
Organization: The Ohio State University (IRCC)
Lines: 38