LP5250D(1)
๐ lp5250d(1) โ General Commands Manual ๐
okay so bestie, you found the page for lp5250d and honestly? it's giving "quiet little command, huge printer energy" ๐
this is the manpage for it, and I'm gonna walk you through every single bit, no skips, no "eh you don't need that part". we're doing this properly. periodt. โจ
๐ธ NAME ๐ธ
lp5250d โ start an AS/400 printer session ๐จ๏ธโจ
๐ฆ SYNOPSIS ๐ฆ
lp5250d [OPTIONS] HOSTNAME
like, that's it. options, then a hostname. the vibes are minimal and I respect it ๐ซถ
๐ DESCRIPTION ๐
lp5250d connects to an AS/400 over TCP/IP and sets you up with a printer session that emulates an IBM 3812 printer ๐จ๏ธ๐
the way it works: this printer session team-tags with scs2ascii and host print transform on the AS/400, so your AS/400 spooled files end up printed on a local printer. iconic collab fr fr.
when you're done and wanna dip out of a printer session? send it a SIGTERM signal with kill(1). that's the exit door ๐ชโจ
printing support requires named session support, which is available for most recent versions of OS/400 โ but heads up, it's only supplied with V4R3 and later versions. for V3R2, V3R7, V4R1 and V4R2, please go look at informational APAR II10918 ๐
โจ OPTIONS โจ
there's more lp5250d options than this, bestie โ those extra ones live over in the tn5250rc(5) man page ๐
-u,--user=USERโ runlp5250das USER ๐โโ๏ธ-H,--helpโ display this help and exit ๐-v,--versionโ output version information and exit ๐ท๏ธ
๐ EXAMPLES ๐
okay these are the good part. actual receipts ๐ธ
lp5250d env.DEVNAME=LINPRT1 env.IBMMFRTYPMDL='*HP4' as400sys
connect to as400sys as the printer LINPRT1, and use host print transform on the AS/400 to print to an HP Laserjet or compatible, using lpr. classic. ๐จ๏ธ๐
lp5250d env.DEVNAME=LINPRT1 env.IBMMFRTYPMDL='*OKI184IBM'
outputcommand=''scs2ascii | lpr -Poki' as400sys
print to an Okidata Microline 184 Turbo on the local print queue named oki. very specific, very cute, we love a niche printer moment ๐
lp5250d env.DEVNAME=PSPRT outputcommand='scs2ps > scs$$.ps' as400sys
convert spooled files into PostScriptยฎ files. fancy โจ
๐ BUGS ๐
found a bug? please report any bugs you find to https://github.com/tn5250/tn5250/issues
don't sit on it, tell the devs, they wanna know ๐๐ซถ
๐ SEE ALSO ๐
tn5250rc(5), tn5250(1), scs2ascii(1), scs2ps(1), https://tn5250.github.io/, RFC1205, RFC2877, II10918.
iykyk, go read those next ๐โจ
๐ง COPYRIGHT ๐ง
tn5250 is copyright 1997 - 2001 Michael Madore. This manpage is copyright 1999 - 2001 Carey Evans.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
โญ TRADEMARKS โญ
PostScript is a trademark of Adobe Systems Incorporated. gotta give credit where it's due ๐
๐ AUTHORS ๐
tn5250 was written by Michael Madore, Jay Felice, Scott Klement and others; see the AUTHORS file for details. This manual page was written by Carey Evans.
absolute legends, all of them ๐
okay that's the whole page bestie, you're officially a lp5250d expert now ๐ซถ this little icon was dated 12 November 2001 and shipped with the tn5250 crew's General Commands Manual โ go print something iconic โจ๐จ๏ธ๐
๐ฆ where this page comes from
- fedora 43: tn5250 0.18.0-2.fc43 ยท LGPL-2.1-or-later AND GPL-2.0-or-later
- fedora 43: tn5250 0.18.0-2.fc43 ยท LGPL-2.1-or-later AND GPL-2.0-or-later
- fedora 44: tn5250 0.18.0-3.fc44 ยท LGPL-2.1-or-later AND GPL-2.0-or-later
- fedora 44: tn5250 0.18.0-3.fc44 ยท LGPL-2.1-or-later AND GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms