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

Reply

Join Date: Sep 2008
Posts: 29
Reputation: sganandhsg is an unknown quantity at this point 
Solved Threads: 1
sganandhsg sganandhsg is offline Offline
Light Poster

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

 
0
  #1
Sep 24th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 4
Reputation: thecrow is an unknown quantity at this point 
Solved Threads: 1
thecrow thecrow is offline Offline
Newbie Poster

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

 
0
  #2
Sep 25th, 2008
Originally Posted by sganandhsg View 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
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!
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 29
Reputation: sganandhsg is an unknown quantity at this point 
Solved Threads: 1
sganandhsg sganandhsg is offline Offline
Light Poster

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

 
0
  #3
Sep 25th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 4
Reputation: thecrow is an unknown quantity at this point 
Solved Threads: 1
thecrow thecrow is offline Offline
Newbie Poster

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

 
0
  #4
Sep 25th, 2008
its not part of the default visual studio package. this link will help you: http://support.microsoft.com/kb/198901
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 41
Reputation: dspnhn is an unknown quantity at this point 
Solved Threads: 4
dspnhn dspnhn is offline Offline
Light Poster

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

 
0
  #5
Sep 26th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 29
Reputation: sganandhsg is an unknown quantity at this point 
Solved Threads: 1
sganandhsg sganandhsg is offline Offline
Light Poster

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

 
0
  #6
Sep 26th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 41
Reputation: dspnhn is an unknown quantity at this point 
Solved Threads: 4
dspnhn dspnhn is offline Offline
Light Poster

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

 
0
  #7
Sep 27th, 2008
i need to look at ur report first................ meanwhile try to set "cangrow" propert to true for fields in ur report
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC