Page 1 of 1
Bullzip PDF + Multiple Excel Worksheets
Posted: Fri Jul 04, 2008 5:16 am
by dslip
I have a small issue.
When printing from an excel spreadsheet that has more than one worksheet, I do not get the second page 'printed' in the PDF document.
When printing I 'highlight' both worksheets by holding down the [CTRL] button and selecting both worksheets. If I go to print preview I can see multiple pages (1 portrait, 1 landscape)
When I print using Bullzip PDF only the first worksheet is printed (even though I can see Excel send Two(2) pages to the print spooler)
Can you help
Posted: Sat Jul 05, 2008 12:59 pm
by jr
This problem can occur if you have different printing resolutions defined for the two worksheets.
Try changing the resolutions so that they match and print again.
Regards,
Jacob
Posted: Wed Jul 09, 2008 8:34 am
by dslip
Resolutions?
Can you please explain, Are you referring to page orientation (landscape vs portrait) or are you talking something else?
The two worksheets are not the same 'size' however when 'print preview' in Excel they both fit on a single page each (1 in landscape, 1 in portrait)
Posted: Sat Jul 12, 2008 7:04 am
by Howard Kaikow
[quote="jr"]This problem can occur if you have different printing resolutions defined for the two worksheets.
Try changing the resolutions so that they match and print again.
Regards,
Jacob[/quote]
The main cause consists of 2 factors:
1. Margin settings.
2. Portrait vs, Landscape
Other factors likely include "shrink to fit", etc.
Posted: Tue Jul 15, 2008 9:04 am
by dslip
So if I am clear on this
If one worksheet is portrait, and one sheet is landscape, then Bullzip PDF cannot print both sheets into one PDF document?
Bugga!
Bullzip is an excellent product and its a shame I now have to resume my search for a cost effective PDF printing solution.
Posted: Tue Jul 15, 2008 10:32 am
by Howard Kaikow
[quote="dslip"]So if I am clear on this
If one worksheet is portrait, and one sheet is landscape, then Bullzip PDF cannot print both sheets into one PDF document?
Bugga!
Bullzip is an excellent product and its a shame I now have to resume my search for a cost effective PDF printing solution.[/quote]
Not just BullZip.
All the PDF printing programs, that I have, do the same thing.
Could be that's the way Excel makes things available.
Posted: Thu Jul 31, 2008 3:50 pm
by bluestrattos
what settings do i need to print in landscape ?
I tryed
Call objBullZip.SetValue("Rotation", "90")
Call objBullZip.SetValue("Orientation", "Landscape")
Call objBullZip.SetValue("Rotate", "yes")
no success
Thank you
Posted: Fri Aug 01, 2008 8:36 am
by Howard Kaikow
[quote="bluestrattos"]what settings do i need to print in landscape ?
I tryed
Call objBullZip.SetValue("Rotation", "90")
Call objBullZip.SetValue("Orientation", "Landscape")
Call objBullZip.SetValue("Rotate", "yes")
no success :(
Thank you[/quote]
In Excel, you need to change the values of the properties of the PageSetup oblect.
For example:
[code]
With wstStart.PageSetup
.Orientation = xlLandscape
.LeftMargin = HeaderFooterLeftRightMargin
.RightMargin = HeaderFooterLeftRightMargin
.TopMargin = BottomTopMargin
.BottomMargin = BottomTopMargin
.HeaderMargin = HeaderFooterLeftRightMargin
.FooterMargin = HeaderFooterLeftRightMargin
.LeftHeader = "&D(&T)"
.CenterHeader = "Worksheet: " & "&A"
.RightHeader = "Page &P of &N"
.LeftFooter = "Workbook: &Z&F"
.CenterFooter = ""
.RightFooter = ""
.PrintGridlines = True
' .FirstPageNumber = xlAutomatic
' .Order = xlDownThenOver
.Zoom = False
.FitToPagesWide = 1
.FitToPagesTall = 1
End With
[/code]
thank you
Posted: Fri Aug 01, 2008 10:25 am
by bluestrattos
Understood! Thank you for your reply.
Another doubt, that maybe doesn't fit in the topic, but what if i want to print in landscape mode, outside Excel, using another application, or through coding an aplication ?
Re: thank you
Posted: Fri Aug 01, 2008 6:31 pm
by Howard Kaikow
[quote="bluestrattos"]Understood! Thank you for your reply.
Another doubt, that maybe doesn't fit in the topic, but what if i want to print in landscape mode, outside Excel, using another application, or through coding an aplication ?[/quote]
You would have to find out how to set the printer properties, either within the app, as I showed for Excel, or directly with the particular printer.