% Copyright 1985, 1986, 1987, 1988 Chris Lewis % All Rights Reserved % % Permission to copy and further distribute is freely given provided % this copyright notice remains intact and that this software is not % sold for profit. % % Project: Generic Troff drivers % Module: lj.lib % Author: Chris Lewis % Specs: Predefinitions for HP Laserjet % This is an ASCII file that is translated into % binary by the lj driver. Using the following % Escape conventions: % %comment % line from % to end of line ignored. % \nnnnnn ..... % each group of 3 digits is interpreted as an % octal bytes. Terminated by next non-octal % character. % \xnnnnnn ... % Each group of 2 digits is interpreted as a % hexidecimal byte. Terminated by next non-hex % character. % tabs, spaces and newlines are ignored (you have to % use hex or octal to pass them). % All others passed straight through. % For example: % \xAABB \022 A %hello % Passes the following bytes: 0xAA, 0xBB, 022, and "A" % through to the laserjet. %ident @(#)lj.lib: 2.1 Copyright 90/07/18 16:52:26 Chris Lewis" \033E\033&k2G %reset printer, set CR=CR,LF=CRLF,FF=CRFF */ \033&l6d66p0o0e66f0L %letter size, portrait, no perf skip */ \0339 %reset side margins */ \033&a0r0C %move cursor to 0,0 */