Printout prints the wrong page

A

Andy

I am trying to add a button to my command bar that will print the
current view (like a print screen button). My diagram consists of
several pages and I have implemented a print dialog user form, to chose
a printer and then print the current view using
visio.activedocument.printout(visPrintCurrentView)

However, this prints the wrong page. The second of my pages is the
current page, but instead it prints the first page. I have checked the
active document and active page, these correctly reference my second
page.

If I use the builtin visio print and select the current view page
range, then this prints the second page as expected. I'm using Visio
2003.

Any suggestions please, thanks
 
J

JuneTheSecond

It may be a bag,visPrintCurrentPage also looks the same.
Just went good is ,,,
Application.DoCmd visCmdPrintPage
 

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