LP5250D(1)

๐Ÿ“ฆ
version 0.18.0 ยท 2 versions
, in fedora 43, fedora 44

๐ŸŽ€ 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 โ€” run lp5250d as 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 ๐Ÿ“šโœจ


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