The printer doesn't recognize all of the pages of my document.

D

d

my document contains about 35 pages. at the bottom right corner, the number
of 22 the pages appears in this format: xx/22. the other pages have no
number and i have to print them individually (click on the page, select file
print current page, ok). i think it has something to do with the properties
background pages because the 22 that will print are tied to one particular
background page (background-3) and the other pages are tied to several other
background pages. when i create a new page, if i tie it to background-3, a
page number is assigned and it will print with the majority. if i create a
new background page or assign the new page to one of the other existing
pages, i have to print it individually. is there anything i can do to change
this? thanks!
 
C

Chris [Visio MVP]

Hmm. My guess is that if a page is of "type = background", then it doesn't
print by itself, and it doesn't take a page number.

Sounds like you have a very special case.

It's possible to create a VBA macro to print all the background pages, but
you probably still won't get the proper numbering. It's not entirely clear
to me what you want? Do you have background pages that are "sort of"
foreground pages too? Sounds like you've got a layering scheme going on...
 
D

d

hi chris. thanks for responding to my cry for help. i don't need to print
the background pages. when i set up the drawing pages, i can choose to have
a background page or not. i have 22 drawings that use the same background
page. if i use my print icon, all 22 drawings print fine. if i use file,
print, etc., the 22 drawings print fine. the problem is with the other 15
drawings that are in the same document. they have different background pages
and are not recognized when using the print function. i have to click on
each (of the 15) of the drawings, select file, print, current page, ok and
then the individual drawing prints. i would like to be able to print all 35
pages by using the printer icon or file, print all. are you able to help me
or are you able to direct my request to someone else who might be able to
help me? thank you in advance for all of your help.

d
 
J

John Marshall, MVP

By design, the backgroupd pages do not print. They are designed to be
attached to foreground pages. As you have found, you can open a background
page and print it. The same can be done using a VBA macro:

Sub PrintBackgrounds()
Dim PagsObj As Visio.Pages
Dim PagObj As Visio.Page

Set PagsObj = ActiveDocument.Pages

' iterate through the collection of pages
For Each PagObj In PagsObj
ActiveWindow.Page = PagObj.Name

' Process if the current page is a background page
If PagObj.Background = True Then
ActiveDocument.PrintOut PrintRange:=visPrintCurrentPage,
PrinterName:="LaserJet 1012"
End If
Next PagObj
End Sub

John... Visio MVP

Need stencils or ideas? http://www.mvps.org/visio/3rdparty.htm
Need VBA examples? http://www.mvps.org/visio/VBA.htm
Common Visio Questions http://www.mvps.org/visio/common_questions.htm
Visio Wishlist http://www.mvps.org/visio/wish_list.htm
 

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