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


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

I have just uploaded xprt-0.9.002.tar.gz to

The final site should be

- -------

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 :-).


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


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

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

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

I hope its useful.


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

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

Version: 2.6.3i
Charset: noconv


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