Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 09-26-2005, 01:03 AM   #1 (permalink)
achonk81
Registered User
 
Join Date: Sep 2005
Posts: 3
achonk81 is on a distinguished road
How to define custom paper in the code

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 u in advace
achonk81 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how the servlet will integrate the LDAP code j.gohel Java 19 04-16-2005 01:55 AM
Newbie, can't not work out what's wrong with this code harker Platform/API C++ 5 12-13-2004 04:21 AM
Cisco Code breaking sde Code Newbie News 0 05-21-2004 08:10 AM


All times are GMT -8. The time now is 09:41 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting