× 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: Landscape vs. portrait
  • From: D.BALE@xxxxxxxxxxxxx
  • Date: Wed, 18 Oct 2000 17:07:00 -0400

Whoops, made a mistake in the example in my original post.  You must specify
CPI(16.7)!!!

If you use CPI(15), it will likely print in landscape mode, as 132 is greater
than 8 (inches) * 15 (CPI)

Dan Bale
IT - AS/400
Handleman Company
248-362-4400  Ext. 4952


----------------------- Original Message -----------------------
Depends on what you're printing to.  And how the AS/400 sees the printer.

Since I'm not familiar with all the possible combinations, basically what you
want to try to see if this will work for you is to create a spool file with
PAGRTT(*AUTO).  Assuming normal letter size 8.5x11 inch paper, you should be
able to print 88 lines by 132 columns via the following parameters:

        PAGESIZE(88 132 *ROWCOL)
        LPI(8)
        CPI(15)
        OVRFLW(84)
        PAGRTT(*AUTO)

BTW, I use duplicates of QSYSPRT and QPSUPRTF in a my library which sits atop
the *syslibl that use those parameters.  It is very readable on the printers I
have used it on.

If your report is 80 characters across or less, then you should be able to use
10 CPI.

If this doesn't work, likely the culprit is either the printer hardware or the
AS/400's description of the printer.  (Good luck solving that one!)

Dan Bale
IT - AS/400
Handleman Company
248-362-4400  Ext. 4952

--------------------- Original Message ---------------------
Im trying to print a portrait report of which i am writing the program for,
 there has to be a real simple way to do this from the as400.  Is there
 something i can specity in my program to do this?
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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 ...


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.