Set duplex option on a document

G

Guest

Hello,

I looking to set a document to always print duplex no matter what type (i.e.
Hp or Lexmark). My goal is to set the document to print duplex and if someone
else opens it and prints duplex already.
 
G

Guest

I said that wrong....

I looking to set a document to always print duplex no matter what type of
printer default is set to. (i.e. Hp or Lexmark). My goal is to set the
document to print duplex and when someone else opens it, doc is set to print
duplex already.
 
J

Jay Freedman

There is no simple setting that's saved in the document file to control
duplex printing. You'll need some macro code, which you can find at
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=116. Then
you'll have to deal with the security warning that you get when there's
macro code in a document (or, if the user's macro security level is High,
your code just won't run at all...).

Also, what happens if the user's printer doesn't support duplexing?

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Thanks Jay,

All the printers setup have are duplex. I have a certain documents that need
to set for duplex. Thanks for the heads up.

I just looked at the code you referenced. I saw the warning too! All I need
to do is set the duplex code. Based on the warning, should I copy everything
and set all the printer options you listed? Also, will a user be able to
change options when they go to print?

Thanks

Marisa
 
J

Jay Freedman

I'm sorry, I can't answer those questions. Jonathan West, the author
of the article and our resident printing guru, is on holidays at the
moment and enjoying the offline life. :) I hope when he returns
he'll tell you what's needed.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
G

Graham Mayor

If your printers accept PCL commands, you may be able to use a PRINT field.
A PRINT field is simply a type of field that allows you to send instructions
directly to the printer.

There are 3 possible data values for duplex setting: PRINT 27"&l0S" simplex
PRINT 27"&l1S" vertical duplex . PRINT 27"&l2S" horizontal duplex
(bookformat)

The codes after PRINT are 27 (escape), double quote, ampersand, lowercase L,
0, 1 or 2, uppercase S and finally terminated with a double quote.

Thus for horizontal duplex you would insert the following field :
{ PRINT 27"&l2S" }


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

My web site www.gmayor.com

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

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