Jump to content

Formatting text for print


Spiff59
 Share

Recommended Posts

I have a report that is transmitted to us, it's data is columnar and the report was written to be printed on green-bar (a print line is 132 columns wide). I need to split detail out of the report and create a bunch of seperate mini-reports each with the original heading and a portion of the detail.

My problem is: ending up with a file that can be sent directly to a PC printer without user modification. The file saved to disk could be any format, RTF, DOC, PDF, etc.

I need to do the following to the created file to make it print properly:

1. Change all characters to a monospaced font, so that columns are maintained (Courier New, Gothic Letter STD, etc)

2. Change all characters to 8pt font size.

3. Change the pages left-margin to .5" and the right-margin to .25"

The Word UDF doesn't seem to have any of these functions available.

I was looking at the GUIRichEdit UDF, but I guess it has "GUI" on the front of it for a reason, it seems to do everything live with a live file in an open GUI, whereas I wish to modify existing extracted files in a more invisible batch/background mode.

Any suggestions?

All are appreciated.

Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...