×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

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.

Students Click Here

output clarion report to disk

output clarion report to disk

output clarion report to disk

(OP)
Hi
In the dos versions of clarion you had the option of sending a report to screen/printer/disk is this possible in clarion5 or 5.5
many thanks
JJ

RE: output clarion report to disk

Not that i know of but if i recall correctly clarion uses a queue which stores the path of the meta files used for the reports (cant remember the name on the spot).

You could just use the copy command and loop thru the queue to copy these files to a place of your liking instead/before it gets flushed to the printer.

Or set up a printer that prints to a file and use that for the report. its a bit messy i know but if you are desperate ...

RE: output clarion report to disk

There is a 3rd party template available which allows you to store your reports for later printing.  I think you can also sent them as attachments to e-mail, etc.  I can't remember which one it is, but if you post your question in the 3rd party area of the SoftVelocity news group I'm sure they'll find you. <S>

HTH,
Rick

RE: output clarion report to disk

If you set up a generic text printer on your machine, and set the port to be a file, Then print to that printer, you can output text.

Its a little crude, but It works

HTH

Mark

RE: output clarion report to disk

What I have done is
1. First I write my report in ASCII file.
2. If I want to view in on screen then I use View Ascii file template to generate viewer procedure
3. And the last important step is to print DOS Like report to windows printer. This can be done by using Windows API!
Use:
OpenPrinterA(*cstring,long,long=0),BOOL,PASCAL,RAW
WritePrinter(unsigned,long,ulong,*ulong),BOOL,PASCAL,RAW
ClosePrinter(Unsigned),BOOL,PASCAL
StartDocPrinterA(unsigned,ulong,long),ulong,PASCAL,proc
EndDocPrinter(unsigned),BOOL,PASCAL,proc
EndPagePrinter(unsigned),BOOL,PASCAL,proc
StartPagePrinter(unsigned),BOOL,PASCAL,proc
GetPrinterA(unsigned,ulong,long,ulong,long),bool,pascal,raw
SetPrinterA(unsigned, ulong, long, ulong),bool,pascal,raw

Then you can print your ascci file just like Dos command do with C:>type readme.txt > PRN without going to dos

Note: You must set OS to windows-32 bit in you project properties

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! Already a Member? Login

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