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 (VS .Net 2005 and SQL Server 2000 RS)Next Topic (Paper Size) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : How to define custom paper in the code ( VB.Net )
Poster Message
achonk81
Level: Trainee

Registered: 13-09-2005
Posts: 3

icon How to define custom paper in the code ( VB.Net )

Hello forum i need help

I designed my report using a user defined paper named "Voucher" ( width 8.5 inch,length 5.5 inch)
but When i print directly to the printer from my web the result is not using voucher paper but Letter.
I search in the internet and i found and article that suggest to use this code
oReportDocument.PrintOptions.PaperSize = CType(133, CrystalDecisions.shared.PaperSize)
I allready add that code but still failed but the size allmost correct i predict it print on the most similar paper A5 rotated ( width 8.27 inch, Height 5.83 inch )

can any one help me to defind the code correctly to make the report printed in the correct paper size

Please give me a solution
thank you in advace

04-10-2005 at 03:38 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : How to define custom paper in the code ( VB.Net )
Previous Topic (VS .Net 2005 and SQL Server 2000 RS)Next Topic (Paper Size) 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