home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / printer / prtgen23.lha / PDG.txt < prev    next >
Text File  |  1990-02-23  |  41KB  |  1,371 lines

  1. 5
  2. !1p
  3. Sample
  4. PrtDrvGen2
  5. !2p
  6. Parameters
  7. If the following strings are met in a command they are translated:
  8. ^nnn constant binary (hex) byte (nnn = octal no, n = 0-7) e.g. ^33
  9. ^pn  binary (hex) byte      e.g. ^p0
  10. ^dn  word/byte, ASCII       e.g. ^d1 = ^p1 as "DDD"
  11. ^wn  word, ASCII            e.g. ^w0 = ^p0 * 256 + ^p1 as "DDDDD"
  12. ^an  add ^pn to byte following and store in ^p7.
  13.      Retrieve by ^p7 or ^d7.  E.g. ^a4^12  (^p7 := ^p7 + ^p4 + 10)
  14. ^sn  as ^an, but subtraction. E.g. ^s4^15  (^p7 := ^p7 - ^p4 - 13)
  15.      (16 bit signed arithmetic used internally)
  16. ^f0  change format for ^dn and ^wn e.g. ^f0^244 is a 4 digit hex
  17.      string "DDDD", because ^244 octal = 16*10 + 4
  18. ^f1 or ^f2 (see commands 342 and 343)
  19. See description of individual commands for contents of parameters.
  20. If a standard Amiga printer command has numeric parameters, they
  21. will go into ^p0, ^p1 etc. See also the file PDG.doc.
  22. Use right-Amiga-X and right-Amiga-Q for gadget field editing.
  23. Remember to hit RETURN after changing a field.
  24. !3p
  25. Info
  26.    PrtDrvGen 2.3a © 25-Jun-1987 Jørgen Thomsen
  27.    Compuserve: 71310,2206  Plink/GEnie: J.THOMSEN
  28.    This is shareware, not a public domain program.
  29.    Fee of $10 (DKr 75) requested from each user. Add $5
  30.    (DKr 25) for driver source (TDI Modula-2) & utilities.
  31.  
  32.    10623 E. 66th S. #366 |   Johnstrups Allé 4, 2.tv.
  33.    Tulsa, OK 74133       |   DK-1923 Frederiksberg C
  34.    U.S.A.                |   DENMARK, Europe         
  35.    ----------------------|---------------------------
  36.    until 30-Sep-1987     |   Postgiro 5 30 71 63 or cash
  37. !4p
  38. 10
  39. Use ASCII text file as input
  40.   The file <driver name>.dat in the current directory will be
  41.   used as input for this program. After it has been read, you
  42.   may change the <driver name>. When exiting the program the
  43.   changed parameters will be stored in the file <driver name>.dat
  44.   and the previous <driver name>.dat will be renamed to
  45.   <driver name>.bak. Never embed SPACEs in the driver name.
  46.   E.g. <driver name> = EPSON, file names: EPSON.dat, EPSON.bak.
  47.  
  48. Decode existing driver
  49.   The current directory is searched for a file <driver name>. If
  50.   not found the file DEVS:printers/<driver name> will be decoded
  51.   and many of the parameters for this program will be found. You
  52.   must add the remaining, especially those for the graphics. The
  53.   parameters will be stored in the <driver name>.dat file.
  54.   For subsequent runs of this program this option will be faster
  55.   than option A above.
  56. !5p
  57. 0899 0655 0EE0 0A30
  58. %1w
  59. Version
  60. The version number should be 33 for AmigaDOS 1.2. It will be forced to that
  61. value, if you want the extended character set of characters from 160 to 255.
  62. ----------------------------------------------------------------------------
  63. About this program:
  64. The technical reference manual of your printer is a must to make a driver.
  65. There are 349 parameters and command strings to fill in, but don't despair.
  66. If you are decoding an existing driver many of them will already be OK. You
  67. generally don't need to fill in parameters, you don't know how to use (yet),
  68. but apply a little common sense. Don't specify the printer class to be a
  69. graphics printer if you don't fill in the graphics command strings etc.
  70.  
  71. You may stop the program and resume it later by selecting the "Save parame-
  72. ters only" item from the "Done" menu. When resuming, you select option A in
  73. the initial window. (The parameter headers will be written to the .dat file)
  74. %2w
  75. Revision
  76. This is for your very own use
  77. %3b
  78. Printer Class
  79. 0: alphanumeric (text) printer only
  80. 1: prints text and graphics
  81. 2: prints text and colors
  82. 3: prints text and graphics and colors
  83. %4b
  84. Color Class
  85. Specifies which basic colors your printer uses for printing different colors
  86. Subtractive colors
  87.  1: Black and White only
  88.  2: Yellow/Magenta (shade of red)/Cyan (shade of blue)
  89.  3: black "ribbon" for Black/White prints,
  90.     Yellow/Magenta/Cyan for color prints
  91.  4: Black/Yellow/Magenta/Cyan available at the same time
  92. Additive colors
  93.  9: as 1
  94. 10: Blue/Green/Red
  95. 11: as 3, but colors White/Black and Blue/Green/Red
  96. 12: White/Blue/Green/Red
  97. %5b2
  98. Invert black & white prints
  99. Some printers (e.g. Quadjet) uses the subtractive colors for black and
  100. white and the additive ones for color
  101. 0: don't do anything
  102. 1: turn black into white and white into black
  103. %6b
  104. No of Pica size chars on Narrow Tractor
  105. This value normally is 80. It is important to specify this correctly,
  106. because the scaling of prints uses this as a baseline for computing
  107. the size
  108. %7b
  109. No of character sets
  110. This should be the number of different character sets your printer supports.
  111. %8l
  112. No of seconds before timeout
  113. Generally 30
  114. The Amiga will wait for this number of seconds before it decides, that
  115. there must be something wrong with the printer and puts up a requester.
  116. %9w
  117. Pica size (SHORP0, 0.01 Chars Per Inch)
  118. This size is generally 1000  (10 characters per inch)
  119. %10w
  120. Elite size (SHORP2, 0.01 Chars Per Inch)
  121. This size is generally 1200  (12 characters per inch)
  122. %11w
  123. Fine size (SHORP4, 0.01 Chars Per Inch)
  124. This size varies. Preferences shows 1500  (15 characters per inch),
  125. but some printers support 1670 (16.7 CPI) or even 2000 (20 CPI). It
  126. depends upon which control codes you specify in the SHORP4 parameter below.
  127. %12w
  128. US Letter, Width (0.01 inch)
  129. Generally 800 (8 inches)
  130.  
  131. This and the following parameters specifies the area of the paper,
  132. that your printer is able to print on, not the actual dimensions,
  133. which may be slightly larger e.g. 8.5 inches for US Letter / Legal.
  134. You may specify whatever dimensions you want. The names specified
  135. here corresponds to the fields of Preferences.
  136. %13w
  137. US Letter, Length  (0.01 inch)
  138. Generally 1100 (11 inches)
  139. %14w
  140. US Letter, Lines to skip at perforation at 6 LPI
  141. Often 6
  142. At 8 lines per inch this number will be scaled by 8/6.
  143.  
  144. This value is only used, when Preferences specifies Fanfold. It is
  145. 0 in case of Single Sheet.
  146. %15S
  147. US Letter, RIN (2nd string, after delay and standard setup)
  148. When the printer is initialized by the RIN command (see below) the driver
  149. will set margins, print pitch, proportional spacing etc. This field enables
  150. you to specify commands to the printer which changes the standard ones e.g.
  151. disabling the proportional spacing in Letter mode because it makes it
  152. difficult to make columns etc.
  153.  
  154. The following values are available for inclusion in the command string:
  155. ^p0 (or ^d0)  Lines per inch
  156. ^p1 (or ^d1)  Lines per page from Preferences
  157. ^p2 (or ^d2)  Lines per page computed from paper length specified above
  158. ^p3 (or ^d3)  Lines to skip at perforation as specified for the form
  159. ^p4 (or ^d4)  Left margin from Preferences
  160. ^p5 (or ^d5)  Right margin from Preferences
  161. ^p6 (or ^d6)  ^p4 - 1
  162. ^p7 (or ^d7)  ^p5 + 1
  163. %16w
  164. US Legal, Width  (0.01 inch)
  165. @12
  166. %17w
  167. US Legal, Length  (0.01 inch)
  168. Generally 1400 (14 inches)
  169. %18w
  170. US Legal, Lines to skip at perforation at 6 LPI
  171. @14
  172. %19S
  173. US Legal, RIN (2nd string, after delay)
  174. @15
  175. %20w
  176. Narrow Tractor, Width (0.01 inch)
  177. @12
  178. %21w
  179. Narrow Tractor, Length (0.01 inch)
  180. Generally 0: infinite
  181. %22w
  182. Narrow Tractor, Lines to skip at perforation at 6 LPI
  183. @14
  184. %23S
  185. Narrow Tractor, RIN (2nd string, after delay)
  186. @15
  187. %24w
  188. Wide Tractor, Width  (0.01 inch)
  189. Often 1320  (13.2 inches)
  190. %25w
  191. Wide Tractor, Length  (0.01 inch)
  192. @21
  193. %26w
  194. Wide Tractor, Lines to skip at perforation at 6 LPI
  195. @14
  196. %27S
  197. Wide Tractor, RIN (2nd string, after delay)
  198. @15
  199. %28w
  200. Custom Paper, Width (0.01 inch)
  201. Whatever you want, but chose a value greater than 10
  202. %29w
  203. Custom Paper, Length  (0.01 inch)
  204. %30w
  205. Custom Paper, Lines to skip at perforation at 6 LPI
  206. %31S
  207. Custom Paper, RIN (2nd string, after delay, see below)
  208. This paper size is special and no automatic setups are performed as for the
  209. paper sizes defined above. The general RIN parameter below is not used, but
  210. you may specify a special one later on (parameter 119).
  211. When the command RIN is received the following will happen:
  212.      send the special RIN command string to the printer,
  213.      wait for 3 seconds for the printer to settle,
  214.      send this command string to the printer.
  215. %32w
  216. Partial Line Up/Down length (0.01 printer units at 6 LPI)
  217. Specify here how much the paper should move when using the PLU and PLD
  218. commands below. This value will only be used, if you use it in the string
  219. you specify for the PLU and PLD commands. This value will be scaled by 6/8
  220. for use at 8 LPI
  221. %33b
  222. Foreground/background color no. 0 (30/40)
  223. Specify here, which color value your printer must use in connection with
  224. the SFC and SBC commands (e.g. Amiga codes ESC [30m or ESC [40m, here
  225. specified as ^[[30m and ^[[40m).
  226.  
  227. These colors are only used for text mode, not for the graphics mode,
  228. and you must specify them to be used in the SBC and SFC command strings
  229. below
  230. %34b
  231. Foreground/background color no. 1 (31/41)
  232. @33
  233. %35b
  234. Foreground/background color no. 2 (32/42)
  235. @33
  236. %36b
  237. Foreground/background color no. 3 (33/43)
  238. @33
  239. %37b
  240. Foreground/background color no. 4 (34/44)
  241. @33
  242. %38b
  243. Foreground/background color no. 5 (35/45)
  244. @33
  245. %39b
  246. Foreground/background color no. 6 (36/46)
  247. @33
  248. %40b
  249. Foreground/background color no. 7 (37/47)
  250. @33
  251. %41b
  252. Foreground/background color no. 8 (38/48)
  253. @33
  254. %42b
  255. Foreground/background color no. 9 (39/49)
  256. @33
  257. %43s
  258. RIS    ^[c     reset
  259. This command is used for a total reset of the printer to its default values
  260. and it is rarely used. 
  261. %44s
  262. RIN    ^[#1    initialize
  263. This command will be executed by AmigaDOS just after the driver has been
  264. loaded into memory or when Preferences is changed. Specify the reset command
  265. of your printer. After this command a delay of 3 seconds is incurred for
  266. the printer to settle followed by the following commands below based on
  267. Preferences:
  268. VERPx       6/8 lines per inch
  269. SHORPx      pitch selection
  270. DENx        Near Letter Quality or Draft
  271. PROPx       proportional spacing (Letter) or not (Draft)
  272. SLRM        set left and right margin
  273. SLPP        set form length (lines/page)
  274. PERFx       set lines to skip at perforation (0, if single sheet)
  275. RIN (2nd string) from the paper size definitions above
  276. %45s
  277. IND    ^[D     line feed
  278. Generally ^12
  279.  
  280. A (not always correct) line counter is maintained
  281. ^p0: line counter before command
  282. ^p1: line counter after command
  283.  
  284. DeluxePaint II terminates a print with a number of these. If you don't
  285. want these line feeds, you may leave this parameter blank.
  286. %46s
  287. NEL    ^[E     return line feed
  288. Generally ^15^12
  289. This is used at the end of every line printed.
  290.  
  291. A (not always correct) line counter is maintained
  292. ^p0: line counter before command
  293. ^p1: line counter after command
  294. %47s
  295. RI     ^[M     reverse line feed
  296. Move the paper one line backwards.
  297. Suggested sequences:
  298.  
  299. 1) the reverse line feed character (sequence) of your printer
  300. 2) set printer into reverse line feed mode control code
  301.    ^12
  302.    set printer into normal line feed mode
  303.  
  304. A (not always correct) line counter is maintained
  305. ^p0: line counter before command
  306. ^p1: line counter after command
  307. %48s
  308. SGR0   ^[[0m   normal character set
  309. That is, no boldface, no italics, no underlining, no expanded mode,
  310. normal foreground and background colors (if applicable)
  311. %49s
  312. SGR3   ^[[3m   italics on
  313. %50s
  314. SGR23  ^[[23m  italics off
  315. %51s
  316. SGR4   ^[[4m   underline on
  317. %52s
  318. SGR24  ^[[24m  underline off
  319. %53s
  320. SGR1   ^[[1m   boldface on
  321. %54s
  322. SGR22  ^[[22m  boldface off
  323. %55s
  324. SFC    ^[[3nm  n=0-9 set foreground color
  325. Specify here the printer commands to change the color of the text printed.
  326. 3n = 30, 31, 32, 33 - 39.
  327. In your command string you may use
  328. ^p0 (or ^d0) = 3n
  329. ^p1 (or ^d1) =  n
  330. ^p2 (or ^d2) = value from colors specified in parameters above
  331.  
  332. e.g. ^[r^p2
  333. %56s
  334. SBC    ^[[4nm  n=0-9 set background color
  335. Similar to SFC
  336. %57s
  337. SHORP0 ^[[0w   normal pitch
  338. Here you would specify commands to set your printer into Pica (generally
  339. 10 chars per inch). Here you may also include control codes to disable
  340. condensed and enlarged print.
  341. %58s
  342. SHORP2 ^[[2w   elite on
  343. Here you would specify commands to set your printer into Elite (generally
  344. 12 chars per inch).
  345. %59s
  346. SHORP1 ^[[1w   elite off
  347. These commands should tell your printer to turn off Elite pitch mode.
  348. %60s
  349. SHORP4 ^[[4w   condensed fine on
  350. %61s
  351. SHORP3 ^[[3w   condensed fine off
  352. These commands should tell your printer to turn off Condensed Fine pitch.
  353. If no such command is available, then tell it to select the normal pitch
  354. as in SHORP0.
  355. %62s
  356. SHORP6 ^[[6w   enlarged on
  357. Control codes for selecting enlarged characters. Quite often the characters
  358. will be enlarged 2 or 3 times horizontally, the height remaining the same.
  359. %63s
  360. SHORP5 ^[[5w   enlarged off
  361. %64s
  362. DEN6   ^[[6"z  shadow print on
  363. Control codes for printing the characters twice, but slightly moved to the
  364. right to create the illusion of a shadow. Often the same as boldface.
  365. %65s
  366. DEN5   ^[[5"z  shadow print off
  367. %66s
  368. DEN4   ^[[4"z  doublestrike on
  369. If you want a very black character, you may instruct the printer to print
  370. each character twice.
  371. %67s
  372. DEN3   ^[[3"z  doublestrike off
  373. %68s
  374. DEN2   ^[[2"z  near letter quality on
  375. If you always want proportionally spaced characters in Near Letter Quality
  376. mode, you may add the proper control codes to the codes selecting Near
  377. Letter Quality, that you specify here.
  378. %69s
  379. DEN1   ^[[1"z  near letter quality off
  380. %70s
  381. SUS2   ^[[2v   superscript on
  382. Superscript is used mainly in math formulas e.g. x².
  383. %71s
  384. SUS1   ^[[1v   superscript off
  385. %72s
  386. SUS4   ^[[4v   subscript on
  387. Subscript is used mainly in math formulas e.g. x .
  388.                                                 ¹
  389. %73s
  390. SUS3   ^[[3v   subscript off
  391. %74s
  392. SUS0   ^[[0v   normalize the line
  393. Used for turning superscript or subscript off and return to the normal
  394. position of the line.
  395. %75s
  396. PLU    ^[L     partial line up
  397. ^p0: ^p1 * 6 / 8
  398. ^p1: partial line up/down length from parameter 32
  399.  
  400. Difference between superscript and partial line up:
  401.  
  402. Superscript                  Partial Line Up
  403.                                        22222
  404. XXXXXXXX²²²²²                XXXXXXXXXX-----
  405. -------------                ----------
  406.  
  407. Specify here the command to move the paper backwards or printhead up. If
  408. your printer is inable to do this, leave this blank and the command will
  409. be implemented as superscript.
  410. %76s
  411. PLD    ^[K     partial line down
  412. Similar to Partial Line Up
  413. %77s
  414. FNT0   ^[(B    US character set
  415. Command to change the character set of the printer to the standard US
  416. character set.
  417.  
  418. Doesn't work with AmigaDOS 1.2 (!!!), but the following character set
  419. commands should work. You might instead decide to use one of the EXTEND
  420. commands later on.
  421. %78s
  422. FNT1   ^[(R    French character set
  423. %79s
  424. FNT2   ^[(K    German character set
  425. %80s
  426. FNT3   ^[(A    UK character set
  427. %81s
  428. FNT4   ^[(E    Danish I character set
  429. %82s
  430. FNT5   ^[(H    Swedish character set
  431. %83s
  432. FNT6   ^[(Y    Italian character set
  433. %84s
  434. FNT7   ^[(Z    Spanish character set
  435. %85s
  436. FNT8   ^[(J    Japanese character set
  437. %86s
  438. FNT9   ^[(6    Norwegian character set
  439. %87s
  440. FNT10  ^[(C    Danish II character set
  441. %88s
  442. PROP2  ^[[2p   proportional spacing on
  443. Command to put the printer into proportional spacing mode e.g. each
  444. character occupies only the needed space on the paper just as in books
  445. and newspapers. It makes a printed text look better, but makes it difficult
  446. to make columns.
  447.  
  448. When Letter quality is selected in Preferences proportional spacing is
  449. selected, too.
  450. %89s
  451. PROP1  ^[[1p   proportional spacing off
  452. You may insert this printer command string in the "RIN (2nd string)"
  453. parameters of the paper definition, if you don't want proportional spacing
  454. in Letter mode.
  455. %90s
  456. PROP0  ^[[0p   proportional spacing clear
  457. The purpose of this command is possibly the inverse of the TSS command
  458. following e.g. reinstate the default proportional spacing offset
  459. %91s
  460. TSS    ^[[n E  set proportional spacing offset
  461. Minimum space between characters.
  462. You may find, that with proportional spacing the printer will print the
  463. characters too close to or too far away from each other. This command
  464. enables you to alter the standard minimum spacing between characters
  465. applied by the printer. 
  466. %92s
  467. JFY5   ^[[5 F  auto left justify
  468. The printer should make the lines flush with the left margin
  469. %93s
  470. JFY7   ^[[7 F  auto right justify
  471. The printer should make the lines flush with the right margin
  472. %94s
  473. JFY6   ^[[6 F  auto full justify
  474. The printer should make the lines flush with both left and right margin
  475. %95s
  476. JFY0   ^[[0 F  auto justify off
  477. Disable the auto justification. This will normally mean, that the printer
  478. will print the following lines flush with the left margin
  479. %96s
  480. JFY3   ^[[3 F  letter space, justify
  481. I am uncertain as to what this command shall accomplish. Some printers may
  482. support it
  483. %97s
  484. JFY1   ^[[1 F  word fill, auto center
  485. This command should make the printer center each line on the paper within
  486. the current margins
  487. %98s
  488. VERP0  ^[[0z   1/8" line spacing
  489. After this command the printer should print 8 lines per inch
  490. %99s
  491. VERP1  ^[[1z   1/6" line spacing
  492. After this command the printer should print 6 lines per inch
  493. %100s
  494. SLPP   ^[[nt   set form length to n lines
  495. ^p0: the number of lines or current form length (if n = 0)
  496. ^p1: current no of lines to skip at perforation
  497. ^p2: ^p0 - ^p1
  498. ^p3: ^p0 * 6 / 8  (for 1/6 inch specification )
  499. %101s
  500. PERF   ^[[nq   perforation skip n (n > 0)
  501. ^p0: no of lines to skip around the perforation on fanfold paper
  502. %102s
  503. PERF0  ^[[0q   perforation skip off
  504. %103s
  505. LMS    ^[#9    left margin set
  506. %104s
  507. RMS    ^[#0    right margin set
  508. %105s
  509. TMS    ^[#8    top margin set
  510. ^p0: no of lines to skip at perforation
  511. ^p1: no of lines per page
  512. ^p2: ^p1 - ^p0
  513. ^p3: line counter (may not be correct)   
  514. %106s
  515. BMS    ^[#2    bottom margin set
  516. @105
  517. %107s
  518. STBM   ^[[Pn1;Pn2r set top & bottom margins
  519. @105
  520. %108s
  521. SLRM   ^[[Pn1;Pn2s set left & right margins
  522. Some printers may need to have the printhead positioned at the current
  523. left margin in order to execute this command. You must then include a
  524. carriage return (^15) as the first character in the command string.
  525.  
  526. ^p0 (or ^d0) the Pn1 parameter (leftmost  position to be used for printing)
  527. ^p1 (or ^d1) the Pn2 parameter (rightmost  position to be used for printing)
  528. ^p2 (or ^d2) ^p0 - 1    (some printers may need this value)
  529. ^p3 (or ^d3) ^p1 + 1    (        ------------             )
  530. %109s
  531. CAM    ^[#3    clear margins
  532. ^p0: 1
  533. ^p1: <paper width> * <no of characters per inch>
  534. ^p2: 0
  535. ^p3: ^p1 + 1
  536.  
  537. Internal value of current left and right margins set to ^p0 and ^p1
  538. %110s
  539. HTS    ^[H     set horizontal tab
  540. %111s
  541. VTS    ^[J     set vertical tab
  542. %112s
  543. TBC0   ^[[0g   clear horizontal tab
  544. %113s
  545. TBC3   ^[[3g   clear all horizontal tabs
  546. ^p0: Current right margin - current left margin + 1  (no. of chars)
  547. ^p1: Current no. of lines on one page
  548. %114s
  549. TBC1   ^[[1g   clear vertical tab
  550. %115s
  551. TBC4   ^[[4g   clear all vertical tabs
  552. @113
  553. %116s
  554. TBCALL ^[#4    clear all horizontal & vertical tabs
  555. @113
  556. %117s
  557. TBSALL ^[#5    set default tabs
  558. ^p0: Current right margin - current left margin + 1  (no. of chars)
  559. ^p1: Current no. of lines on one page
  560.  
  561. These tab positions should be
  562.   3, 6, 9, 12, 15, 18, 21 etc.
  563. %118s
  564. EXTEND ^[[Pn"x extended commands
  565. This string will prefix all the command strings found below in parameters
  566. 120 - 129. Leave it blank, if no general prefix is wanted.
  567. The driver will behave in a special way when the following EXTEND commands
  568. are written to the printer
  569.  
  570. ESC [[255"x  ESC [[27"x  ESC [[50"x ...........  ESC [[255"x
  571.    The character values 27 (ESC), 50 (P) etc. are sent to the printer as is
  572.    and not interpreted in any way. The 255's encloses the EXTEND commands
  573.    with the values to be sent
  574. ESC [254"x
  575.    Send the binary byte with value 255 to the printer. If within a sequence
  576.    enclosed by 255's as above the value 254 will be sent
  577.  
  578. ESC [253"x
  579.    Enter the driver into debug mode (same as parameter 344, value 1).
  580.    If the driver already is in debug mode, it will exit from this mode.
  581. %119S
  582. RIN (custom paper, 1st string)
  583. This is the command string sent to the printer instead of the normal RIN
  584. string, when Custom paper size is selected in Preferences (see parameter
  585. 19)
  586. Contents of ^p parameters as for the normal RIN command 
  587. %120S
  588.  1. available for EXTEND ^[[1"x
  589. You may specify a command string to send to the printer for a special
  590. feature not covered by the standard Amiga commands e.g. start printing
  591. in triple expanded mode
  592. %121S
  593.  2. available for EXTEND ^[[2"x
  594. @120
  595. %122S
  596.  3. available for EXTEND ^[[3"x
  597. @120
  598. %123S
  599.  4. available for EXTEND ^[[4"x
  600. @120
  601. %124S
  602.  5. available for EXTEND ^[[5"x
  603. @120
  604. %125S
  605.  6. available for EXTEND ^[[6"x
  606. @120
  607. %126S
  608.  7. available for EXTEND ^[[7"x
  609. @120
  610. %127S
  611.  8. available for EXTEND ^[[8"x
  612. @120
  613. %128S
  614.  9. available for EXTEND ^[[9"x
  615. @120
  616. %129S
  617. 10. available for EXTEND ^[[10"x
  618. @120
  619. %130b2
  620. Define extended ASCII characters
  621. 0: no, I want to use the default values
  622. 1: yes, I want to define the characters from 160 - 255 myself, because
  623.    my printer is able to print these characters when I tell it how to
  624.    in the following commands
  625.  
  626. Note!
  627. The only "^" parameters, you may use for these character definitions are
  628. the "^nnn" and "^^" (^^ to give a single ^). If you need to write a
  629. sequence e.g."^1" followed by "2", then do not write "^12", but "^0012".
  630.  
  631. If you define a character substitution, which occupies more than one
  632. character position, you may confuse your word processor.
  633. %131x2
  634. ASCII character 160: "Nonbreak sequence/space"
  635. This is a space character to be used in word processing when you don't
  636. want a line break between two words
  637. %132x2
  638. Character value 161: ¡
  639. %133x2
  640. Character value 162: ¢
  641. %134x2
  642. Character value 163: £
  643. %135x2
  644. Character value 164: ¤
  645. %136x2
  646. Character value 165: ¥
  647. %137x2
  648. Character value 166: ¦
  649. %138x2
  650. Character value 167: §
  651. %139x2
  652. Character value 168: ¨
  653. %140x2
  654. Character value 169: ©
  655. Copyright, "c^10O" or "(c)" when this character is not available
  656. %141x2
  657. Character value 170: ª
  658. %142x2
  659. Character value 171: «
  660. %143x2
  661. Character value 172: ¬
  662. %144x2
  663. Character value 173: ­
  664. %145x2
  665. Character value 174: ®
  666. %146x2
  667. Character value 175: ¯
  668. %147x2
  669. Character value 176: °
  670. %148x2
  671. Character value 177: ±
  672. %149x2
  673. Character value 178: ²
  674. %150x2
  675. Character value 179: ³
  676. %151x2
  677. Character value 180: ´
  678. %152x2
  679. Character value 181: µ
  680. %153x2
  681. Character value 182: ¶
  682. %154x2
  683. Character value 183: ·
  684. %155x2
  685. Character value 184: ¸
  686. %156x2
  687. Character value 185: ¹
  688. %157x2
  689. Character value 186: º
  690. %158x2
  691. Character value 187: »
  692. %159x2
  693. Character value 188: ¼
  694. %160x2
  695. Character value 189: ½
  696. %161x2
  697. Character value 190: ¾
  698. %162x2
  699. Character value 191: ¿
  700. %163x2
  701. Character value 192: À
  702. %164x2
  703. Character value 193: Á
  704. %165x2
  705. Character value 194: Â
  706. %166x2
  707. Character value 195: Ã
  708. %167x2
  709. Character value 196: Ä
  710. %168x2
  711. Character value 197: Å
  712. Danish vowel, written as "AA", if this character is not available
  713. %169x2
  714. Character value 198: Æ
  715. Danish vowel, written as "AE", if this character is not available
  716. %170x2
  717. Character value 199: Ç
  718. %171x2
  719. Character value 200: È
  720. %172x2
  721. Character value 201: É
  722. %173x2
  723. Character value 202: Ê
  724. %174x2
  725. Character value 203: Ë
  726. %175x2
  727. Character value 204: Ì
  728. %176x2
  729. Character value 205: Í
  730. %177x2
  731. Character value 206: Î
  732. %178x2
  733. Character value 207: Ï
  734. %179x2
  735. Character value 208: Ð
  736. %180x2
  737. Character value 209: Ñ
  738. %181x2
  739. Character value 210: Ò
  740. %182x2
  741. Character value 211: Ó
  742. %183x2
  743. Character value 212: Ô
  744. %184x2
  745. Character value 213: Õ
  746. %185x2
  747. Character value 214: Ö
  748. German and Swedish character, "OE" if not available
  749. %186x2
  750. Character value 215: ×
  751. %187x2
  752. Character value 216: Ø
  753. Danish vowel, written as "O^10/", if this character is not available
  754. %188x2
  755. Character value 217: Ù
  756. %189x2
  757. Character value 218: Ú
  758. %190x2
  759. Character value 219: Û
  760. %191x2
  761. Character value 220: Ü
  762. German y, "ue" when this character is not available
  763. %192x2
  764. Character value 221: Ý
  765. %193x2
  766. Character value 222: Þ
  767. %194x2
  768. Character value 223: ß
  769. German character, "ss" when this character is not available
  770. %195x2
  771. Character value 224: à
  772. %196x2
  773. Character value 225: á
  774. %197x2
  775. Character value 226: â
  776. %198x2
  777. Character value 227: ã
  778. %199x2
  779. Character value 228: ä
  780. German and Swedish character, written as "ae" if not available
  781. %200x2
  782. Character value 229: å
  783. Danish vowel, "aa" when this character is not available
  784. %201x2
  785. Character value 230: æ
  786. Danish vowel, "ae", when this character is not available
  787. %202x2
  788. Character value 231: ç
  789. %203x2
  790. Character value 232: è
  791. %204x2
  792. Character value 233: é
  793. %205x2
  794. Character value 234: ê
  795. %206x2
  796. Character value 235: ë
  797. %207x2
  798. Character value 236: ì
  799. %208x2
  800. Character value 237: í
  801. %209x2
  802. Character value 238: î
  803. %210x2
  804. Character value 239: ï
  805. %211x2
  806. Character value 240: ð
  807. %212x2
  808. Character value 241: ñ
  809. %213x2
  810. Character value 242: ò
  811. %214x2
  812. Character value 243: ó
  813. %215x2
  814. Character value 244: ô
  815. %216x2
  816. Character value 245: õ
  817. %217x2
  818. Character value 246: ö
  819. German and Swedish character, "oe" when not available
  820. %218x2
  821. Character value 247: ÷
  822. %219x2
  823. Character value 248: ø
  824. Danish vowel, "o^10/" when this character is not available
  825. %220x2
  826. Character value 249: ù
  827. %221x2
  828. Character value 250: ú
  829. %222x2
  830. Character value 251: û
  831. %223x2
  832. Character value 252: ü
  833. %224x2
  834. Character value 253: ý
  835. %225x2
  836. Character value 254: þ
  837. %226x2
  838. Character value 255: ÿ
  839. %227b2
  840. One char graphics on/off printer
  841. 0: the printer must have an escape sequence of characters in order to switch
  842.    into graphics mode
  843. 1: the printer switches into/out of graphics mode by receiving a single
  844.    character
  845.    e.g. 03 hex for many printers e.g. Citizen.
  846.    Fill in the following parameter in this case
  847. %228S2
  848. Character to switch on/off graphics
  849. Only relevant if parameter 227 is 1.
  850. e.g ^03 for many printers
  851. %229b2
  852. (Reserved for extensions)
  853. %230w
  854. Density 1 (Draft/6), No of raster rows (pins) on each pass of print head
  855. Typical values:
  856.  1 many laser/inkjet printers     (Laser: See "Dot or vector graphics")
  857.  7 some 8 pin dot matrix printers
  858.  8 most 8 pin dot matrix printers (or 24 pin printers in 8 pin mode)
  859.  9 some 9 pin dot matrix printers
  860. 24 most 24 pin dot matrix printers
  861.  
  862. This parameter specifies, how many fine, horizontal lines may be printed
  863. simultaneously by one pass of the print head. It relates to the "Bits used
  864. in each byte" parameter below.
  865.  
  866. In order to specify this and all the following parameters correctly, you
  867. must read the Technical Reference Manual of your printer !
  868. %231w2
  869. Density 1, Total no of passes to get higher vertical density
  870. Value between 1 and 8.
  871. Related to the "Multipass lines termination" command string below if > 1.
  872.  
  873. Some printers (e.g. Epson) has a paper moving command, which allows the
  874. printer to move the paper just a fraction of an inch. This can be used to
  875. make a double (or more) print density in the following way (8 pin printer
  876. assumed) e.g. for value 2:
  877.  
  878.     Send graphics data, move paper ½ dot, send graphics data,
  879.     move paper 7½ dot
  880.     Repeat.
  881.  
  882. Note, that memory requirements really increases with this parameter.
  883. This feature may also be used for other very special printers (e.g. some
  884. Tektronix and Diablo C-150).
  885. %232l
  886. Density 1, Max dots in X (width) direction
  887. This parameter is computed as the width of the Narrow Tractor (parm. 20)
  888. times the Dots per inch parameter in X direction below divided by 100.
  889. The driver will compute the actual value based on this value and margins.
  890. E.g. 800 * 120 / 100 = 960
  891. %233l
  892. Density 1, Max dots in Y (vertical) direction (0=infinite)
  893. Most often 0, infinite, but certain printers/plotters may have restrictions
  894. %234w
  895. Density 1, Dots pr inch in X (width) direction
  896. This parameter must be specified in close connection with the "prefix"
  897. command strings below, because in those strings you probably will specify
  898. to the printer, which density it must use
  899. %235w
  900. Density 1, Dots pr inch in Y (vertical) direction
  901. This parameter specifies the number of dots per inch your printer is capable
  902. of printing in the vertical direction. If the "No of passes to get higher
  903. vertical density" parameter above is greater than 1, this parameter probably
  904. must be the normal value for your printer times that parameter.
  905. %236b
  906. Density 1, Storage of dots in buffer  row/col
  907. 0: row by row             (some inkjet and laser printers)
  908. 1: column by column       (most dot matrix printers)
  909.  
  910. If your printer apparently prints a picture, but it is not recognizable,
  911. then try changing this parameter to the opposite value
  912. %237b
  913. Density 1, Fill buffer bytes from right/left, left/right
  914. 0: from right (least significant bit) to left (most significant bit)
  915. 1: in the opposite direction
  916.  
  917. If your circles printed out look like
  918.                     __                             __
  919.                   \    /                          /  \
  920.                  \      /       and not as       /    \
  921.                   /    \                         \    /
  922.                    /__ \                          \__/
  923.  
  924. then use the opposite value of this parameter.
  925.  
  926. %238b2
  927. Density 1, No of bits used in each byte
  928. Generally 8.
  929. Relates to the next parameter.
  930.  
  931. Some printers (e.g. Toshiba) use less than 8 bits in each byte sent as
  932. graphics data. Specify here the number of bits used.
  933. E.g. 9 pin printers should also specify the value 8, because the first of
  934. the two bytes for the 9 pins is totally filled.
  935. %239b2
  936. Density 1, Lower or upper bits and zero or one fill (0,2/1,3)
  937. Generally 0.
  938. 0: use rightmost (least significant bits) and fill unused with zero bits
  939. 1: use leftmost  (most significant bits)  and fill unused with zero bits
  940. 2: use rightmost (least significant bits) and fill unused with one bits
  941. 3: use leftmost  (most significant bits)  and fill unused with one bits
  942.  
  943. This parameter is only relevant, if parameter 238 is less than 8. You must
  944. specify where the unused bits are positioned in each byte and how they
  945. should be initialized.
  946. %240b2
  947. Density 1, Discard all data for one color, if not used
  948. 0: don't discard
  949. 1: discard
  950.  
  951. In stead of sending a lot of data to the printer which specifies that
  952. no dots of a specified color should be printed, the driver may just as
  953. well discard these data. However, some printers (e.g. Quadjet) need these
  954. data, so the initial value to use should be 0. After you have managed to
  955. print nice pictures on your printer, you may change this parameter to 1 and
  956. test, if the pictures still are printed OK. You may experience that the
  957. the printing of pictures becomes slightly faster.
  958. %241b2
  959. Density 1, Horisontally adjacent dots not possible
  960. The current driver (PrtDrv.lod rev. 22) does not use this parameter.
  961. 0: possible
  962. 1: not possible
  963. %242w
  964. Density 1, Pixel height divisor ( * 100)
  965. Value: most often 100 or 120  or value in the range 100 - 120
  966. 100: will give you a monitor image with oval circles
  967. 120: will give you a picture with true circular circles and square squares
  968.      from DPaint and Aegis Draw pictures
  969.  
  970. If the picture as most often is the case fills your entire monitor screen,
  971. the height of each pixel is 1.2 * its width in 320 * 200 low resolution
  972. mode. Some drawing programs believe, that the height and width are equal.
  973. Use this parameter to adjust the ratio.
  974. %243b
  975. Density 1, Print black [white] as no.
  976. Most often 4
  977. Colors should for ribbon printers be printed in the sequence lighter colors
  978. first in order to preserve the ribbon. This sequence number also specifies
  979. the sequence in which the color data are sent to the printer, which for
  980. some printers is important (e.g. Quadjet).
  981.  
  982. In case you are using a black and white only printer, the sequence will be
  983. forced. You don't need to fill it in.
  984. Remember, the sequence numbers for the four colors must be some combination
  985. of 1,2,3,4 with no duplicate numbers.
  986. %244b
  987. Density 1, Print  yellow [blue] as no.
  988. Most often 1   (Red, Green, Blue printers: 3 )
  989. %245b
  990. Density 1, Print  magenta (redish) [green] as no.
  991. Most often 2
  992. %246b
  993. Density 1, Print  cyan (blueish) [red] as no.
  994. Most often 3   (Red, Green, Blue printers: 1 )
  995. %247S
  996. Density 1, Color black [white] prefix
  997. ^p2 = No of dot columns                      ^p3 = No of data bytes
  998. ^p0 = ^p2 / K                                ^p1 = ^p2 - ^p0 x K  
  999. ^p4 = Pass no (0 - 7) for multipass          ^p5 = ^p2 / bits per byte
  1000. ^p6 = ^p3 / K                                ^p7 = ^p3 - ^p6 x K  
  1001.    (K = 128 or 256, dependent on the Special options field below)
  1002. The data sent to the printer for each color will be
  1003.     
  1004.    This command string
  1005.    data for the actual graphics
  1006.  
  1007. The contents of this command string could be something like (Epson codes):
  1008.  
  1009.    ^15               ^[r^0          ^[*^0^p1^p0
  1010.    Carriage Return   Print color    Density and amount of graphics data
  1011. %248S
  1012. Density 1, Color yellow [blue] prefix
  1013. @247
  1014. %249S
  1015. Density 1, Color magenta [green] prefix
  1016. @247
  1017. %250S
  1018. Density 1, Color cyan [red] prefix
  1019. @247
  1020. %251S
  1021. Density 1, Init graphics before delay of 3 seconds
  1022. This and the following command string are very similar in nature to the RIN
  1023. command string specified previously i.e. they must contain printer commands
  1024. which should be used while printing an entire picture.
  1025.  
  1026. E.g. set printer in unidirectional mode; specify proper spacing, so that
  1027. white streaks between each pass of the print head is avoided.
  1028.  
  1029. The command string is split into two with a delay of 3 seconds in between,
  1030. because some printers may need a full reset with time to settle.
  1031. %252S
  1032. Density 1, Init graphics after delay
  1033. See previous parameter
  1034. %253S
  1035. Density 1, Each single buffer termination
  1036. Most often Carriage Return, Line Feed  ^15^12, but for printers which uses
  1037. a one character graphics on/off escape character this character should be
  1038. inserted as the first character e.g. ^3^15^12.
  1039.  
  1040. If the higher density by multipass lines option is used, this command string
  1041. would make the paper move up, not an entire Line Feed, but only the part of
  1042. line still remaining
  1043. %254S
  1044. Density 1, Finish graphics dump
  1045. Some people want a Form Feed (^14) here.
  1046. %255S2
  1047. Density 1, Multipass lines termination
  1048. Related to the parameter above about getting higher density by several
  1049. passes. Only relevant if that parameter has a value larger than 1.
  1050. This command string is used to forward the paper e.g. 1/2 dot size.
  1051. %256b2
  1052. Density 1, Dot or vector graphics mode
  1053. 0: most printers, the bitmap of graphics generated by the Amiga is sent to
  1054.    the printer
  1055. 1: some laser printers/plotters e.g. Kyocera F-1010,
  1056.    each scan line in the bitmap is analyzed and converted into vector
  1057.    coordinates, which may be included in a command string or printed.
  1058.    The color prefixes would then contain a vector drawing command e.g.
  1059.                      DRAW ^d0, ^d1, ^d2,^d3;
  1060.    or                MOVE ^d0, ^d1; DRAW ^d4, 0;
  1061.  
  1062.    which would draw a line from (^d0,^d1) to (^d2, ^d3).
  1063.    The X-values are ^d0, ^d2 (left margin = 0), the Y-values ^d1 (= ^d3,
  1064.    top margin = 0) specified in dots. Length of line in ^d4.
  1065. %257w2
  1066. Density 1, Special options
  1067. Generally all zero except for special printers. Add values if used.
  1068.   1: use 7+7 bit format for lengths in graphics prefix (i.e. K = 128)
  1069.   2: don't set pitch and left/right margins just before graphics dump
  1070.   4: don't set line spacing to 6 or 8 lines per inch after graphics dump
  1071.   8: (not used)
  1072.  16: (not used)
  1073. etc.
  1074. %258w
  1075. Density 2 (Draft/8), No of raster rows (pins) on each pass of print head
  1076. @230
  1077. %259w2
  1078. Density 2, No of passes to get higher vertical density
  1079. @231
  1080. %260l
  1081. Density 2, Max dots in X direction
  1082. @232
  1083. %261l
  1084. Density 2, Max dots in Y direction (0=infinite)
  1085. @233
  1086. %262w
  1087. Density 2, Dots pr inch in X direction
  1088. @234
  1089. %263w
  1090. Density 2, Dots pr inch in Y direction
  1091. @235
  1092. %264b
  1093. Density 2, Storage of dots in buffer  row/col
  1094. @236
  1095. %265b
  1096. Density 2, Fill buffer bytes from right/left, left/right
  1097. @237
  1098. %266b2
  1099. Density 2, No of bits used in each byte
  1100. @238
  1101. %267b2
  1102. Density 2, Upper or lower bits
  1103. @239
  1104. %268b2
  1105. Density 2, Discard all data for one color, if not used
  1106. @240
  1107. %269b2
  1108. Density 2, Horisontally adjacent dots not possible
  1109. @241
  1110. %270w
  1111. Density 2, Pixel height divisor
  1112. @242
  1113. %271b
  1114. Density 2, Print black [white] as no.
  1115. @243
  1116. %272b
  1117. Density 2, Print  yellow [blue] as no.
  1118. @244
  1119. %273b
  1120. Density 2, Print  magenta (redish) [green] as no.
  1121. @245
  1122. %274b
  1123. Density 2, Print  cyan (blueish) [red] as no.
  1124. @246
  1125. %275S
  1126. Density 2, Color black [white] prefix
  1127. @247
  1128. %276S
  1129. Density 2, Color yellow [blue] prefix
  1130. @248
  1131. %277S
  1132. Density 2, Color magenta [green] prefix
  1133. @249
  1134. %278S
  1135. Density 2, Color cyan [red] prefix
  1136. @250
  1137. %279S
  1138. Density 2, Init graphics before delay
  1139. @251
  1140. %280S
  1141. Density 2, Init graphics after delay
  1142. @252
  1143. %281S
  1144. Density 2, Each single buffer terminated by
  1145. @253
  1146. %282S
  1147. Density 2, Finish graphics dump
  1148. @254
  1149. %283S2
  1150. Density 2, Multipass lines terminated by
  1151. @255
  1152. %284b2
  1153. Density 2, Dot or vector graphics
  1154. @256
  1155. %285w2
  1156. Density 2, Special options
  1157. @257
  1158. %286w
  1159. Density 3 (Letter/6), No of raster rows (pins) on each pass of print head
  1160. @230
  1161. %287w2
  1162. Density 3, No of passes to get higher vertical density
  1163. @231
  1164. %288l
  1165. Density 3, Max dots in X direction
  1166. @232
  1167. %289l
  1168. Density 3, Max dots in Y direction (0=infinite)
  1169. @233
  1170. %290w
  1171. Density 3, Dots pr inch in X direction
  1172. @234
  1173. %291w
  1174. Density 3, Dots pr inch in Y direction
  1175. @235
  1176. %292b
  1177. Density 3, Storage of dots in buffer  row/col
  1178. @236
  1179. %293b
  1180. Density 3, Fill buffer bytes from right/left, left/right
  1181. @237
  1182. %294b2
  1183. Density 3, No of bits used in each byte
  1184. @238
  1185. %295b2
  1186. Density 3, Upper or lower bits
  1187. @239
  1188. %296b2
  1189. Density 3, Discard all data for one color, if not used
  1190. @240
  1191. %297b2
  1192. Density 3, Horisontally adjacent dots not possible
  1193. @241
  1194. %298w
  1195. Density 3, Pixel height divisor
  1196. @242
  1197. %299b
  1198. Density 3, Print black [white] as no.
  1199. @243
  1200. %300b
  1201. Density 3, Print  yellow [blue] as no.
  1202. @244
  1203. %301b
  1204. Density 3, Print  magenta (redish) [green] as no.
  1205. @245
  1206. %302b
  1207. Density 3, Print  cyan (blueish) [red] as no.
  1208. @246
  1209. %303S
  1210. Density 3, Color black [white] prefix
  1211. @247
  1212. %304S
  1213. Density 3, Color yellow [blue] prefix
  1214. @248
  1215. %305S
  1216. Density 3, Color magenta [green] prefix
  1217. @249
  1218. %306S
  1219. Density 3, Color cyan [red] prefix
  1220. @250
  1221. %307S
  1222. Density 3, Init graphics before delay
  1223. @251
  1224. %308S
  1225. Density 3, Init graphics after delay
  1226. @252
  1227. %309S
  1228. Density 3, Each single buffer terminated by
  1229. @253
  1230. %310S
  1231. Density 3, Finish graphics dump
  1232. %311S2
  1233. Density 3, Multipass lines terminated by
  1234. @255
  1235. @254
  1236. %312b2
  1237. Density 3, Dot or vector graphics
  1238. @256
  1239. %313w2
  1240. Density 3, Special options
  1241. @257
  1242. %314w
  1243. Density 4 (Letter/8), No of raster rows (pins) on each pass of print head
  1244. @230
  1245. %315w2
  1246. Density 4, No of passes to get higher vertical density
  1247. @231
  1248. %316l
  1249. Density 4, Max dots in X direction
  1250. @232
  1251. %317l
  1252. Density 4, Max dots in Y direction (0=infinite)
  1253. @233
  1254. %318w
  1255. Density 4, Dots pr inch in X direction
  1256. @234
  1257. %319w
  1258. Density 4, Dots pr inch in Y direction
  1259. @235
  1260. %320b
  1261. Density 4, Storage of dots in buffer  row/col
  1262. @236
  1263. %321b
  1264. Density 4, Fill buffer bytes from right/left, left/right
  1265. @237
  1266. %322b2
  1267. Density 4, No of bits used in each byte
  1268. @238
  1269. %323b2
  1270. Density 4, Upper or lower bits
  1271. @239
  1272. %324b2
  1273. Density 4, Discard all data for one color, if not used
  1274. @240
  1275. %325b2
  1276. Density 4, Horisontally adjacent dots not possible
  1277. @241
  1278. @239
  1279. %326w
  1280. Density 4, Pixel height divisor
  1281. @242
  1282. %327b
  1283. Density 4, Print black [white] as no.
  1284. @243
  1285. %328b
  1286. Density 4, Print  yellow [blue] as no.
  1287. @244
  1288. %329b
  1289. Density 4, Print  magenta (redish) [green] as no.
  1290. @245
  1291. %330b
  1292. Density 4, Print  cyan (blueish) [red] as no.
  1293. @246
  1294. %331S
  1295. Density 4, Color black [white] prefix
  1296. @247
  1297. %332S
  1298. Density 4, Color yellow [blue] prefix
  1299. @248
  1300. %333S
  1301. Density 4, Color magenta [green] prefix
  1302. @249
  1303. %334S
  1304. Density 4, Color cyan [red] prefix
  1305. @250
  1306. %335S
  1307. Density 4, Init graphics before delay
  1308. @251
  1309. %336S
  1310. Density 4, Init graphics after delay
  1311. @252
  1312. %337S
  1313. Density 4, Each single buffer terminated by
  1314. @253
  1315. %338S
  1316. Density 4, Finish graphics dump
  1317. @254
  1318. %339S2
  1319. Density 4, Multipass lines terminated by
  1320. @255
  1321. %340b2
  1322. Density 4, Dot or vector graphics
  1323. @256
  1324. %341w2
  1325. Density 4, Special options
  1326. @257
  1327. %342x2
  1328. File name for extra data (^f1)
  1329. Allows a number of raw bytes to be sent to the printer (< appr. 16000).
  1330. Use it for e.g. defining special characters or special commands.
  1331. Any byte value may be contained in the data, which must be stored in a file
  1332. in the format XX XX XX XX XX ... with XX being the hexadecimal value of one
  1333. byte. Make the file by e.g. an editor and terminate it by one blank line.
  1334. The data file need not be present when using the driver. The PrtDrvGen
  1335. stores the data in the driver itself.
  1336.  
  1337. To send the data to the printer insert ^f1 as the first command in a command
  1338. string e.g. in parameters 15, 19, 23, 27.
  1339.  
  1340. When decoding a driver with data, the data will be stored in the current
  1341. directory in a file called <driver name>.hex1.
  1342. %343x2
  1343. File name for extra data (^f2)
  1344. Similar to ^f1
  1345. %344w2
  1346. System Parameter (Reserved for internal use)
  1347. 0: the driver executes in normal mode
  1348. 1: the driver executes in debug mode with the following hexadecimal dumps
  1349.    D: ^p0,^p1 ..... ^p7,Amiga command code, (sequence as in Enhancer table)
  1350.    R: color,x,y,code    (4 bytes each) entry to graphics procedure Render
  1351.                         (excl. code=1: render single pixel)
  1352.    B: RowSize (2), Bufsize (4), No Of Buffers (1)
  1353.                         memory used for each color row, an entire buffer and
  1354.                         01 or 02 dependent on the use of double buffering.
  1355.    I: Printer Class (1), Color Class (1), Max Print Columns (1),
  1356.       No of Character Sets (1), Number of Rows (2), Max X Dots (4),
  1357.       Max Y Dots (4), X Dots/Inch (2), Y Dots/Inch (2)
  1358.  
  1359. If the graphics dump routine detects an error, it will be printed as
  1360.    X: xx xx xx xx     
  1361. %345w2
  1362. (0. Reserved for future extensions)
  1363. %346w2
  1364. (1. Reserved for future extensions)
  1365. %347w2
  1366. (2. Reserved for future extensions)
  1367. %348w2
  1368. (3. Reserved for future extensions)
  1369. %349w2
  1370. (4. Reserved for future extensions)
  1371.