944,051 Members | Top Members by Rank

Ad:
Oct 14th, 2007
0

customizing paper size in vb6 Datareport

Expand Post »
Greetings!

I creating report in visual basic data report. I want to costumize the paper size that i want to use. I try to make a printing report in a small paper size like bank check size of paper. Anybody have idea how can i do this. is there any other option to print in a small size of paper.

Thank you in advance.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
locsin is offline Offline
47 posts
since Aug 2007
May 20th, 2008
0

Re: customizing paper size in vb6 Datareport

Try looking here:-
http://msdn.microsoft.com/en-us/libr...ts_fields.aspx

All sizes should be listed on the above address, else do a google search for vbPRPSA4

Here's an example of use:-
Printer.PaperSize = vbPRPSA4

Cheers, Ricardo
Reputation Points: 10
Solved Threads: 0
Newbie Poster
RicardoUK is offline Offline
1 posts
since May 2008
Sep 18th, 2010
0
Re: customizing paper size in vb6 Datareport
Using Datareport it is difficult to adjust the paper-size. It will use default paper-size of the printer even though nothing to print. If you want to print a small voucher / bill use the DOS mode printing, like printer.print "XXXX"
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bmpvkm is offline Offline
5 posts
since Jul 2010

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: help me
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Crystal Reports





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


Follow us on Twitter


© 2011 DaniWeb® LLC