Solved

Printing Crystal Reports from Visual Basic while controlling printer settings

Posted on 2007-11-15
6
1,524 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
[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
  • 2
  • 2
6 Comments
 
LVL 23

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 23

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

696 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