home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / pcclone / 32bit / 1011 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  5.2 KB

  1. Path: sparky!uunet!spool.mu.edu!studsys.mscs.mu.edu!marcr
  2. From: marcr@studsys.mscs.mu.edu (Marc Rassbach)
  3. Newsgroups: comp.unix.pc-clone.32bit
  4. Subject: The summary to my LP printer problems of 2-3 weeks ago
  5. Date: 11 Jan 1993 03:48:34 GMT
  6. Organization: Marquette University - Department MSCS
  7. Lines: 119
  8. Distribution: world
  9. Message-ID: <1iqqmiINNt1c@spool.mu.edu>
  10. Reply-To: marcr@studsys.mscs.mu.edu (Marc Rassbach)
  11. NNTP-Posting-Host: studsys.mscs.mu.edu
  12. Originator: marcr@studsys.mscs.mu.edu
  13.  
  14.  
  15. Hello.  Here is the promised summary to my LP problem under 
  16. Esix 4.0.3.
  17.  
  18. 1) The parallel port driver IS broken.  Little bits of printer
  19. control characters show up on the page.  These 'go away' when I
  20. (in a fit of desperation) moved the printers from parallel to serial
  21.  
  22. 2) Contrary to some of my local associates, the stty does do 
  23. post-processing, so one needs to turn this off.  Adding -opost and
  24. raw do that.  Thanks to the individuals (2) who emailed me with this
  25. and did not make it into my summary.  Changing the -opost and
  26. raw got the fonts working, but did not totally clear things up.
  27. #1 above made things wonderful.
  28.  
  29. Thanks to all that mailed/posted.  Here's a list of the first people
  30. to give me a clue, and what they said......
  31.  
  32. From: Fred Appelman <fred@cv.ruu.nl>
  33.  
  34. In comp.unix.questions you write:
  35. >Esix SysV rev 4.0.3 with bugfix for lp1 lp2 slowness
  36.  
  37. Perhaps Esix uses the same printer drivers as my system does (Dell unix).
  38. I once had problems with the printer driver to get TeX working. The dvi
  39. conversion program just produced garbage. I found out that the problem was
  40. in the interface script. (/usr/lib/lp/model/hplaser)
  41. The problem was at line 486. The lines looked like this 
  42.  
  43. #####
  44. # Set defaults for unset variables.
  45. #####
  46.  
  47. : ${TERM:=unknown}
  48. if [ ${TERM} = hplaser ]; then
  49.         jetfile=1
  50. else
  51.         TERM=hplaser
  52.         export TERM
  53.         jetfile=
  54. fi
  55. tput lines 1>/dev/null 2>&1 || TPUT=:
  56.  
  57. : ${CHARSET:=cs0}
  58.  
  59. The problem was the line that looks like "jetfile=". This line should be 
  60. changed "jetfile=1". This will make the lp filter program 8 bit instead
  61. of 7 bit. I'll bet that softfonts are 8 bit too!!! Perhaps this will help
  62. you, good luck.
  63.  
  64.  Fred
  65.  
  66. [Now this DOES have an effect under Esix Sys V 4.0.3  On most output
  67. a 0G would appear.  I THINK Esix's LP interface is trying to set up
  68. some contol stuff...as in Esck0G for making carriage return = CR  
  69. This did not solve my problem however]
  70.  
  71. Subject: Re: Problem with lp.  Got me stumped.  (email, I'll sum)
  72.  
  73. In article <1hu0hfINNicm@spool.mu.edu> marcr@studsys.mscs.mu.edu (Marc Rassbach) writes:
  74. >What happens when it doesn't work is the softfonts get
  75. >'munged' aka the 1 refuses to print in one of the fonts, the y
  76. >and other characters in another, ad nausium.
  77.  
  78. Yep, I've seen this one.  The only difference was that the soft fonts
  79. were part of the output of a DVI->LaserJet converter.
  80.  
  81. The problem is that Esix's parallel port driver is terminally broken.
  82. Esix acknowledges that even in 4.0.4, their driver drops characters
  83. all over the place with lots of different laser printers (including
  84. printers made by Abaton, an Everex subsidiary.  They did not have any
  85. plans to fix it the last time I talked to them, which was a couple
  86. months ago.  As far as I could see their official line was to try one
  87. of the PD polling parallel port drivers if I *had* to use the parallel
  88. port; otherwise, use a serial port to talk to the printer.
  89.  
  90. I was not impressed with Esix's handling of the situation; in fact, it
  91. was this problem that convinced me once and for all that Esix is not
  92. an appropriate OS for use in a production environment.  It's one thing
  93. to have a bug in your driver.  It's another thing entirely to (a) have
  94. the bug in two subsequent releases of the OS; (b) have no fix for
  95. something as basic as correct parallel port output; and (c) not even
  96. have PLANS to release a fix at some point.  And people still wonder
  97. why SCO does so well...
  98.  
  99. -- 
  100. Marc Unangst, N8VRH         | "Of course, in order to understand this you
  101. mju@mudos.ann-arbor.mi.us   |  have to remember that the nucleus of the atom
  102.                             |  is squishy."
  103.                             |    -W. Scheider, from a Physics lecture
  104.  
  105. [Marc's critisism of Esix is justified too.  I've e-mailed them 
  106. and have not received a response.  And there answer has been 
  107. Use the serial port.  Well, damit, I DID pay money expecting the
  108. OS to work......and it ain't.]
  109.  
  110. From: Dan Busarow <dan@cedb.dpcsys.org>
  111. Marc,
  112.  
  113. Try adding 'raw' to the stty line in your printer interface file.
  114.  
  115. stty raw 38400 .....
  116.  
  117. [This is ALMOST IT!  The real answer was also adding -opost]
  118.  
  119. From: paul@pphbau.atr.bso.nl (PPH Bauwens)
  120. I strongly suggest you get a new parallel/serial I/O board where the
  121. LP interrupt really works!. They only cost about 25$
  122.  
  123. [The rest is deleted.  I've tried 4 different parallel ports.  The 
  124. first was the one built onto the motherboard, one was an 'offical
  125. IBM' parallel/serial card, and the others were 'generic'  No go.  
  126. Draw your own conclusion.......]
  127.  
  128. -- 
  129. Marc Rassbach    marcr@studsys.mscs.mu.edu    If you take my advice, that
  130. MS-DOS - it's not   marc@milestn.mil.wi.us    is your problem, not mine!
  131. my problem!     If it was said on UseNet, it must be true.
  132.    Unix - It's a nice place to live, but you don't want to visit there.
  133.