Solved

passthrough printing

Posted on 2002-07-23
7
398 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

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!

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…

628 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