Duplex Setting in Macro

O

Ole Weigelt

Hi Everybody,

is it possible to set a HP printer to duplex mode via macro?

I have tried to record a macro and have analyzed it, but no word of duplex
or other printer specific settings.

Any idea?

Thanks a lot

Ole
 
J

Jonathan West

Ole Weigelt said:
Hi Everybody,

is it possible to set a HP printer to duplex mode via macro?

I have tried to record a macro and have analyzed it, but no word of duplex
or other printer specific settings.

Any idea?

Controlling the Printer from Word VBA
Part 2: Using VBA to control Duplex, Color Mode and Print Quality
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=116


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
G

Graham Mayor

If your printer reads PCL commands you could also use a PRINT field in the
document.

Sub PrintDuplex()
Selection.Fields.Add Range:=Selection.Range, _
Type:=wdFieldEmpty, Text:="PRINT 27""&l1S"""
End Sub


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
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