Solved

Printing Crystal Reports from Visual Basic while controlling printer settings

Posted on 2007-11-15
6
1,521 Views
Last Modified: 2012-08-13
We have several Crystal Reports that need to be printed out from different trays and then stapled together. We are using Visual Basic 6, Crystal Reports 11 and a Ricoh multifunction printer.

Is using PJL an option, how would you use this with crystal reports. I was not able to find a good way to print the crystal report to a file to then add PJL commands.

We also purchased the API from ricoh, unfortunately it does not support this printer. Even so If I set the printer on one that is supported and then print the crystal report the settings are not used for the CR (The API works by setting WINAP).

Any help or suggestions?
0
Comment
Question by:esiexc
  • 2
  • 2
6 Comments
 
LVL 22

Expert Comment

by:Ido Millet
ID: 20292385
Are you willing to let go of the automated stapling requirement?
0
 

Author Comment

by:esiexc
ID: 20292486
We need as many of the requirements done as possible, so if there is no way to do the stapling I would still be interested in how to accomplish the tray control.
0
 
LVL 22

Accepted Solution

by:
Ido Millet earned 500 total points
ID: 20292756
If the stapling requirement is removed, you can easily send each report to a different printer tray.

If you need to split the printout of a single report across different paper trays (1st page to Tray 1, Pages 2 to 3 to Tray 3, ...), Consider a 3rd-party tool as a solution (for a list of such tools, see http://www.kenhamady.com/bookmarks.html).  My Visual CUT software provides two approaches that allow you to automate such a process.  

- Ido
0
 

Author Comment

by:esiexc
ID: 20292900
Thanks, If I cannot find a way to staple I will look into that.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 21000162
Forced accept.

Computer101
EE Admin
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Macro Excel - Multiple If conditions 2 72
Zip Folders Using Chilkat Routines 1 39
Windows ICD FFU Issue 4 38
How to modify the SQL query in Crystal 2016 1 23
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 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