Having trouble printing from CUPS to your Okidata? Is your Okidata dot matrix printer too slow for CUPS? Is CUPS timing out and resubmitting the print job? If so, you might want to bypass CUPS completely and let the D3 spooler send print jobs directly to the Digi PortServer II. This is where rtty comes in. Convert a Digi port to a printer (dev=prn) and you can use the rtty program to initiate a socket connection to it. To D3, it appears as a local parallel printer. |
!/usr/bin/rtty -0ds /dev/ttyz5 10.0.0.3 2005 !/usr/bin/rtty -0ds /dev/ttyz6 10.0.0.3 2006 !/usr/bin/rtty -0ds /dev/ttyz7 10.0.0.3 2007 !/usr/bin/rtty -0ds /dev/ttyz8 10.0.0.3 2008 sleep 2 !exec d3 100 -n pick0 -t ttyz6 -printer & !exec d3 101 -n pick0 -t ttyz5 -printer & !exec d3 105 -n pick0 -t ttyz7 -printer & !exec d3 106 -n pick0 -t ttyz8 -printer & sleep 2 startptr 0,0,1,s100 startptr 1,1,1,s101 startptr 5,5,2,s105 startptr 6,6,1,s106