/contrib/groff/src/devices/grolj4/grolj4.man

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 152 lines · 149 code · 3 blank · 0 comment · 0 complexity · b23db1ec5f694bc780244c61cd3c9669 MD5 · raw file

  1. .ig
  2. Copyright (C) 1994-2000, 2001, 2002, 2004 Free Software Foundation, Inc.
  3. Permission is granted to make and distribute verbatim copies of
  4. this manual provided the copyright notice and this permission notice
  5. are preserved on all copies.
  6. Permission is granted to copy and distribute modified versions of this
  7. manual under the conditions for verbatim copying, provided that the
  8. entire resulting derived work is distributed under the terms of a
  9. permission notice identical to this one.
  10. Permission is granted to copy and distribute translations of this
  11. manual into another language, under the above conditions for modified
  12. versions, except that this permission notice may be included in
  13. translations approved by the Free Software Foundation instead of in
  14. the original English.
  15. ..
  16. .\" Like TP, but if specified indent is more than half
  17. .\" the current line-length - indent, use the default indent.
  18. .de Tp
  19. .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
  20. .el .TP "\\$1"
  21. ..
  22. .TH GROLJ4 @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
  23. .SH NAME
  24. grolj4 \- groff driver for HP Laserjet 4 family
  25. .SH SYNOPSIS
  26. .nr a \n(.j
  27. .ad l
  28. .nr i \n(.i
  29. .in +\w'\fBgrolj4 'u
  30. .ti \niu
  31. .B grolj4
  32. .de OP
  33. .ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
  34. .el .RB "[\ " "\\$1" "\ ]"
  35. ..
  36. .OP \-lv
  37. .OP \-d \fR[\fPn\fR]\fP
  38. .OP \-c n
  39. .OP \-p paper_size
  40. .OP \-w n
  41. .OP \-F dir
  42. .RI "[\ " files\|.\|.\|. "\ ]"
  43. .br
  44. .ad \na
  45. .PP
  46. It is possible to have whitespace between a command line option and its
  47. parameter.
  48. .SH DESCRIPTION
  49. .B grolj4
  50. is a driver for
  51. .B groff
  52. that produces output in PCL5 format suitable for an HP Laserjet 4 printer.
  53. .LP
  54. There is an additional drawing command available:
  55. .TP
  56. .BI \eD'R\ dh\ dv '
  57. Draw a rule (solid black rectangle), with one corner
  58. at the current position, and the diagonally opposite corner
  59. at the current position
  60. .RI +( dh , dv ).
  61. Afterwards the current position will be at the opposite corner. This
  62. generates a PCL fill rectangle command, and so will work on
  63. printers that do not support HPGL/2 unlike the other
  64. .B \eD
  65. commands.
  66. .SH OPTIONS
  67. .TP
  68. .BI \-c n
  69. Print
  70. .I n
  71. copies of each page.
  72. .TP
  73. .B \-l
  74. Print the document with a landscape orientation.
  75. .TP
  76. .BI "\-d [" n ]
  77. Use duplex mode
  78. .IR n :
  79. 1\ is long-side binding; 2\ is short-side binding;
  80. default is\ 1.
  81. .TP
  82. .BI \-p size
  83. Set the paper size to
  84. .IR size ,
  85. which must be one of
  86. letter, legal, executive, a4, com10, monarch, c5, b5, dl.
  87. .TP
  88. .B \-v
  89. Print the version number.
  90. .TP
  91. .BI \-w n
  92. Set the default line thickness to
  93. .I n
  94. thousandths of an em.
  95. If this option isn't specified, the line thickness defaults to 0.04\~em.
  96. .TP
  97. .BI \-F dir
  98. Prepend directory
  99. .IB dir /dev name
  100. to the search path for font and device description files;
  101. .I name
  102. is the name of the device, usually
  103. .BR lj4 .
  104. .LP
  105. The following four commands are available additionally in the
  106. font description files:
  107. .TP
  108. .BI pclweight \ N
  109. The integer value
  110. .I N
  111. must be in the range -7 to +7; default is 0.
  112. .TP
  113. .BI pclstyle \ N
  114. The integer value
  115. .I N
  116. must be in the range 0 to 32767; default is 0.
  117. .TP
  118. .BI pclproportional \ N
  119. A boolean flag which can be either 0 or 1; default is 0.
  120. .TP
  121. .BI pcltypeface \ N
  122. The integer value
  123. .I N
  124. must be in the range 0 to 65535; default is 0.
  125. .SH FILES
  126. .TP
  127. .B @FONTDIR@/devlj4/DESC
  128. Device description file.
  129. .TP
  130. .BI @FONTDIR@/devlj4/ F
  131. Font description file for font
  132. .IR F .
  133. .TP
  134. .B @MACRODIR@/lj4.tmac
  135. Macros for use with
  136. .BR grolj4 .
  137. .SH BUGS
  138. Small dots.
  139. .SH "SEE ALSO"
  140. .BR lj4_font (@MAN5EXT@),
  141. .BR groff (@MAN1EXT@),
  142. .BR @g@troff (@MAN1EXT@),
  143. .BR groff_out (@MAN5EXT@),
  144. .BR groff_font (@MAN5EXT@),
  145. .BR groff_char (@MAN7EXT@)
  146. .
  147. .\" Local Variables:
  148. .\" mode: nroff
  149. .\" End: