× 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 Thu, 20 Nov 2003 RJoubert@xxxxxxxxxxxxxxxxxxxx wrote:
>
> Can anyone point me towards manuals that explain how to put page controls
> for text documents into a document that is also going to be printed by a
> dot-matrix / line printer?
>

Here's what I'd do:

   1) Write your output to a spooled file, just like it was intended
        to go to a line printer.
   2) Use the Host Print Transrform API to convert the spooled file
        to an ASCII text file so that you can e-mail it.

This may seem like a complicated way to do it, but once you've written a
prgoram that can convert a spooled file to a text file, you'll be able to
use it for other things as well.

The QWPDEFAULT *WSCST object works pretty well with Host Print Transform
to translate a document into a text file.

I used this technique with some software that I wrote to integrate my
iSeries software with HylaFAX running on a FreeBSD box so that I can send
faxes, etc, with HylaFAX...

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.