borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (how to start with crystal reports in visual basic)Next Topic (component or reference) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : How to change the default paper size to custom size in VB Datareport
Poster Message
pijus
Level: Protégé

Registered: 05-06-2005
Posts: 5

icon How to change the default paper size to custom size in VB Datareport

I have a Epson LX 300 printer. I want to print a report using VB Datareport for which the paper lenght must be 7 inches and paper width 6 inches. I have to do continious printing. But when I print the report, Datareport uses the default printer setting i.e., Letter size(8.5 X 11). As a result I can't do continious printing. How can I change the default paper size to custom paper size, programmatically, using VB datareport and Epson LX 300 printer?
Thanks in advance.
--
Pijus kr. Das
pijusdas@hotmail.com

____________________________
Pijus

05-06-2005 at 05:02 PM
View Profile Send Email to User Show All Posts | Quote Reply
Gharakhanlou
Level: Scholar

Registered: 30-04-2005
Posts: 40
icon Re: How to change the default paper size to custom size in VB Datareport

hi dear friend

i have your problem to

you can user .setuserpapersize with,lengh

whitch is the  report object property

but there is another problem,  i,e this properety accept values in pixel and you know pixel is not really physical lenth as your monitor with an cpnstant lent and width acccept some diffirent values just like 600,800 or 1280,1024 and so on

surly we should fine a way that can be apply in the inner of report  to change report lenth and width
ok

but i experence this steps in crystal
i hope that be same as datareport

if you fine any way tell me plz

08-06-2005 at 03:55 AM
View Profile Send Email to User Show All Posts | Quote Reply
pijus
Level: Protégé

Registered: 05-06-2005
Posts: 5
icon Re: How to change the default paper size to custom size in VB Datareport

u can use this conversion formula

1 pixel = 0.1 inch = 0.3 centimeter



____________________________
Pijus

08-06-2005 at 08:14 AM
View Profile Send Email to User Show All Posts | Quote Reply
Gharakhanlou
Level: Scholar

Registered: 30-04-2005
Posts: 40
icon Re: How to change the default paper size to custom size in VB Datareport

oh
plz how you can say this formula

when it may differ the resolution of any systems
we should find a better solution
or it may be work in the inner of CR
because pixel is not a good measurment  set
it differ from on resolution to other

i said that  your constant monetor may have somediffer pixel values

09-06-2005 at 04:26 AM
View Profile Send Email to User Show All Posts | Quote Reply
pijus
Level: Protégé

Registered: 05-06-2005
Posts: 5
icon Re: How to change the default paper size to custom size in VB Datareport

Check the attached 'Printer.zip' file. May be this will help u.

____________________________
Pijus

____________________________
Attached:
Printer.zip 10 KB (Downloads: 96)

09-06-2005 at 08:50 AM
View Profile Send Email to User Show All Posts | Quote Reply
pijus
Level: Protégé

Registered: 05-06-2005
Posts: 5
icon Re: How to change the default paper size to custom size in VB Datareport

There is a lot of confusion in setting the printer while using VB datareport and Windows 2000. The attached zip file may help you in clearing the confusion and getting a better idea about printer settings while using VB and Windows 2000. For more clarification you can consult the Microsoft MSDN Help.




Pijus

____________________________
Pijus

____________________________
Attached:
Pageset.zip 22 KB (Downloads: 86)

16-06-2005 at 01:39 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : How to change the default paper size to custom size in VB Datareport
Previous Topic (how to start with crystal reports in visual basic)Next Topic (component or reference) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder