Perhaps your printer is configured to print things 80-col wide, and the
AS/400 is trying to print at 132-col?  (Or some other number > 80?)

If you set up Host Print Transform, the AS/400 will send the necessary
escape sequences to your printer to tell it things like page size, font,
etc.  That way, your printer and the AS/400 will be "thinking alike" about
how the output should look.

To set up host print transform:

1) First, you need to know which host print transform driver to use.
      a) On the AS/400, type:  ?CRTDEVPRT <enter>
      b) Press F9 to display all the possible options.
      c) Press Page Down (ignoring any errors that pop up) until you
          see the "Manufacturer Type and Model" option.
      d) In the blank for "Manufacturer Type and Model" press HELP
          (or F1)
      e) Scroll through the help until you the correct driver,
          or another driver that might be compatible.  (For example,
          I have an HP LaserJet 4L, but the closest driver available
          is the HP LaserJet 4.  That driver is called *HP4)
      f) Press F3 until you get back to the command line.

2) On the Linux machine, create a configuration like this in your
       tn5250rc file:

foo {
    env.DEVNAME = device-name-to-use
    env.IBMMFRTYPMDL = *HP4    <--- or whichever driver you found.
    outputcommand= scs2ascii|lpr -Pbar
    host = as400.example.com
}

3) Then, run:   lp5250d foo



On Wed, 3 Jul 2002, David Coello wrote:
>
> Finally i achive to print with lp5250d , but i have a problem. The file.txt
> (o file.pdf) output has less columms that it should be (begins a new line).
> I donīt understand too much of As/400 so i am really lost about this
> problem. Anyone knows what i am making bad or a posible solution?
>
> Thanks and regards
>                                       David Coello
>



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].