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


  • Subject: Re: PC Objects to AFP Page segments?
  • From: Richard Wilson <arw@xxxxxxxxxxxxxx>
  • Date: Sun, 08 Aug 1999 12:28:47 +0000

Re my question about AFP,

Buck Calabro wrote:

> Generally, I would use AFP to print graphics (logos, barcodes, boxes) or
> multiple fonts on AS/400 created output.  When you say "PC objects" are you
> talking about text or image data?  For image data, I would fire up my PC
>

snipped

> For plain text, I would simply FTP the text to an AS/400 file and read it in
> the AS/400 program.
>

The problem area is in construction of a document printout which is built from
several, varying, paragraphs.  To allow flexibility on choice of font, size, etc
the
concept is to squirt a stream of text at the printer (AFP) and allow it to 
format

line endings etc as we go.  Did I mention that we have to insert variable length
fields as we go.  Rather like a mail-merge, but adding font size and choice
capability
instead of the fixed length format of a normal PRTF.

There are printer PDL (Page Description Languages) which will allow this, by
defining an area on page and then dynamically fitting whatever text you mark 
into
the box area.

The nearest I can get to with my current level of knowledge of AFP is the Page
segment.
I can calculate the number of characters per line within the HLL, but I have no
way of
deciding when I reach line full when I'm using a proportional font at the
printer.


Or is there a way of defining a word wrap characteristic somewhere in all this?


Ruchard Wilson



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.