× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Tue, 7 May 2002, Stone, Joel wrote:

> I am attempting to create a price list with the typical item#, description,
> price, etc.
>
> I want to place horizontal and vertical grid lines on it to make it easier
> to read.
>
> The file will be created in RPG or COBOL, output to a physical file or spool
> file.
>
> The end result must be a PDF file, which will be emailed to a printer.  The
> PDF file must contain the horizontal and verticle grid lines.

Well you could have your program create the PDF itself.  It is not too
hard.  You can even look at a program I wrote as part of the tn5250
project to see how to create a PDF.  Here's a link to view the source
online:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/tn5250/tn5250/src/

click on the scs2pdf.c link and then click on the most recent revision in
the MAIN branch.  The concepts should be clear even if you don't know C
(though if you've never used RPG IV either it may be a little tricky).

Then look at the PDF reference available at adobe.com and put the grid
lines on the PDF as you require.

Note that the code linked above is licensed under the Lesser GNU Public
License, so if you use the code and distribute it you must also make
available your code.

James Rich
james@eaerich.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.