Solved

passthrough printing

Posted on 2002-07-23
7
390 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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

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 20

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now