Solved

Crystal, print report 3 times to different paper tray.

Posted on 2011-02-16
9
895 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
  • 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

808 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