943,822 Members | Top Members by Rank

Ad:
Sep 24th, 2008
0

How to use datareport with out using Printer settings in VB6.0

Expand Post »
Hi

I`ll Set Printer preferences orientation is Portrait and Paper Size is A4, But i use data report is lager then this settings. I run my package "Report width is larger then the paper width" This error can be displayed. but i`ll change this settings for Paper size is legal and Orientation is Landscape run package the reports displayed is fine. i need with out change this setting i want get report using VB6.0, Please help me...

Thank you
Reputation Points: 10
Solved Threads: 1
Light Poster
sganandhsg is offline Offline
39 posts
since Sep 2008
Sep 25th, 2008
0

Re: How to use datareport with out using Printer settings in VB6.0

Click to Expand / Collapse  Quote originally posted by sganandhsg ...
Hi

I`ll Set Printer preferences orientation is Portrait and Paper Size is A4, But i use data report is lager then this settings. I run my package "Report width is larger then the paper width" This error can be displayed. but i`ll change this settings for Paper size is legal and Orientation is Landscape run package the reports displayed is fine. i need with out change this setting i want get report using VB6.0, Please help me...

Thank you
you can use the PageSet Printer, try to search for that key. i use it a lot on my applications.
from there you can set the orientation and papersize that you want. it loads an object to control the data report preview which is set by default on 8.5x11 portrait. you can even design reports on legal sizes, etc. hope that helps!
Reputation Points: 10
Solved Threads: 1
Newbie Poster
thecrow is offline Offline
4 posts
since Sep 2008
Sep 25th, 2008
0

Re: How to use datareport with out using Printer settings in VB6.0

Thanks for ur replay, But i can`t find out This PageSet Printer in my application. U know this method means pls send full details on this function with coding.
Reputation Points: 10
Solved Threads: 1
Light Poster
sganandhsg is offline Offline
39 posts
since Sep 2008
Sep 25th, 2008
0

Re: How to use datareport with out using Printer settings in VB6.0

its not part of the default visual studio package. this link will help you: http://support.microsoft.com/kb/198901
Reputation Points: 10
Solved Threads: 1
Newbie Poster
thecrow is offline Offline
4 posts
since Sep 2008
Sep 26th, 2008
0

Re: How to use datareport with out using Printer settings in VB6.0

Please set left and right report margins to minimum when designing the report......use pageset only if u change orientation frequently in your application.


Regards

DSP
Reputation Points: 20
Solved Threads: 13
Junior Poster in Training
dspnhn is offline Offline
90 posts
since May 2008
Sep 26th, 2008
0

Re: How to use datareport with out using Printer settings in VB6.0

Thanks for Your reply. u right but my data reports field is maximum.. Basically that's is open only for legal page size... but i need A4 page size to open this reports.. Thank you
Reputation Points: 10
Solved Threads: 1
Light Poster
sganandhsg is offline Offline
39 posts
since Sep 2008
Sep 27th, 2008
0

Re: How to use datareport with out using Printer settings in VB6.0

i need to look at ur report first................ meanwhile try to set "cangrow" propert to true for fields in ur report
Reputation Points: 20
Solved Threads: 13
Junior Poster in Training
dspnhn is offline Offline
90 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Login Window
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: ERROR in VB





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC