Duplex printing in Word XP on a HP 9000DN network printer

J

Jonathan West

Frank Krogh said:
I have copied the code shown in "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

I have also installed a local printer que to the HP 9000DN on my computer,
but still the duplex macro doesn't work.

Thanks for any suggestion.

Need more information.

Is it a network printer or a local printer?

If a network printer, have you spoken to your network admin to make sure you
have sufficient permissions?

Can you clarify "doesn't work"? Does it run but simply not set the duplex
right? Is there an error?


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

Frank Krogh

The HP 9000DN is a network printer, but I have also installed a local printer
que on my computer. The document is just printing normal mode when using the
PrintDuplex macro (not duplex printing).

I'm afraid I don't understand what sufficient permissions means?

Regards
Frank Krogh
 
J

Jonathan West

Frank Krogh said:
The HP 9000DN is a network printer, but I have also installed a local
printer
que on my computer. The document is just printing normal mode when using
the
PrintDuplex macro (not duplex printing).

Hmm. HP laser printers are sometimes awkward about this - they don't behave
well. I already had to put extra code into the routines especially for some
other HP laserjet models. As I don't have this particular model available to
me, I can't confirm this through.

have you trired stepping through the code to see if it behaves better then?
If it does, then try sprinkling some DoEvents commands around to see if that
helps.
I'm afraid I don't understand what sufficient permissions means?

If you have installed the printer locally then by definition you have them.
If it was a network printer you would need to ask your netword admin to set
up the printer so that you could configure it as well as merely use it.

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

Frank Krogh

Thanks for your reply.

I have used the Stepinto debug option and I can't see anything wrong during
execution. Unfortunately, I'm to little familiar with VBA programming to
investigate it further, so guess I just have to keep on selecting duplex
printing from the file menu. I'll also check the HP support.

Regards
Frank Krogh
 

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