INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Calling Crystal Reports from Clipper app

Calling Crystal Reports from Clipper app

(OP)
Currently, my Clipper S87 app builds and prints a report line-by-line.  I would like to replace that DOS-style printing by calling a pre-designed Crystal Reports report, pass data to it, automatically print it via Windows XP (no print dialog box), close CR and return to my DOS app - all without any additional user intervention.  Is this possible?  If so, how?  Thanks!

RE: Calling Crystal Reports from Clipper app

Hi EnicoMan!

Do not know what is Crystal report (looked on the link but didn't find anything). However there are many solutions how to print from dos based apps to any window driver. One of them is DosPrn program. This is a little application which intercepts dos printer calls and converts them so that output can be accepted and printed on any windows priter. Look at www.dosprn.com download and test it. If it will suit you, you can download also PDFCREATOR from http://www.pdfforge.org/products/pdfcreator/. Dosprn license is somewhat 9-14 $ depending on how many licenses you are buying, pdfcreator is freeware. Yust test it, there is no need to change source code of clipper application, all reports written in clipper will be printed on WIN printer or PDF file if you direct Dosprn output to PDFCREATOR printer.

Have fun!

RE: Calling Crystal Reports from Clipper app

Yes, it is possible to create a call to an external program, using the RUN command.   The Crystal report would have to be able to be executed as a stand alone app.  When the Crystal report has finished running run the calling program will pick up at the next line after the run command.
You can create Crystal reports an excutable program, I haven't but I know it's possible.  I prefer to create my own Clipper reports some of which are external and are called from within the Clipper app.

Jim C.

RE: Calling Crystal Reports from Clipper app

I do this ALL of the time - since Crystal 5 / since Windows 95. I wrote a VB application which uses the API to load a report, specify tables, print orientation - all 100% transparent to the user. I create an INI file via Clipper loaded with all of this stuff. I then call the app and let windows do the rest.

This little app has evolved to handle bothe dBase and Access files - and pivot tables / pivot charts.

So yes - it is doable. I have not every sold this application, or even marketed this application. But I have a lot of hours in it so I'm afraid I cannot give it away.

Should I look into pricing, or did I give you enough to get started?

RE: Calling Crystal Reports from Clipper app

(OP)
IntentDriven,   that's what I'm looking for - 100% transparency.  I'm not knowledgeable enough to write an app to do this, so, yes, I would be interested in hearing about yours.  Thank you.

RE: Calling Crystal Reports from Clipper app

EncinoMan, I've just realized that I cannot send my email to you via Tek-Tips. I hope you can find my website (intentdriven).

RE: Calling Crystal Reports from Clipper app

EncinoMan:

A clipper programmer in the SFV.  I'm located in tarzana.
If you have a chance call me at 310-477-3924.  Any experience in converting to 32 bit.  I use Fivewin 1.92 for windows.  My app has been in the market for 16 years. Still doing well see www.upyourcashflow.com

Call if you have a chance.

Harvey

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close