Since I last responded that I had received answers as to how
to change the baud rate for an Apple Laserwriter IINT several
people have asked for a SUMMARY to the list:
I received many, many suggestions, all essentially the same. Some were
in the form of small C programs to postscript files that you should
print, to connecting a terminal to the printer and entering in some commands,
to cat'ing a file to the printer.
The one that I feel works best and is easiest is the following:
CREATE a file that contains the following 4 lines (don't enter the
commentts) and then lpr it to the printer. Nothing should come out:
======================== CUT HERE ============================================
%!
serverdict begin 0 exitserver # Allows EEPROM Changes
statusdict begin 25 38400 0 setsccbatch # Change 25 pin port to 38400 baud
%
========================END CUT HERE =========================================
This will change the EEPROM in the IINT until is happens to be wiped out
(not by turning the power off).
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! One siginificant note is DO NOT CHANGE THIS PARAMETER IN THE EEPROM !
! VERY OFTEN SINCE THE NT USES EEPROM'S WITH A LIMITED LIFE!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You can check the changes by power cycling the printer or running the following
Postscript program (thanks to Frank Bull loki@frodo.Physics.McGill.CA):
============================ CUT HERE
============================================
%!
/Helvetica findfont 14 scalefont setfont
/cr{show 182 currentpoint 20 sub exch pop moveto} def
/tb{show 300 currentpoint exch pop moveto} def
/Which{5 -1 roll 4 exch sub -1 roll cr 3{pop} repeat} def
statusdict begin 25 sccbatch end 182 650 moveto
exch (Baud :)tb 10 string cvs cr
(Parity :)tb dup 30 bitshift -30 bitshift
(none-space) (odd) (even) (none-mark) Which
(Handshake :)tb dup 27 bitshift -29 bitshift
(XON-XOFF) (DSR/DTR) (ETX/ACK) (bad value) Which
(Data bits :)tb dup 25 bitshift -30 bitshift
(standard) (7) (8) (bad value) Which
(Stop bits :)tb -7 bitshift 0 eq{(1)}{(2)}ifelse
show showpage
%
========================== END CUT HERE
===========================================
38400 is the highest baud rate seemingly
supported by Sun even though the IINT can take it at speeds up to 57600.
You should then change your /etc/printcap file to enable the change on the
ps printer and then restart the lpd daemon by entering:
/usr/etc/lpc restart ps
\------------------------------------------------------------\
\ Bruce Kall \ Internet: Kall@Mayo.edu \
\ Mayo Clinic (Foundation) \ Phone: (507)-255-4768 \
\ Rochester, MN 55905 \ \
\------------------------------------------------------------\
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:09 CDT