Solved

Crystal, print report 3 times to different paper tray.

Posted on 2011-02-16
9
920 Views
Last Modified: 2012-05-11
Hello, I did ask this question before but worded badly.  I think people thought I wanted to split the pages and print to different trays.  What I need is to print a report three times and send each report copy to a different paper tray.  Ideally a laser printer with three trays and different paper in each tray.  I found an article on here about printer calls but not sure I can use that in Crystal 2008 and then in a crystal viewer for the end user to print?

http://www.experts-exchange.com/Database/Reporting_/Crystal_Reports/Q_21273343.html 

Thanks!
0
Comment
Question by:Prefuse
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 34907302
If you are trying to do this from the viewer, you can't do it through the default print button.  You would need to dd your own button to the viewer and then write the code.  

The code given in that example would have to change to use the .Net dlls.

Here are links to the basic code
http://msdn.microsoft.com/en-us/library/ms226031(VS.80).aspx

The properties of PrintToPrinter
http://msdn.microsoft.com/en-us/library/ms225960(v=VS.90).aspx
http://msdn.microsoft.com/en-us/library/ms225952(v=VS.90).aspx

mlmcc
0
 

Author Comment

by:Prefuse
ID: 34907361
Don't think I can add a button to the viewer, it's Logicity free crystal viewer.  Thanks for the links.  Not sure how to use that code in Crystal 2008.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 34907472
You don't use it in Crystal.  To do what you want you have to write an application to control the printing of the reports.

I believe Visual Cut can do what you want
http://www.milletsoftware.com/Visual_CUT.htm

mlmcc
0
[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

 

Author Comment

by:Prefuse
ID: 34907573
I had looked at that software but it seems to be more about printing different pages of the report to different trays.  Or print to pdf and split.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 34909011
If Visual Cut can't do it then you will have to write your own.

mlmcc
0
 

Author Comment

by:Prefuse
ID: 34913977
What I have done for the moment is install a printer three times and use a different default tray for each and then print the report three times; once each to a different printer copy.  I am thinking there is proably some batch print software that can simulate this process.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 34919348
If you have to do it from the Logicity viewer then you are basically stuck with the method you are using.

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35163579
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question