Solved

passthrough printing

Posted on 2002-07-23
7
395 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

778 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