creating envelope macro

G

Graham Mayor

The macro calls the printer by name -
ActivePrinter = "HP LaserJet 2100 Series PCL 6 on LPT1:"

The name that it calls should match exactly the name listed in the (user's)
print dialog. To avoid any errors, record a macro of you changing the
printer manually and replace the line so produced with the similar line in
your macro. Changing the printer manually will produce a macro similar to:

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 31/12/2008 by Graham Mayor
'
ActivePrinter = "HP LaserJet 4050 Series PCL"
End Sub

If you add 'another printer' using the alternative driver though outout to
the same physical printer, then the added 'printer' will have a different
name. Replace the name in the macro with that name.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top