home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Shareware GOLD
/
NuclearComputingVol3No1.cdr
/
_bbs3
/
f1238.zip
/
PSENV.DOC
< prev
next >
Wrap
Text File
|
1990-12-26
|
2KB
|
48 lines
December 27, 1990
The file psenv.mac is a WFW macro to print envelopes on an HP LJII with an
Adobe PostScript Cartridge; it is based on a macro by Guy Gallo. This
was my first attempt at both a WFW macro and a PostScript program so any
comments or suggestions are certainly appreciated. The program is a
bare bones attempt for my particular application. It can be easily
opened as a WFW document and pasted into a macro file. In my case, I added
the macro name (I called it PSEnvelope) to the utility menu.
Several comments:
1. The envelope prints in reverse landscape mode (return address first)
to reduce smearing.
2. The macro was written to print either of three names or no return address.
Change Name1$=, Name$2=, Name$3=, Address1$=, and Address2$= as
appropriate.
3. The macro puts the printer in manual feed mode so it waits for an
envelope to be inserted and then resets the printer after the envelope
is printed. This works in my configuration. I don't know about
the PacificPage or LJIIP or LJIII. If it doesn't work, just remove
the two "statusdict .... end" phrases.
4. The macro prints directly to the port LPT1 and not the spooler. Since
I have to manually insert an envelope anyway and generally print an
envelope before the letter, this was not a problem for me.
5. I've used the Times-Roman 12 point font with 12 point line spacing. Any
of the 35 PostScript fonts (although ZapfDingbats or Symbol might look
strange on an envelope) in any size can be used, and the font used for
the return address can be different than the font used for the addressee.
If you change the name of the font, make sure that you specify it (and
spell it) correctly or you'll get the Courier font.
6. The macro is hard coded for a standard business size envelope.
7. This version fixes a bug in the macro when "None" was selected for the
sender (the printer timed out and nothing printed).
Feel free to change or improve the macro.
Harvey Berger
73627,1163