home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / hp / 8558 < prev    next >
Encoding:
Internet Message Format  |  1992-07-26  |  2.5 KB

  1. Path: sparky!uunet!usc!noiro.acs.uci.edu!news.service.uci.edu!hardy
  2. From: hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy))
  3. Subject: Re: Attach LZRJet to a Parallel Port
  4. Nntp-Posting-Host: golem.ps.uci.edu
  5. Message-ID: <HARDY.92Jul26175815@golem.ps.uci.edu>
  6. In-reply-to: philipp@ulysse.enst.fr's message of 26 Jul 92 20:28:41 GMT
  7. Newsgroups: comp.sys.hp
  8. Organization: Department of Physics, UC Irvine, CA 92717-4575, USA
  9. Lines: 70
  10. Date: 27 Jul 92 00:58:35 GMT
  11. References: <1992Jul21.145706.13368@eng.ufl.edu> <2389@ulysse.enst.fr>
  12.  
  13. When I updated to 8.0 I also had similar troubles with configuring the
  14. parallel printer device.  I let SAM do everything (including the wrong
  15. major/minor numbers on the device drivers), then used mknod to create
  16. drivers with the right number:
  17.  
  18.   crw-r--r--   1 lp       lp        21 0x170000 Jul 14 23:02 lp_dj
  19.  
  20. (I am using a deskjet+, hence the dj).  I would have suspected that by
  21. now (7 months later) SAM would have been patched to do it right!
  22. I got a lot of help from HP-people over the net at that time.  I am
  23. sure you will too.
  24. Oh, yes, you may need to change the interface description too:
  25. here are the diffs between the modified interface (dj) and the serial
  26. interface PCL3:
  27. 203,208c203,208
  28. < #if [ -t 1 ]
  29. < #then
  30. < #    stty raw 9600 -parenb cs8 ixon -istrip clocal <&1 2>/dev/null
  31. < #else
  32. < #    slp -r 2>/dev/null
  33. < #fi
  34. ---
  35. > if [ -t 1 ]
  36. > then
  37. >     stty raw 9600 -parenb cs8 ixon -istrip clocal <&1 2>/dev/null
  38. > else
  39. >     slp -r 2>/dev/null
  40. > fi
  41. 439c439
  42. < #    do_banner
  43. ---
  44. >     do_banner
  45. 454,458c454,458
  46. < #        if [ "$outputmode" = "raw" -a -t 1 ]
  47. < #        then
  48. < #            stty raw 9600 -opost -parenb cs8 ixon -istrip clocal tab0 <&1 2>/dev/null
  49. < #            echo "\033&k0G\c"    # Reset line termination mode
  50. < #        fi
  51. ---
  52. >         if [ "$outputmode" = "raw" -a -t 1 ]
  53. >         then
  54. >             stty raw 9600 -opost -parenb cs8 ixon -istrip clocal tab0 <&1 2>/dev/null
  55. >             echo "\033&k0G\c"    # Reset line termination mode
  56. >         fi
  57. 488,494c488,494
  58. <                 if [ "$vsi" = "def" -a "$lpi" = "def" -a "$orientation" != "landscape" -a "$nroff" = "" ]
  59. <                 then
  60. <                     echo "\033&l66p2e7.6c66F\c"
  61. <                     echo "\033&a4L\c"
  62. <                     echo "\033&k11H\c"
  63. <                     length="-l66"
  64. <                 fi
  65. ---
  66. > #                if [ "$vsi" = "def" -a "$lpi" = "def" -a "$orientation" != "landscape" -a "$nroff" = "" ]
  67. > #                then
  68. > #                    echo "\033&l66p2e7.6c66F\c"
  69. > #                    echo "\033&a4L\c"
  70. > #                    echo "\033&k11H\c"
  71. > #                    length="-l66"
  72. > #                fi
  73. --------
  74. Sorry for the length of this post.
  75. Bonne chance!
  76.  
  77. --
  78. Hardy 
  79. -----
  80. Meinhard E. Mayer,  Department of Physics, UC Irvine 
  81. e-mail: hardy@golem.ps.uci.edu (preferred) or MMAYER@UCI.BITNET
  82.  
  83.