Setting Document to always print double sided

B

Binu

Hi

We have a printer which supports duplex printing. Is it possible to set a
particular document template to be set to double sided printing, so when ever
a user send that document to the printer , it will always get printed double
sided.

It is easy to do this by changing the printer properties while about to
print, but I need to make only some documents to have this feature
automatically set, so that users don't need to change the printer properies
for duplex printing.

Many thanks in advance
Binu .
 
D

Doug Robbins - Word MVP

See:

Controlling the Printer from Word VBA
Part 1: Using VBA to Select the Paper Tray
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=101

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

Controlling the Printer from Word VBA
Part 3: Dealing with Different Paper Sizes
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=132

Controlling the Printer from Word VBA
Part 4: Getting printer driver details
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=183


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
G

Graham Mayor

If your printer accepts 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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
B

Binu

Hi Graham/Robbins ,

Thanks for the reply.

Well, I was trying to sort this double sided printing by putting codes etc.
We have a HP laerjet 4250dtn which accepts PCL commands. I took one word
document having two pages. Then from the menu , Insert-Field- Print, in the
text box, I put the code
PRINT 27"&l1S" . But, nothing is happening, I hope, my procedure is wrong. I
will be thankful if you could help me with some instructions,please. Also,
will the same code/procedure work for outlook.

Thanjks
Binu
 
G

Graham Mayor

It sounds as though you have inserted the wrong data in the field. Forget
Insert Field
Press CTRL+F9 to give a pair of brackets {}
between them type
PRINT 27"&l1S"
Press F9, then if necessary ALT+F9 to toggle the display.

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

Graham Mayor

If you have done it *exactly* as I said and if ALT+F9 makes the field
'disappear' then you need to set tools > options > print and uncheck 'field
codes'.

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