xprt - use auxiliary-printers attached to terminals

xprt - use auxiliary-printers attached to terminals

Post by Christian A. Lademan » Sat, 08 Feb 1997 04:00:00



-----BEGIN PGP SIGNED MESSAGE-----

I am pleased to announce the availability of xprt, a utility to support
auxiliary printers attached to terminals. See appended README for more
information.

I have just uploaded xprt-0.9.002.tar.gz to
       ftp://sunsite.unc.edu/pub/Linux/Incoming/

The final site should be
       ftp://sunsite.unc.edu/pub/Linux/system/Printing/

README:
- -------

This is xprt-0.9.002, a program that allows the transparent use of
attached auxiliary printers on terminals. It uses mandatory file
locking, so you need a kernel that has the support for mandatory
locking compiled in.

This program was written under Linux-2.0.27. Any recent Linux-version
should do. In fact, xprt could run on other Uni*es that support manda-
tory locking on character devices, too. That obviously does not include
AIX 3.4 and SCO 3.2v4.2.

Installation is pretty straight-forward: type 'make install' and find
out if I overlooked something :-).

Examples:

/etc/rc.d/rc.xprt
- -----------------

#!/bin/sh

case "$1" in
start )
        mknod /dev/ttyS0_p p
        mknod /dev/ttyS1_p p
        xprt -i /dev/ttyS0_p -o /dev/ttyS0 -t vt100
        xprt -i /dev/ttyS1_p -o /dev/ttyS1 -t vt100
        ;;

stop )
        killall xprt
        ;;
esac

$HOME/.profile
- --------------

  .
  .
  .
  mknod /tmp/my_printer p
  /usr/sbin/xprt -i /tmp/my_printer

I hope its useful.


02/03/1997

- ----------------------------------------------------------------------

- --------------------- speaking from, not for: ------------------------
    ZLS Software GmbH                         Tel.:  (+49) 6195 900500
     D-65779 Kelkheim                         Fax:   (+49) 6195 900600
- ----------------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBMvpwq4QRll5MupLRAQEXwQQA1jtCpxcBIGCxaOTzBMXohJTwlPfiH4kc
q2u8ivrT0z3xKHgoOMTG29N6iAhIKQLQedUeoroJGY4od1PtxhdfKA8CpG+pQY1z
HnCoYiaAm7QRZWst5VsZcxmlmhbNbBzN3VWKSctovTZZ11WddaHxcqeFqfCcrN5g
DJ9Yw1aV6e0=
=mvbu
-----END PGP SIGNATURE-----

--
This article has been digitally signed by the moderator, using PGP.
http://www.iki.fi/liw/lars-public-key.asc has PGP key for validating signature.

PLEASE remember a short description of the software and the LOCATION.
This group is archived at http://www.iki.fi/liw/linux/cola.html

 
 
 

1. Printing Problem with Printer attached to Dumb Terminal

I have a Problem with A shell script
The script is used to print documents on a Printer connected to dumb
terminal.There is no Queue or Queue device defined for this Printer.
The shell script when run diverts the document on the Printer Port of
the Dumb Terminal.And Printer prints the Documents.To do this Escape
Sequence is used.
The Script is

  echo ^[[5i ------This escape sequence to divert toPrinter port
  cat $1-----------This is filename argument to this script
  echo ^[[4i-------This is to reverse the above escape sequence
                   at the end of Printing

We are running AIX 4.3.3 on RS/6000 390 Model.This script was working
fine when AIX 3.2.5 was running on same System.But the Problem started
when we migrated to AIX 4.3.3 from AIX 3.2.5.
Problem is If the File size is say 10 pages then The Printer while
printing prints 5 or 6 pages and suddenly stops.Also sometimes it skips
pages in between,Not printing in-between pages it's like dataloss.
We checked TCP/IP network options but no success.
The terminal is connected to Terminal server on Serial cable(RJ45),And
The terminal server is connected to RS/6000 on Thicknet.

So please anyone help us on this.

Atul Subhedar

Sent via Deja.com http://www.deja.com/
Before you buy.

2. OS/2 HPFS mount--no upper case

3. dumping text to a local printer attached to a terminal?

4. 85-key laptop keyboard VS. SLS or MCC how to get Linux running ???

5. Sending text to a printer attached to a local terminal

6. automating FTP

7. No flow control - printer attached to terminal over modem

8. anyone have linux working with Optimum Online?

9. Terminal attached printer

10. How to setup and print to a printer attached to WYSE-370 terminal

11. AIX v5.1 and Printers Attached to Annex Terminal Servers

12. Modems and printers attach to terminal question.

13. Print inteface file for remote terminal attached printer