Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transparent / pass-through printing

Status
Not open for further replies.

rumblestiltskin

IS-IT--Management
Mar 21, 2003
2
US
Hello, I'm using sco unix 5.0.5 open server, have some wyse50 terminals trying to get pass through printing to work, already got close, using a executable script in
/usr/bin

it's code

tput mc5=^R
cat $*
tput mc4=^T

the ^R is to open pass through printing
the ^T is to close it
got this off another site address below
but, still nothing, anyone happen to have an example or comment about this

thanks
j
 
looks like you need to pass your script a filename. So if your script is called passthrough.sh, here woul be the syntax.

# ./passthrough.sh /etc/hosts

this should print the /etc/hosts file to the printer port on the terminal you execute this from.

crowe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top