1 Responses From:
2 Suggestions
3 Solution Used: lpansi
4 Original Posting
1 Responses From: (Advice:5 Me-too:1)
Michael Jarvis <michaelj@burrito.insource.com>
John <john@a3bgate.nai.net>
Keith Willenson <keith@oz.health.state.mn.us>
Przemyslaw Baszkiewicz <bp17@albit.geo.uw.edu.pl>
Ing. Felipe Tribaldos <felipe@avatar.pty.com>
Martin Huber <hu@garfield.m.isar.de>
2 Suggestions
a TCP/IP connection with a PC/Windows lpd daemon
shift-prtscr key
ice.tcp
century-term
Windoze
do-it-yourself scripts making use of ftp/kermit/zmodem or whatever
lpansi
samba (use smbclient) http://samba.canberra.edu.au/pub/samba
3 Solution Used: lpansi
This is a small program developed by Gary Day <gday@comp.uark.edu> which
comes with recent versions of the web browser lynx. lpansi.c is about 1K
in size and took about 15 seconds to compile on my Solaris machine. It
compiled first attempt without a single message. The resulting a.out file
worked first attempt too. Fantastic! The program sends a signal to the PC
to redirect output to the printer, then sends the file to standard output,
then sends another signal to the PC to change output back to the screen
(according to the readme file). I edited my lynx (old version)
configuration file to add the following line.
PRINTER:Your PC's Printer:/usr/local/bin/lpansi %s:TRUE
Now when my users use lynx they can print out any web page instantly
just by pressing p and selecting "Your PC's Printer".
I found it very hard to find a copy of lpansi on the Internet, so I've
made them available myself at http://www.mahidol.ac.th/~phabm
This directory contains the source code (lpansi.c 1K), a sun sparc solaris
executable file (lpansi 6K), the readme file (lpansi.txt 2K), and a
uuencoded copy of the executable (lpansi.enc 8K).
I am in the process of contacting Gary Day to ask permission to do this.
4. Original Posting
> Is there a command to print to the printer attached to the parallel port
> of a PC whose user is logged in to a shell/terminal account an a Sun Sparc
> Solaris Classic? I've used search engines to no avail to find one. Thanks
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:09 CDT