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
Solved

Crystal, print report 3 times to different paper tray.

Posted on 2011-02-16
9
907 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

809 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