Visio Guy

Visio Discussions => General Visio => Topic started by: IRDC on May 18, 2015, 08:53:59 AM

Title: Don't print hidden pages
Post by: IRDC on May 18, 2015, 08:53:59 AM
Hello,
I hid some (order list) pages using formulas (in the UIVisibility cell) and only display them if the order list needs additional pages. A bit complicated but it works. Now I noticed that the hidden pages get printed.
John's article http://visualsignals.typepad.co.uk/vislog/2007/11/hiding-pages.html mentiones that the print command still uses the full list of pages. Is there a way to skip pages during printing using just the page sheet?
Title: Re: Don't print hidden pages
Post by: Surrogate on May 18, 2015, 09:11:57 AM
This hint make some page invisible in pages list, but not non-printable !

About 3 weeks ago there was thread Save custom range of pages to PDF with VBA (http://visguy.com/vgforum/index.php?topic=6482.msg26832#msg26832). May be it help ?
Title: Re: Don't print hidden pages
Post by: IRDC on May 18, 2015, 09:44:37 AM
Quote from: Surrogate on May 18, 2015, 09:11:57 AM
About 3 weeks ago there was thread Save custom range of pages to PDF with VBA (http://visguy.com/vgforum/index.php?topic=6482.msg26832#msg26832). May be it help ?
I require a code free solution. I can't make a page a background page via the pagesheet.
Title: Re: Don't print hidden pages
Post by: Surrogate on May 18, 2015, 10:22:56 AM
Quote from: IRDC on May 18, 2015, 09:44:37 AMI require a code free solution. I can't make a page a background page via the pagesheet.
IMHO it is impossible as code free solution !

why you start this thread in Programming & Code (http://visguy.com/vgforum/index.php?board=5.0) section ?
Title: Re: Don't print hidden pages
Post by: IRDC on May 18, 2015, 10:49:59 AM
Quote from: Surrogate on May 18, 2015, 10:22:56 AM
why you start this thread in Programming & Code (http://visguy.com/vgforum/index.php?board=5.0) section ?
Right, I guess "ShapeSheet & Smart Shapes" would have been a more appropriate place.
Title: Re: Don't print hidden pages
Post by: Surrogate on May 18, 2015, 11:00:20 AM
you can set page as background via visio interface or via code
Title: Re: Don't print hidden pages
Post by: IRDC on May 18, 2015, 11:10:03 AM
Quote from: Surrogate on May 18, 2015, 11:00:20 AM
you can set page as background via visio interface or via code
I know, but that doesn't help me with my problem.
Title: Re: Don't print hidden pages
Post by: Paul Herber on May 18, 2015, 11:17:38 AM
It should help because normally background pages are set to non-print.
Title: Re: Don't print hidden pages
Post by: IRDC on May 18, 2015, 01:06:17 PM
Quote from: Paul Herber on May 18, 2015, 11:17:38 AM
It should help because normally background pages are set to non-print.
Yes, that's why it would be a neat trick to use but as far as I know I can't make a page a background page by only using the ShapeSheet.
Title: Re: Don't print hidden pages
Post by: Paul Herber on May 18, 2015, 02:03:46 PM
The shapesheet editor doesn't allow editing of the whole of the shape/page/document shapesheet, only a certain subset, and that subset doesn't include the Background property. However, Page.Background can be set in code, it's an integer value, takes the values 0 or -1 I think. 0 = foreground page.
Title: Re: Don't print hidden pages
Post by: IRDC on May 18, 2015, 02:50:49 PM
Quote from: Paul Herber on May 18, 2015, 02:03:46 PM
The shapesheet editor doesn't allow editing of the whole of the shape/page/document shapesheet, only a certain subset, and that subset doesn't include the Background property. However, Page.Background can be set in code, it's an integer value, takes the values 0 or -1 I think. 0 = foreground page.
Thank you for trying to convince me to use code  ;) but I'm still searching for another solution.
Title: Re: Don't print hidden pages
Post by: Paul Herber on May 18, 2015, 02:56:35 PM
I was confused as well as you'd posted it in the Programming area. I've moved the topic into General Visio.
Title: Re: Don't print hidden pages
Post by: Surrogate on May 18, 2015, 02:59:39 PM
Quote from: IRDC on May 18, 2015, 02:50:49 PMbut I'm still searching for another solution.
where you want search another solution ?
Title: Re: Don't print hidden pages
Post by: IRDC on May 19, 2015, 06:20:26 AM
Quote from: Paul Herber on May 18, 2015, 02:56:35 PM
I was confused as well as you'd posted it in the Programming area. I've moved the topic into General Visio.
Thank you.
Title: Re: Don't print hidden pages
Post by: IRDC on May 19, 2015, 06:21:41 AM
Quote from: Surrogate on May 18, 2015, 02:59:39 PM
where you want search another solution ?
I don't know yet but I came up with creative solutions for my problems before so I'm not giving up all hope yet.
Title: Re: Don't print hidden pages
Post by: Surrogate on May 19, 2015, 08:23:39 AM
OK, good luck with creative solution!
Title: Re: Don't print hidden pages
Post by: sjenks on May 28, 2015, 06:36:56 PM
Can't you just make a new Layer, assign whatever you want to not print to that layer, and then in layer properties you can uncheck "Print".
Title: Re: Don't print hidden pages
Post by: sjenks on May 28, 2015, 06:38:25 PM
Oops, I was thinking objects. Not Pages. Sorry.