SCO and passthrough print.

William J. McEachran bill.mceachran at gmail.com
Wed Mar 7 13:48:28 PST 2018


I find myself dealing with a SCO Unix machine after a long absence.

I'm trying to get passthrough printing working through filePro
../fp/lib/config printer configuration.

I use a script pulled from Anziowin web site long ago, and I doubt I
changed it at all.

The script (I call it /usr/local/scripts/passprt):
<<<
#!/bin/sh
# Anzio-ized passthrough printing.

/usr/bin/printf "\034receive quiet\035"   #Eliminate remaining messages
/usr/bin/printf "\034flushtimer 0\035"    #turn off the print flush timer
/usr/bin/printf "\033[5i"                 #Set pass-thru print on
/bin/cat $*
/usr/bin/printf "\033[4i"                 #Set pass-thru print off
/usr/bin/printf "\034flush\035"           #Print it Now!
/usr/bin/printf "\034flushtimer 5\035"    #Reset flush time to default (cler
k use?)
/usr/bin/printf "\034receive quiet off\035"  #Reset transfer mode
>>>

In Linux I'd add a printer in ../fp/lib/config with a line line like:
printer21=passthru,printwiz,| /usr/local/scripts/passprt, Passthru terminal

Not working on SCO.

I've checked and if I login on SCO as user filepro and do something like:
ls -ld * | /usr/local/scripts/passprt
I get what I want happening.

How can I get similar pass through printing done in filepro on SCO?

Thanks all.

--
Bill McEachran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180307/3cc668fb/attachment.html>


More information about the Filepro-list mailing list