AFP PAGEDEF and PAGEFORMAT.

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.
Post Reply
Router
Registered Member
Posts: 22
Joined: Tue Jul 16, 2013 12:29 pm

AFP PAGEDEF and PAGEFORMAT.

Post by Router »

Hi,
I am looking forward to some help with AFP PAGEDEF and PAGEFORMAT. I need some sample definitions of these, to print free form letters. If someone can provide me some direction, it'd be a great help.
User avatar
Anuj Dhawan
Founder
Posts: 2824
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: AFP PAGEDEF and PAGEFORMAT.

Post by Anuj Dhawan »

Hi,

This is long topic in itself. Suggest you start with this manual: http://publibz.boulder.ibm.com/cgi-bin/ ... 0115105309 and then proceed to: http://publibz.boulder.ibm.com/cgi-bin/ ... 0115105309 and then look at this: http://publibz.boulder.ibm.com/cgi-bin/ ... 9#HDRCH3E1. Quoting from there:

2.1.3 Positioning a Logical Page on a Sheet


The example in this section shows how the OFFSET subcommand is used to position the logical page on the physical sheet. A logical page is the area on a sheet of paper where all printing occurs. You establish the logical page origin, the point nearest the media origin, with the OFFSET subcommand. The OFFSET subcommand requires two coordinates and may have four. The first x and y coordinate defines the position on the front of the sheet, and the second x and y coordinate defines the position on the back of the sheet. A sample form definition that specifies the logical page position for a simplex sheet is:


Code: Select all

    FORMDEF ABCD
            OFFSET 1 IN 1 IN ;


Note: The 1 IN 1 IN is an abbreviation for 1 INCH 1 INCH. PPFA supports a number of different units of measurement formats. See "Units of Measurement" in topic 3.1.2 for all the different formats.


The example places the logical page origin one inch to the right of and one inch down from the media origin.

Figure 6 shows the meaning of the x and y coordinates. In writing an OFFSET subcommand, the first parameter specifies x; the second parameter specifies y. If the x and y are repeated for the offset of the back side of the physical page, the same applies. The x defines the horizontal offset; the y defines the vertical offset. In this example, the logical page direction is ACROSS. The arrows within the logical page indicate the inline direction for text on the page. The lines of text are added according to the baseline direction.

Image    
 Figure 6. Origin of Logical Page


Figure 7 shows the meaning of x and y in a logical page specification for a 3900 sheet. The 3900 sheet does not have an unprintable area, but FORMDEFs supplied with print server have a 1/6 inch offset.


Image
  Figure 7. Origin of a Logical Page on a 3900 Sheet
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Router
Registered Member
Posts: 22
Joined: Tue Jul 16, 2013 12:29 pm

Re: AFP PAGEDEF and PAGEFORMAT.

Post by Router »

Thanks Anuj! :)
User avatar
Anuj Dhawan
Founder
Posts: 2824
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: AFP PAGEDEF and PAGEFORMAT.

Post by Anuj Dhawan »

You're welcome.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Other Mainframe Topics, Off-Topics, FAQs.”