1
0

lp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .TH LP 8
  2. .SH NAME
  3. lp \- PostScript preprocessors
  4. .SH DESCRIPTION
  5. These programs are part of the
  6. .IR lp (1)
  7. suite.
  8. Each corresponds to a
  9. .I process
  10. in the
  11. .BI -p process
  12. option of
  13. .I lp
  14. and exists as an
  15. .IR rc (1)
  16. script in
  17. .B /sys/lib/lp/process
  18. that provides an interface to a PostScript conversion program in
  19. .BR /$cputype/bin/aux .
  20. The list of processors follows;
  21. after each description is a bracketed list of
  22. .I lp
  23. options to which the processor responds:
  24. .TF \fIp9bitpos\fP
  25. .TP
  26. .I dpost
  27. converts
  28. .IR troff (1)
  29. output for device
  30. .SM post
  31. to PostScript.
  32. This is used for files troff'ed on our
  33. .SM UNIX
  34. systems that do not handle
  35. .SM UTF
  36. characters.
  37. .RB [ DLcimnorxy ]
  38. .TP
  39. .I dvipost
  40. converts
  41. .IR tex (1)
  42. output to PostScript.
  43. .RB [ Lcinor ]
  44. .TP
  45. .I g3post
  46. converts CCITT Group 3 FAX data to PostScript.
  47. .RB [ DLm ]
  48. .TP
  49. .I gifpost
  50. converts GIF image data to PostScript.
  51. .RB [ DLm ]
  52. .TP
  53. .I generic
  54. is the default processor.
  55. It uses
  56. .IR file (1)
  57. to determine the type of input and executes the correct
  58. processor for a given (input, printer) pair.
  59. .TP
  60. .I hpost
  61. adds a header page to the beginning of a PostScript printer
  62. job so that it may be separated from other jobs in the output bin.
  63. The header has the image of the job's owner from the directory of faces (see
  64. .IR face (6)).
  65. Page reversal is also done in this processor.
  66. .TP
  67. .I jpgpost
  68. converts JPEG image data to PostScript.
  69. .RB [ DLm ]
  70. .TP
  71. .I noproc
  72. passes files through untouched.
  73. .TP
  74. .I p9bitpost
  75. .na
  76. converts a Plan 9 image to PostScript, such as
  77. .B /dev/screen
  78. for the whole screen,
  79. .B /dev/window
  80. for that window's data,
  81. and
  82. .B /dev/wsys/.../window
  83. for some other window's data.
  84. .RB [ DLm ]
  85. .ad
  86. .TP
  87. .I pdfpost
  88. converts PDF data to PostScript.
  89. .TP
  90. .I post
  91. passes PostScript through, adding option patches for paper tray information.
  92. This does not always work with PostScript generated on other systems.
  93. .TP
  94. .I ppost
  95. converts
  96. .SM UTF
  97. text to PostScript.
  98. .RB [ DLcfilmnorxy ]
  99. .TP
  100. .I tr2post
  101. converts
  102. .IR troff (1)
  103. output for device
  104. .SM utf
  105. (the default) to PostScript.
  106. See
  107. .B /sys/lib/troff/font/devutf
  108. directory for troff font width table descriptions.
  109. See also the
  110. .B /sys/lib/postscript/troff
  111. directory for mappings of
  112. troff
  113. .SM UTF
  114. character space to PostScript
  115. font space.
  116. .RB [ DLcimnorxy ]
  117. .SH SOURCE
  118. .B /sys/src/cmd/postscript
  119. .SH SEE ALSO
  120. .IR lp (1)
  121. .SH BUGS
  122. The
  123. .I file
  124. command is not always smart enough to deal with certain file
  125. types.
  126. There are PostScript conversion programs that do not have processors to drive them.