1LP5250D(1) General Commands Manual LP5250D(1)
2
3
4
6 lp5250d - start an AS/400 printer session
7
9 lp5250d [OPTIONS] HOSTNAME
10
12 lp5250d connects to an AS/400 over TCP/IP and provides a printer ses‐
13 sion emulating an IBM 3812 printer. The printer session works with
14 scs2ascii and host print transform on the AS/400 to print AS/400
15 spooled files on a local printer.
16
17 To end a printer session, send it a SIGTERM signal with kill(1).
18
19 Printing support requires named session support, which is available for
20 most recent versions of OS/400, but is only supplied with V4R3 and
21 later versions. For V3R2, V3R7, V4R1 and V4R2, please see informa‐
22 tional APAR II10918.
23
25 Additional lp5250d options are described in the tn5250rc(5) man page.
26
27 -u, --user=USER
28 run lp5250d as USER
29
30 -H, --help
31 display this help and exit
32
33 -v, --version
34 output version information and exit
35
37 lp5250d env.DEVNAME=LINPRT1 env.IBMMFRTYPMDL='*HP4' as400sys
38 Connect to as400sys as the printer LINPRT1, using host print
39 transform on the AS/400 to print to an HP Laserjet or compatible
40 using lpr.
41
42 lp5250d env.DEVNAME=LINPRT1 env.IBMMFRTYPMDL='*OKI184IBM' outputcom‐
43 mand=''scs2ascii | lpr -Poki' as400sys
44 Print to an Okidata Microline 184 Turbo on the local print queue
45 named `oki'.
46
47 lp5250d env.DEVNAME=PSPRT outputcommand='scs2ps > scs$$.ps' as400sys
48 Convert spooled files into PostScript® files.
49
51 Please report any bugs you find to the bug tracker or to the linux5250
52 mailing list. See the tn5250 web site for more details.
53
55 tn5250rc(5), tn5250(1), scs2ascii(1), scs2ps(1), http://tn5250.source‐
56 forge.net/, RFC1205, RFC2877, II10918.
57
59 tn5250 is copyright 1997 - 2001 Michael Madore. This manpage is copy‐
60 right 1999 - 2001 Carey Evans.
61
62 This program is free software; you can redistribute it and/or modify it
63 under the terms of the GNU Lesser General Public License as published
64 by the Free Software Foundation; either version 2.1 of the License, or
65 (at your option) any later version.
66
67 This program is distributed in the hope that it will be useful, but
68 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
69 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
70 General Public License for more details.
71
72 You should have received a copy of the GNU Lesser General Public
73 License along with this program; if not, write to the Free Software
74 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
75 USA
76
78 PostScript is a trademark of Adobe Systems Incorporated.
79
81 tn5250 was written by Michael Madore, Jay Felice, Scott Klement and
82 others; see the AUTHORS file for details. This manual page was written
83 by Carey Evans.
84
85
86
87 12 November 2001 LP5250D(1)