Link to home
Start Free TrialLog in
Avatar of Prefuse
Prefuse

asked on

Crystal, print report 3 times to different paper tray.

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?

https://www.experts-exchange.com/questions/21273343/Multiple-Copies-to-Different-Trays.html 

Thanks!
Avatar of Mike McCracken
Mike McCracken

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
Avatar of Prefuse

ASKER

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.
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
Avatar of Prefuse

ASKER

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.
If Visual Cut can't do it then you will have to write your own.

mlmcc
Avatar of Prefuse

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.