|
|
1.1 ! root 1: .ds dQ /usr/lib/postscript ! 2: .TH HARDCOPY 1 "DWB 3.2" ! 3: .SH NAME ! 4: .B hardcopy ! 5: \- redirects output from PostScript file operators to paper ! 6: .SH SYNOPSIS ! 7: \*(mBhardcopy\f1 ! 8: .OP "" options [] ! 9: .OP "" files [] ! 10: .SH DESCRIPTION ! 11: .B hardcopy ! 12: surrounds ! 13: .I files ! 14: with PostScript that redirects file output to paper, ! 15: and writes the results on the standard output. ! 16: If no ! 17: .I files ! 18: are specified, or if ! 19: .OP \- ! 20: is one of the input ! 21: .IR files , ! 22: the standard input is read. ! 23: The following ! 24: .I options ! 25: are understood: ! 26: .TP 0.75i ! 27: .OP \-c num ! 28: Print ! 29: .I num ! 30: copies of each page. ! 31: By default only one copy is printed. ! 32: .TP 0.75i ! 33: .OP \-f name ! 34: Print ! 35: .I files ! 36: using font ! 37: .IR name , ! 38: which should be the name of a constant width font. ! 39: The default font is Courier. ! 40: .TP 0.75i ! 41: .OP \-m num ! 42: Magnify each page by the factor ! 43: .IR num . ! 44: Pages are scaled uniformly about the origin, ! 45: which is located near the upper left corner of ! 46: each page. ! 47: The default magnification is 1.0. ! 48: .TP 0.75i ! 49: .OP \-p mode ! 50: Print ! 51: .I files ! 52: in either \*(mBportrait\fP or \*(mBlandscape\fP ! 53: .IR mode . ! 54: Only the first character of ! 55: .I mode ! 56: is significant. ! 57: The default ! 58: .I mode ! 59: is \*(mBportrait\fP. ! 60: .TP 0.75i ! 61: .OP \-s num ! 62: Print ! 63: .I files ! 64: using point size ! 65: .IR num . ! 66: When printing in landscape mode ! 67: .I num ! 68: is scaled by a factor that depends on the ! 69: imaging area of the device. ! 70: The default size for portrait mode is 10. ! 71: .TP 0.75i ! 72: .OP \-x num ! 73: Translate the origin ! 74: .I num ! 75: inches along the positive x axis. ! 76: The default ! 77: coordinate system has the origin fixed near the ! 78: upper left corner of the page, with positive ! 79: x to the right and positive y down the page. ! 80: Positive ! 81: .I num ! 82: moves everything right. ! 83: The default offset is 0.25 inches. ! 84: .TP 0.75i ! 85: .OP \-y num ! 86: Translate the origin ! 87: .I num ! 88: inches along the positive y axis. ! 89: Positive ! 90: .I num ! 91: moves text down the page. ! 92: The default offset is 0.25 inches. ! 93: .TP 0.75i ! 94: .OP \-L file ! 95: Use ! 96: .I file ! 97: as the PostScript prologue. ! 98: .br ! 99: The default is ! 100: .MR \*(dQ/hardcopy.ps . ! 101: .PP ! 102: .B hardcopy ! 103: generates paper output from data that a PostScript program ! 104: normally sends back to a host computer. ! 105: It is particularly useful for recovering data from a printer ! 106: that does not allow access to its serial port. ! 107: .SH EXAMPLES ! 108: For a list of ROM based fonts type: ! 109: .EX ! 110: echo 'FontDirectory {pop ==} forall' | hardcopy | lp \(el ! 111: .EE ! 112: To recover the version number of the PostScript interpreter: ! 113: .EX ! 114: echo 'version ==' | hardcopy -pland | lp \(el ! 115: .EE ! 116: To build and print a width table for font ! 117: .MW R ! 118: type: ! 119: .EX ! 120: trofftable -TLatin1 R | hardcopy | lp \(el ! 121: .EE ! 122: .SH WARNINGS ! 123: Results are unpredictable if the input ! 124: .I files ! 125: make changes to the graphics state. ! 126: .SH FILES ! 127: .MW \*(dQ/hardcopy.ps ! 128: .SH SEE ALSO ! 129: .BR buildtables (1), ! 130: .BR postio (1), ! 131: .BR trofftable (1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.