× 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 8/6/2013 3:11 PM, Steve Richter wrote:
I am using GUMBO to email an *AFPDS spooled file to PDF. But that is just
for testing. In production I will be printing to a LAN attached laser
printer in the warehouse.

this font seems to work ok:
A FONT(2304 +
A (*POINTSIZE 12 10))

2305 being the bold version of 2304.

What I am having trouble understanding is how do I use POSITION on the same
page as I am using line feeds to advance down the page. So I print 12
heading lines and then want to print a horizontal line across the page.
The LINE function prints a horizontal line but I think it takes an absolute
position. But how to know that absolute position after printing x number
of header lines?

I always counted them.
I don't do AFP printing where I am now, but something like (pseudocode)

print header // from line 1 thru line 4 plus space after 2
add 7 to currentPrintLine

for i = 1 to 30
print detail
add 1 to currentPrintLine
endfor

Font information can be found in Printing Redbook V Chapter 4
http://www.redbooks.ibm.com/redbooks/SG242160.html and Printing >
Advanced Function Presentation > Concepts
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Frzau6%2Frzau6kickoff.htm


--buck


On Tue, Aug 6, 2013 at 2:31 PM, Pat Barber <mboceanside@xxxxxxx> wrote:

I would start with the DDS manual on printing.

There is no "basic" discussion of AFPDS.

From your description, all of that can be handled using DDS and basic
printing
methods.

1. Are you using overlays ?
2. Are you using an existing external print file ?
3. Font selection depends on the printer and print stream being used.

Here is the basic font info:


http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzalu%2Frzalureffontinfo.htm

Are you printing to a pdf or from a pdf ?

On 8/6/2013 8:48 AM, Steve Richter wrote:
I have a packing slip to print on the system. the orientation is
landscape. The PO number prints as a barcode in the upper right corner.
The
font is proportional. Some of the text prints bold. Horizontal lines are
used to separate the detail lines from the column headings.

The printer is either a client access attached laser printer or a PDF
file.

Will I be able to accomplish all of this with AFPDS? What are the
basics?
FNTCHRSET for a proportional font? Use POSITION to position everything on
the page? Can I still use SPACEB if POSITION is used?

thanks,

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.