home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1996
/
ARCHIVE_96.iso
/
discs
/
mag_discs
/
volume_4
/
issue_04
/
printers
/
!PrinterLJ
/
PrDataSrc
< prev
next >
Wrap
Text File
|
1990-07-10
|
8KB
|
211 lines
> PrData *** LaserJet printer configuration ***
Header must appear first, with items in correct order
======
version: 2 ; Don't change this. It is used to detect
; incompatible old "PrData" files.
total_printers: 4 ; printers in file including default
total_text_printers: 1 ; distinct text definitions including default
Default printer definition
==========================
Default graphics resolutions
----------------------------
pxres: 150 ; dots per inch
pyres: 150
pxres_halftone: 150/8
pyres_halftone: 150/8
Graphics job control
--------------------
features: 16_00000000 ; doesn`t support arbitrary transformation
manual_feed: <27>&l2H ; escape sequence limited to 20 chars
auto_feed: <27>&l1H
Printable character translations
--------------------------------
; text_char163: "<163>" ; any printable character can be
; translated to a different one
Text font selection
-------------------
text_pica: "" ; these defaults do nothing - do not change them
text_elite: "" ; to use different font sizes, or line-wrapping
text_condensed: "" ; will go wrong - you could change to use different
text_expanded: "" ; typefaces if additional ones are available at both
; 12 point and 8.5 point, e.g "<27>(s5T" for Tms Rmn
General text highlights
-----------------------
text_bold_on: "<27>(s+3B"
text_bold_off: "<27>(s0B"
text_italic_on: "<27>(s1S"
text_italic_off: "<27>(s0S"
text_light_on: "<27>(s-3B"
text_light_off: "<27>(s0B"
text_superscript_on: "<27>&a-0.3R"
text_superscript_off:"<27>&a+0.3R"
text_subscript_on: "<27>&a+0.3R"
text_subscript_off: "<27>&a-0.3R"
text_underline_on: "<27>&d0D"
text_underline_off: "<27>&d@"
Real printer definitions
========================
After 'printer_name:' and 'printer_number:', either 'text_alias:'
is used to indicate that all text entries are the same as a
previously defined printer or default (-1); or 'text_noalias:'
is used (without a value) to indicate that the printer has its
own text definition, in which case any subsequent "text..." values
override the default ones. If you change/add printers, alter the
'total...' values at start of the file too.
.............................................................
; 300 by 300 dpi output
printer_name: HP LaserJet (High)
printer_number: 0
text_alias: -1 ; => text same as default
pxres: 300 ; dots per inch
pyres: 300
pxres_halftone: 300/8
pyres_halftone: 300/8
.............................................................
; 150 by 150 dpi output
printer_name: HP LaserJet (Medium)
printer_number: 1
text_alias: -1 ; => text same as default
pxres: 150 ; dots per inch
pyres: 150
pxres_halftone: 150/8
pyres_halftone: 150/8
.............................................................
; 75 by 75 dpi output
printer_name: HP LaserJet (Low)
printer_number: 2
text_alias: -1 ; => text same as default
pxres: 75 ; dots per inch
pyres: 75
pxres_halftone: 75/4
pyres_halftone: 75/4
.............................................................
; 100 by 100 dpi output
;printer_name: HP LaserJet (Low)
;printer_number: 3
;text_alias: -1 ; => text same as default
;
;pxres: 100 ; dots per inch
;pyres: 100
;pxres_halftone: 100/6
;pyres_halftone: 100/6
.............................................................
Page size settings
==================
These are written back to this file when the "Save" entry is clicked;
therefore they are all fixed size fields.
page_number: 0 ; the number of the page size table entry we want to do
; don't need to write this back!
page_name: A4 paper;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; pad names to 80 characters with ;
page_width: 0000595350; Pad (decimal) numbers to 10 chars with leading 0s
page_height: 0000841995
page_bottom: 0000013891
page_top: 0000806558
page_left: 0000014175
page_right: 0000575505
text_top: 0000000000
text_bottom: 0000000000
text_left: 0000000000
text_right: 0000000000
page_selection: <27>&l26A ; escape sequence to select A4 paper in the printer
page_number: 1
page_name: Letter;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
page_width: 0000612076
page_height: 0000792099
page_bottom: 0000014458
page_top: 0000777641
page_left: 0000011906
page_right: 0000587979
text_top: 0000000000
text_bottom: 0000000000
text_left: 0000000000
text_right: 0000000000
page_selection: <27>&l2A
page_number: 2
page_name: Legal;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
page_width: 0000612076
page_height: 0001008126
page_bottom: 0000014458
page_top: 0000993668
page_left: 0000011906
page_right: 0000587979
text_top: 0000000000
text_bottom: 0000000000
text_left: 0000000000
text_right: 0000000000
page_selection: <27>&l3A
page_number: 3
page_name: User;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
page_width: 0000595350
page_height: 0000841995
page_bottom: 0000013891
page_top: 0000806558
page_left: 0000014175
page_right: 0000575505
text_top: 0000000000
text_bottom: 0000000000
text_left: 0000000000
text_right: 0000000000
page_selection: <27>&l26A ; Note that this selects A4 paper - the user may have to change this by hand
Configured options (also written back to file on "Save")
==================
start_page_number: 00 ;page description - pad to two chars with 0
printer: 01 ;printer number - pad to two chars with 0
location: 1 ;1 - parallel, 2 - serial, 4 - net
baud: 03 ; 0 - 75, 1 - 150, 2 - 300 , 3 - 1200
; 4 - 2400, 5 - 4800, 6 - 9600 , 7 - 19200
; 8 - 50, 9 - 110, 10 - 134.5, 11 - 600
;12 - 1800, 13 - 3600, 14 - 7200
data: &24 ;serial data format - pad to two chars with 0
;b0-b1 0,1,2,3 => 8,7,6,5 bits
;b2 0=>1 stop bit, 1=>2 stop bits OR 1.5 stop bits if 5 bits
;without parity, OR 1 stop bit if 8 bits with parity
;b3 0/1 => parity off/on
;b4-b5 0,1,2,3 => parity odd, even, 1 on Tx, 0 on Tx
xon: 0 ;XON/XOFF 0 off 1 on
server: 0.235;;; either [<net>.]<station> eg `235;;;;;` or `123.235;`
;or up to 6 char name eg `blue;;;;` or `yellow;;`
;must be padded to 8 chars with ; in either case
file: null:;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;filename to use, padded to 80 characters.
nfserver: ;;;;;;;;;;;;;;;;NFS printer server, padded to 16 characters
nfprinter: lp;;;;;;;;;;;;;;NFS printer name, padded to 16 characters
nfuser: nobody;;;;;;;;;;NFS username, padded to 16 characters
nfoption: ;;;;;;;;NFS printer options, padded to 8 characters
mono: 0 ;0/1 1 => use monochrome output buffer. Sprites/fonts will
; not be greyscaled.
title: 0 ;0/1 1 => title text pages
number: 0 ;0/1 1 => number text lines
wrap_bar: 1 ;0/1 1 => indicate wrapped lines with a bar character
map: 1 ;0/1 0 => text input newline is lf, 1=> cr, lf, cr/lf or lf/cr
line: 1 ;0/1 0 => text printer newline is cr, 1=>lf+cr
feed: 0 ;0/1 1 => text manual paper tray
format: 0 ;0/1 0 => portrait, 1=>landscape
controls: 0 ;0-2 0 => text standard, 1=>display, 2=>ignore