By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,928 Members | 1,810 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,928 IT Pros & Developers. It's quick & easy.

CR Selecting papersource misssssery

P: n/a
Hi all,

having troubles with printing a crystal reports report to a specific tray
in a printer.

By means of System.Drawing.Printing.PrinterSettings.PaperSourc es it's
possible to find out how many and which trays are installed in a printer.
I'm trying to print a report to the tray a user has selected.

But when I want to set the papersource of the report I can only select some
Crystal enumerators as the papersource and they don't correspond to the
papersources I found by means of
System.Drawing.Printing.PrinterSettings.PaperSourc es.

Anyone have a solution for this problem?
--
Met vriendelijke groet / With regards / Saludos,
Moviat Automatisering
Maurice Mertens
mauricem@moviat_KillSpamWordForEMail.nl

tel: +31 162 470 534
fax: +31 162 470 502
Jul 21 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hi Maurice,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to print a report to a certain
printer's tray. If there is any misunderstanding, please feel free to let
me know.

As far as I know, the PrinterSettings.PaperSource property returns a
collection of PaperSources that exists on the printer. I don't think it
will return the Crystal enumerators. Are you printing to a physical
printer? Please try to check if you have set to the correct printer.

If anything is unclear, please feel free to reply to the post.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #2

P: n/a
Hi Kevin,

I did print to a physical printer. It's a Xerox with different trays. When
using the PrinterSettings.PaperSource property I get the following trays:
- Auto
- Tray 1
- Tray 2
- Manual
- Manual for multiple documents
- Tray 3

But when selecting another printer I get different traynames. So this means
it isn't possible to let the user choose to which tray he wants to print.
Unless I let the user choose a Crystal Enumerator, but then he doesn't know
to which tray he is going to print!

--
Met vriendelijke groet / With regards / Saludos,
Moviat Automatisering
Maurice Mertens
mauricem@moviat_KillSpamWordForEMail.nl

tel: +31 162 470 534
fax: +31 162 470 502
Jul 21 '05 #3

P: n/a
Hi Maurice,

Do you mean that you got different names in Crystal Report and .NET
PaperSources? If so, I don't think we can change this in code. You can try
to get some information from CrystalReport support site.

http://support.businessobjects.com

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #4

P: n/a
Hi Kevin,

yes the papersources in .NET differ from the papersources in CR.
I will take a look at this site to see if I can solve this problem.

Thanks for your support

--
Met vriendelijke groet / With regards / Saludos,
Moviat Automatisering
Maurice Mertens
mauricem@moviat_KillSpamWordForEMail.nl

tel: +31 162 470 534
fax: +31 162 470 502
Jul 21 '05 #5

P: n/a
You're welcome, Maurice.

Thanks for sharing your experience with all the people here. If you have
any questions, please feel free to post them in the community.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.