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



A long, long time ago, I needed an app to right-justify a line of text on a
label. We were using PCL to control LaserJets and got the width info of the
proportional font. I uploaded it to a table and then the program walked the
text calculating the total width. Using PCL, we positioned the printer
cursor back N# of dots from the right margin and then output the text.
Worked great.

Never tried it with native fonts on the "i", though.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vern Hamberg
Sent: Tuesday, July 17, 2012 8:33 PM
To: Midrange Systems Technical Discussion
Subject: Re: printing boilerplate info on a form

I think I heard of some API or table that contained character widths for
various fonts - I've always wondered if this could be used to format text in
proportional fonts on the fly. Have never pursued it, though.
Maybe someone else knows about this.

Vern

On 7/17/2012 4:58 PM, Stone, Joel wrote:
OK Thanks

We use the Word build and store as a page segment now. I was hoping that
there was a more elegant method using Iseries physical file data.



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Pat Barber
Sent: Tuesday, July 17, 2012 3:18 PM
To: Midrange Systems Technical Discussion
Subject: Re: printing boilerplate info on a form

Creating a page segment or overlay is the way to handle that and you
will not be stuck with fonts that can't be scaled.

You can do either one using a pc application like Word but I prefer
Open Office Draw, which allows you to create raster based files that
afp print drivers can handle. The resulting print file is then used to
create an overlay using Navigator.

You can use any font you want and the results can be very nice.
You will need 30 minutes including testing.

All of this can be stored in IFS.

The advanced printing you want requires learning these skills.

You can also do all of what you want using dds and learning some
things about various fonts. I am not aware of any printing function
that "wraps" a field. I am sure you can key the wording in a format
that looks correct. That will require more screwing around than is
necessary.



On 7/13/2012 12:57 PM, Stone, Joel wrote:
Using AFPDS with external printer file(DDS).

Within the bottom 3 inches of the form, I want to print the usual legal
mumbo-jumbo such as:

<company> makes no representation, warranty or guarantee of any kind,
express or implied, to customer or any third party, including,
without limitation, with respect to the completeness of the cleaning.
Customer hereby relieves CHS Inc., its owners and employees from, and
shall indemnify, defend and hold harmless such parties from and
against any and all claims, demands, causes of action, damages,

etc
etc


The form will print on the usual 8.5 x 11 portrait.

How can I structure the DDS print lines so that the text somewhat wraps
at the end of line?

I found an OK font

A* Legal Disclaimer line 1 *
A PLDLN01 83 2
FONT(2304 (*POINTSIZE 8))
A SPACEB(005)


Is the only method to make the field length 150 or so and trial and error
until it looks right?


Is there a way to make the DDS field length 2000 or so and have it wrap
when it gets near the right edge?


Thanks

_____________________________________________________________________
_ This outbound email has been scanned for all viruses by the
MessageLabs Skyscan service.
For more information please visit http://www.symanteccloud.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.



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.