473,378 Members | 1,439 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Crystal ReportClass PrintOptions PaperSource

I'm using VS2003 withthe built in version of CrystalReports.

I'm trying to write a module that will allow a user to send Crystal Reports
directly to the printer, without using the ReportViewer.
I have created a form that lists the available printers using

System.Drawing.Printing.PrinterSettings.InstalledP rinters

From a printer selected from this list, I can determine the available
paperTrays using

System.Drawing.Printing.PrinterSettings and PaperSources.
Problem is that when I try to set the paper source of the actual report
object (CrystalDecisions.CrystalReports.Engine.ReportClas s)
using it's own (non-compatable) PaperSource property,
I am limited to a pre-set range of Paper Sources
(CrystalDecisions.Shared.PaperSource)
Any suggestions how I can map the System>Drawing.PrinterSettings PaperSource
to the Crystal one so that I can send the report to the tray that the user
selects?

Thanks,

Chris.
Sep 13 '06 #1
0 2903

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Robert Schuldenfrei | last post by:
Hello NG, After a bit of a wait my bookstore, SoftPro of Waltham, MA, got in the Brian Bischof book: Crystal Reports .NET Programming. I have read a few books on CR, but I am very new to it,...
1
by: use4forums | last post by:
I am having issue changing the DB logon information at the runtime when loading non-typed Crystal Report file to .NET WinForm application. The error message and partial code are listed below. I...
0
by: ALMA_J_III | last post by:
Hi all! Customer will use HP LaserJet 4200TN printer for printing of invoices. 3 different versions of invoice on different color of paper should be to print. HP LaserJet 4200TN have 3 paper...
1
by: CMI | last post by:
I'm finding that this line of code works rpt.PrintOptions.PaperOrientation = CrystalDecisions..PaperOrientation.Landscape while this line of code does not rpt.PrintOptions.PaperSource =...
13
by: ATJaguarX | last post by:
I have a Zebra S500 and multiple S600 label printers. http://www.zebra.com/id/zebra/na/en/index/products/printers/industrial_commercial/s600.html They are currently being used in our legacy...
1
by: Tim_Mac | last post by:
hi, i am encountering a sporadic exception using crystal reports that is causing me grief, I can't 'handle' it... my code is loading a typed report, and loading a DataSet to it. unfortunately...
0
by: lars | last post by:
Hi When printing a CrystalReport CustomPaperSource is sometimes reset to null. the problem only occures after RawKind has been set to giro (which contains "261", the code for a paper source on...
3
by: Santosh | last post by:
Hii.. i am printing crystal reports in asp.net for that purpose i am using PrintTo Printer method but for that it is needed me to pass printer name which is installed on my local computer but...
0
by: John Smith | last post by:
Hello, I am developing a VB.NET 2003 application that will use lots of Crystal Reports. Sometimes the users will preview a report in a Crystal report viewer, and sometimes they will send the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.