Operating System - Microsoft
1753701 Members
5190 Online
108799 Solutions
New Discussion юеВ

Re: Printing to trays using Crystal Reports 9.0

 
Daniel Kent
Occasional Advisor

Printing to trays using Crystal Reports 9.0

I have a web based application created using Visual Studio .NET 2003 which includes Crystal Reports 9. I have set up reports to print to Upper, Middle, and Lower trays. However every printjob thru Crystal goes to the default tray.

I have tested printing to individual trays using word pad and selecting specific trays and it will print to the correct trays. But Crystal won't.

I have also updated the CrystalDecisions.CrystalReports.Engine.Dll as per the known bug ADAPT00102118 form Crystal. This had no effect.

I have played with the paper types etc. but this only forces the a new default tray where the reports are printed.

Anyone have any ideas where to go from here?
15 REPLIES 15
Norman_21
Honored Contributor

Re: Printing to trays using Crystal Reports 9.0

Hi,

I don't have experience with Crystal Reports 9 but I would advice you to check their knowledge base Atricles!!!

Hope this help
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Norman_21
Honored Contributor

Re: Printing to trays using Crystal Reports 9.0

Try the knowledge Base link and the Forums link:
http://www.businessobjects.com/services/support/default.asp

good luck
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Daniel Kent
Occasional Advisor

Re: Printing to trays using Crystal Reports 9.0

Unfortunately I have poured over their KB for days and everything I've found to date has not helped. Thanks for the suggestion.
Ganesh Babu
Honored Contributor

Re: Printing to trays using Crystal Reports 9.0

Hi Daniel,
What is the property u have used to choose the printer tray???

Ganesh

Daniel Kent
Occasional Advisor

Re: Printing to trays using Crystal Reports 9.0

The PaperSource="Upper" or "Middle" or "Lower" were my preferred sources but I have tried each of the following to no avail:

PaperSource.Upper 1
PaperSource.Auto 7
PaperSource.Cassette 14
PaperSource.Envelope 5
PaperSource.EnvManual 6
PaperSource.FormSource 15
PaperSource.LargeCapacity 11
PaperSource.LargeFmt 10
PaperSource.Lower 2
PaperSource.Manual 4
PaperSource.Middle 3
PaperSource.SmallFmt 9
PaperSource.Tractor 8

Does this answer your question?
Ganesh Babu
Honored Contributor

Re: Printing to trays using Crystal Reports 9.0

u r using PrintToPrinter method to print the page or the printer icon in the report???

Ganesh
Daniel Kent
Occasional Advisor

Re: Printing to trays using Crystal Reports 9.0

PrintToPrinter directly from code in a 2003 .NET browser based application.

Using something like the following:

Report.PrintOptions.PaperSource = PaperSource.Upper
Report.PrintToPrinter(1, False, 0, 0)
Daniel Kent
Occasional Advisor

Re: Printing to trays using Crystal Reports 9.0

Just for clarification I'm using the latest driver from HP. HP LaserJet 4200 PCL6
Ganesh Babu
Honored Contributor

Re: Printing to trays using Crystal Reports 9.0

first thing for debugging check whether the

report.printoptions.papersource is the same value that u have set after printtoprtiner method..

next try instead of the enumerated value Papersource.upper the direct value.. which is i think "1"

PaperSource.Upper 1

Ganesh