Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
mcp6453 mcp6453 is offline
external usenet poster
 
Posts: 9
Default Selecting Printer with a Template

I have created a template in Word 2003 that uses a color printer instead
of the standard laser printer. How can I cause that template to
automatically select the color printer? Do I need a macro? Any help
appreciated.
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Selecting Printer with a Template

You could intercept the print commands in the template by saving the
following macros *IN THAT TEMPLATE*
Change the HP printer name for the colour printer name

Sub FilePrintDefault()
Dim sCurrentPrinter As String
sCurrentPrinter = ActivePrinter
ActivePrinter = "HP LaserJet 4050 Series PCL"
Application.PrintOut FileName:=""
ActivePrinter = sCurrentPrinter
End Sub

Sub FilePrint()
Dim sPrinter As String
With Dialogs(wdDialogFilePrintSetup)
sPrinter = .Printer
.Printer = "HP LaserJet 4050 Series PCL"
.DoNotSetAsSysDefault = True
.Execute
Dialogs(wdDialogFilePrint).Show
.Printer = sPrinter
.DoNotSetAsSysDefault = True
.Execute
End With
End Sub

http://www.gmayor.com/installing_macro.htm


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


mcp6453 wrote:
I have created a template in Word 2003 that uses a color printer
instead of the standard laser printer. How can I cause that template
to automatically select the color printer? Do I need a macro? Any help
appreciated.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a template for Avery printer labels #5351 Jans2busy Microsoft Word Help 2 October 4th 06 12:40 AM
I have a color printer, my printer prints a blank page not color LadyC Microsoft Word Help 7 May 10th 06 05:07 AM
Memo Template and Printer Tray Assignment B. Levien Page Layout 3 May 4th 06 06:06 PM
MS Word to use default printer, not most recently used printer Sandy Microsoft Word Help 2 December 16th 05 07:07 AM
Selecting whole word while selecting T. V. Rajan Microsoft Word Help 1 April 13th 05 08:14 PM


All times are GMT +1. The time now is 05:12 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"