Adding new printers to lpsetup on 3b1

Charles A. Sefranek cals at cals01.zone1.com
Fri Jul 15 11:50:14 AEST 1988


In article <419 at icus.UUCP> lenny at icus.UUCP (Lenny Tropiano) writes:
> ...
>All the lp program does is run the output to a shell script (or INTERFACE)
>in the /usr/spool/lp/model/ directory.  If you look at 
>/usr/spool/lp/interface/Epson you will see it just has some shell commands.
>

BE ADVISED - There is a bug in the standard dumb_S printer model as
shipped with the machine (3.51 OS). This model is also the template used
when other printers are installed via the UA. The full path name is:
	/usr/spool/lp/model/dumb_S

	The problem ?  The shell commands to send the banner page out to
the printer are done BEFORE the proper printer baud rate is set up!!
Because the default rate is 9600, if you set your (serial) printer up for
that, you won't see the problem. My printer was set for 2400 baud, and I
noticed the problem when I tried to do a "lp -t " to put a title on my
print-outs.
	Oh yeah, the page separator that is used is longer than 80
characters, so that comes out a little messed up too.  I wonder what
else is messed up in the software shipped with the machine?? (I'm 
currently working on the UA Backup script - it has some SERIOUS problems)!!
	If anyone is really concerned about the printer script, email me
and I will send you my hacked-up version. Enough requests and I'll post.

-- 
   	Charlie Sefranek		      c4s at rayssdb.ray.com   (Work)
					    cals at cals01.zone1.com   (Home)
	{sun,cb-att,decuac,gatech,necntc,ukma}!rayssd!rayssdb!c4s   (Work)
{sun,cb-att,decuac,gatech,necntc,ukma}!rayssd!galaxia!cals01!cals   (Home)

-- 
-- 
   	Charlie Sefranek		      c4s at rayssdb.ray.com   (Work)
					    cals at cals01.zone1.com   (Home)
	{sun,cb-att,decuac,gatech,necntc,ukma}!rayssd!rayssdb!c4s   (Work)
{sun,cb-att,decuac,gatech,necntc,ukma}!rayssd!galaxia!cals01!cals   (Home)



More information about the Unix-pc.general mailing list