Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Duplex Setting in Macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ole Weigelt - 27 Jan 2006 10:00 GMT
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
Jonathan West - 27 Jan 2006 11:01 GMT
> Hi Everybody,
>
[quoted text clipped - 4 lines]
>
> 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

Signature

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 

Ole Weigelt - 27 Jan 2006 11:09 GMT
Wow, that was a fast one. Thanks a lot!!

> > Hi Everybody,
> >
[quoted text clipped - 8 lines]
> Part 2: Using VBA to control Duplex, Color Mode and Print Quality
> http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=116
Graham Mayor - 27 Jan 2006 15:20 GMT
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

Signature

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

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

> Wow, that was a fast one. Thanks a lot!!
>
[quoted text clipped - 18 lines]
>> Keep your VBA code safe, sign the ClassicVB petition
>> www.classicvb.org 

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.