home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man4 / lp.4 < prev    next >
Encoding:
Text File  |  1975-06-26  |  1.3 KB  |  63 lines

  1. .th LP IV 5/27/74
  2. .sh NAME
  3. lp \*- line printer
  4. .sh DESCRIPTION
  5. .it Lp
  6. provides the interface to any of the standard
  7. DEC line printers.
  8. When it is opened or closed, a suitable number
  9. of page ejects is generated.
  10. Bytes written are printed.
  11. .s3
  12. An internal parameter within the driver determines
  13. whether or not the device is treated as having
  14. a 96- or 64-character set.
  15. In half-ASCII mode, lower case letters are turned
  16. into
  17. upper case
  18. and certain characters are escaped according to
  19. the following table:
  20. .s3
  21. .if t .ig
  22. .lp +10 5
  23. {    (-
  24. .lp +10 5
  25. }    )-
  26. .lp +10 5
  27. \*g    \*a-
  28. .lp +10 5
  29. |    !-
  30. .lp +10 5
  31. ~    ^-
  32. ..
  33. .if n .ig
  34. .lp +10 5
  35. {    \o"(\*-"
  36. .lp +10 5
  37. }    \o")\*-"
  38. .lp +10 5
  39. \*g    \o"\*a\*-"
  40. .lp +10 5
  41. |    \o"!\*-"
  42. .lp +10 5
  43. ~    \o"^\*-"
  44. ..
  45. .i0
  46. .s3
  47. The driver correctly interprets
  48. carriage returns, backspaces, tabs, and form feeds.
  49. A sequence of newlines which extends over the end of
  50. a page is turned into a form feed.
  51. All lines are indented 8 characters.
  52. Lines longer than 80 characters are truncated.
  53. These numbers are parameters in the driver;
  54. another parameter allows indenting all printout
  55. if it is unpleasantly near the left margin.
  56. .sh FILES
  57. /dev/lp
  58. .sh "SEE ALSO"
  59. lpr (I)
  60. .sh BUGS
  61. Half-ASCII mode, the indent and the maximum line length should
  62. be settable by a call analogous to stty (II).
  63.