Scripts are simple:
while true
do
cat /dev/printer | lp -d PRINTER
end
Yes, the scripts run w/o problem from the console.
I tried editing the script to:
/bin/cat /dev/printer | /usr/bin/lp -d PRINTER
to remove any need at all for pathing.
Checked /etc/rc2.d/messages/S99printer.log file...
Backgrouns of Issue: 3rd part database software must printer to serial device but the SCO 5 server only has networ printers. We get around this by writing a script that redirect all data going to the "/dev/printer" device and sent it to the network printer. For this to work, the scripts that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.