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 / March 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frank Krogh - 09 Mar 2006 10:59 GMT
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.

Frank Krogh
Jonathan West - 09 Mar 2006 11:06 GMT
>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"
[quoted text clipped - 4 lines]
>
> 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?

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 

Frank Krogh - 09 Mar 2006 12:28 GMT
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

> >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"
[quoted text clipped - 14 lines]
> Can you clarify "doesn't work"? Does it run but simply not set the duplex
> right? Is there an error?
Jonathan West - 09 Mar 2006 12:46 GMT
> 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.

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 

Frank Krogh - 09 Mar 2006 13:31 GMT
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

> > The HP 9000DN is a network printer, but I have also installed a local
> > printer
[quoted text clipped - 16 lines]
> 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.
 
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.