Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

passthrough printing

Posted on 2002-07-23
7
Medium Priority
?
402 Views
Last Modified: 2012-06-22
I need to setup a printer attached to a wyse60 terminal on parallel port.
os is sco open server 5.0.5
I have read documentation about this, all seems very confusing.
I have to be able to use lp to print because our software uses lpd, so either /dev/tty?? or |lp -dmyprinter.
for example i cannot use lprint at least I think I can't
I have tried the following in a script, and can print from the terminal only.
#tput mc5
 cat $ *
 tput mc4

Cheers
0
Comment
Question by:bluez
7 Comments
 
LVL 14

Expert Comment

by:chris_calabrese
ID: 7172784
Well, you could write a print driver that connects to that particular terminal though /dev/tty<something> and issues whatever escape sequences 'tput mc5' and 'tput mc4' issue.

But as you can see lp isn't really aimed at such things (and what if the terminal is turned off, etc.?).

A better idea is to get a small printer server box that talks lpr protocol (about $100) and put the printer on the network.
0
 

Author Comment

by:bluez
ID: 7172814
mmm..
Not practical, this is a normal way to print in a multiuser network, the terminal dials into the unix box via analogue on tty2a (unix box)
so you would type atdt12345678
conect
^
logon
The software is run which will use >/dev/tty??
or |lp -dprinter.
I have done this before but cannot remember the procedure.
0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 7173291
Why can't you use lprint?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:bluez
ID: 7173995
The software in question is Multisoft. It uses the unix lpd or direct connection
1. |lp -dmyprinter
2. >/dev/tty1a for example
There are no other choices the field is something like

Choose printer port: |lp -dmyprinter
I have tried         |passprt
This does not work because Multisoft cannot pipe to the script I need to use the unix or multisoft spooler.
I am sure the printer was previously set to use /dev/tty1a
but how can this be.
If my terminal
cat $TERM is for eg /dev/tty2a should by printer port on the dumb terminal be /dev/tty2ap this port exists in scoadmin.  I have tried this port but it does not work.
cheers.
0
 

Author Comment

by:bluez
ID: 7178506
Hi
I have answered this problem myself, Thanks for your input
for future reference see this article.
http://stage.caldera.com/ns-search/TAEXT/os/107193.shtml?NS-search-set=/3d405/aaaa001Fc4052d4&NS-doc-offset=23&

Bluez
0
 
LVL 21

Expert Comment

by:tfewster
ID: 7921670
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- PAQ & refund points

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7967247
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month12 days, 3 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question