× 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.



Original post asked for something that is _not_ text - this is a text solution.

I don't see a line type parameter for the LINE or BOX keywords in DDS, so I would probably consider building my own dashed lines. Use a record format with only the LINE keyword for horizontal lines and another for vertical. Have program-to-system fields in each format for position and length and maybe width. Then write the format in a loop, changing the x or y position as appropriate and using a short length. Kludgy - yes.

There is a product call Advanced Function Printing Utilities that suggests that dotted and dashed lines and boxes are possible. I've not used it, so can't say how it fits with printer files. There is also the AFP Toolbox, which is free and has a number of callable items for whatever you want to do, it seems. The user's guide is mostly C and COBOL examples, but you can call any C functions now from ILE RPG. There are GOCA functions for setting line type, of which there are several. Some of the functions have prototypes defined already, some you will need to create your own for RPG. Go to www.iseries.ibm.com/printing and look for AFP Toolbox, then follow the links to the manuals. It is unsupported officially at this time, just so you know.

Probably not the simplest work you will do but could be interesting.

HTH
Vern

At 11:35 PM 6/21/2006, you wrote:

Well with DDS reference file you can define something 132 print postions
long, or 198 or whatever, with a name like DASH.
Then in RPG you MOVE *ALL='-' or something to fill the field

You can also have DASH2 populated with "=" (equal signs_

>This can't be done, I am sure.  But when I am the surest is when I am
>the dumbest.
>
>I want to print a dash line.  Not with text, but with the boxes and
>lines keywords.
>
>Is it possible?
>
>--
>---------------------------------
>Booth Martin
>http://www.Martinvt.com
>---------------------------------
>--
>This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
>To post a message email: MIDRANGE-L@xxxxxxxxxxxx
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/mailman/listinfo/midrange-l
>or email: MIDRANGE-L-request@xxxxxxxxxxxx
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.