home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / l / lazyprint / !LazyPrint / docs / Manual < prev    next >
Encoding:
Text File  |  1997-03-07  |  36.9 KB  |  718 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                             !LazyPrint  
  8.  
  9.                                                           6 March 1997
  10.  
  11.                                                    Version 2.38 
  12.  
  13.  
  14.  
  15.  
  16.     Page    Contents
  17.  
  18.       2    Introduction
  19.  
  20.       3    Tutorial - getting Started
  21.  
  22.       4    Reference - on printing text files
  23.  
  24.       6    Control Codes in text
  25.  
  26.       7    Printing Graphic (Draw or Sprite) files
  27.  
  28.      10    Definition files, Choices, FontList, PageList
  29.  
  30.      13    Utilities, LPPrint, CSV2Labels, Thickline, !LazyCodes
  31.  
  32.      14    Comments
  33.  
  34.      15    Fault Reporting and enhancement requests
  35.  
  36.      16    Address for Correspondence
  37.  
  38.  
  39. Introduction 
  40.  
  41. !LazyPrint sends simple text, Draw files or Sprites to a Hewlett Packard (HP)  printer or
  42. plotter quickly using the HP printer hardware fonts and languages, (PCL  5 which includes
  43. the vector graphics language HP-GL/2). 
  44.  
  45. It  allows easy selection of printer parameters such as paper orientation, margin sizes
  46. and hardware fonts for text printing jobs such as program listings, simple letters and
  47. address labels. Draw and Sprite files can be printed at any magnification and position on
  48. the page in colour or  black-and-white.  Text files can only be printed in black because
  49. they are printed using the PCL language which has no way of defining colour.
  50.  
  51. !LazyPrint is NOT a printer driver, it only sends files to the printer. It does not
  52. communicate with other programs so can only be used from word processors or Desktop
  53. Publishing packages if they can save to Text or Draw files. You can drop a file
  54. on to the !LazyPrint icon directly from an application such as !Edit, !Draw or !Paint. 
  55. Acorn interactive help is supported.
  56.  
  57. There are three choices files you can change with any text editor; full descriptions are
  58. given later; the files are:
  59.      ‘Choices’  determines the initial settings of the layout parameters 
  60.      ‘FontList’  a list of available hardware fonts in your Hewlett Packard printer
  61.      ‘PageList’ a list of page size name and dimensions known to the printer.
  62.  
  63.   Four utilities are included in the registered version:
  64.     (shareware users get just the first of the ones below)
  65.  
  66.      1 - sending ‘printout’ files directly to the printer
  67.       2 - formatting  CSV files into a file for printing address labels 
  68.      3 - making lines thicker in Draw files
  69.     4 - !LazyCodes an aid to help users enter control codes into text files
  70.  
  71. Typing Conventions: 
  72.   < > around a word mean press that key, for example <Select> is the left mouse button
  73.   <Return> is the ‘Return’ key on the keyboard. Menu items are like this Queues
  74.   icons are shown like this Copies.  Filenames are within ‘’ like this ‘Choices’
  75.   Ends of sections are shown like this  _____________________________
  76.   Ends of sub-sections like this          _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  77.  
  78.   __________________________________________________________________________
  79.  
  80.                               Tutorial - Getting Started
  81.  
  82. First look at the file ‘Readme’, then at the file ‘Copyright’ which is within the !Lazyprint 
  83. application, then either drag the !LazyPrint icon to a filer window on a directory of your
  84. hard disk to install the program or double click on the !LazyPrint icon to load the 
  85. application on to the Icon Bar. 
  86.  
  87. To print a text file: first choose the page layout you want by clicking <Select> over the
  88. icon on the icon bar to show a window where you can select one of the supplied layouts, or
  89. change the parameters to suit your application. Further details of these layout parameters
  90. are in the next section Text Layout Parameters. Click on ‘OK’ to close the window.
  91. Then drag the file to the !LazyPrint icon on the icon bar, and it is sent straight to the printer.
  92. Try any of your text files and the default layout supplied, if you are happy with the results
  93. you may never need to read the rest of this manual.
  94.  
  95. To print a graphic file drop the file on to the icon on the icon bar, this opens a
  96. window which allows scaling and positioning of the image on the page. (Details given later)
  97.  
  98. In both cases the output may be printed immediately, or sent to a file of type ‘printout’ (FF4),
  99. which can later be sent to the printer by double-clicking over it provided that the !LazyPrint
  100. application has been ‘seen’ by the filer. This can be useful for frequently printed files.
  101.  
  102. The menu from the icon on the icon-bar has the following entries:
  103.  
  104. Info        shows the version number 
  105. Help       displays the !Help file (interactive help is also provided)
  106. Pause    temporarily stops sending data to the printer
  107. Stop       stops sending information to the printer and clears the queues
  108. Fast       sends the file to the printer more quickly by demanding more time
  109.                  from the Wimp. By default, !LazyPrint only uses whatever is left after 
  110.                  all other tasks have run
  111. Queues     displays the file names queued for printing
  112. Save choices     updates the Choices file with the current conditions
  113. Quit          removes the program from the desktop.
  114.  
  115.    Start by trying to print the files in the directory ‘examples’:
  116.  
  117. First  text files - 
  118.      filename    Layout used    Contents
  119.  1) ‘Manual’    Manual    this file 
  120.  2) ‘MyLetter’    Letter    a typical letter
  121.  3) ‘MyDiscs’    Disc Labels    a set of 3.5" disk labels containing only text
  122.  4) ‘MyLabels’    Labels 7x3     a page of address labels for the Avery format
  123.  5) ‘Chars128’     Manual    tests printing of  ASCII characters between 128 and 159
  124.  
  125. Then  graphic files - 
  126.  6) ‘Shades’      a Draw file with the desktop colours in 2 forms:
  127.                       as a Sprite and as filled rectangles.
  128.  7) ‘ThinBoxes’    a Draw file with several widths of white line on a dark background
  129.                          if you cannot see the ‘Thin’ one you may want to use the utility
  130.                          ‘Thicklines’ described below
  131.   __________________________________________________________________________
  132.  
  133.  
  134.                                  Reference - on Printing Text Files
  135.  
  136. Text layout parameters Window
  137.  
  138. This window has several parts where related icons are enclosed in boxes to show they
  139. form a group; the boxes control page layout, requested paper size, margin positions etc.
  140. Yellow background icons can only be changed by clicking on them with the mouse.
  141. White ones can have numbers typed into them from the keyboard.
  142.  
  143. Boxes on the left side of the window:
  144.  
  145. Page Layout (top left box)
  146.  
  147.   Icons are described from top to bottom of the box. You can choose:
  148.  
  149.  1) to print page numbers in one of six possible positions  (top/bottom and left/middle/right/)
  150.      The icon positions show you where page numbers appear on the page, 
  151.      for example, if you want  a page number in the middle of the bottom line of the page,
  152.      select the centre icon of the 3 at the bottom of the box. A blank line is printed after the line
  153.      containing the page number at the top of the page, and before it at the bottom.
  154.  
  155.  2) to print a heading on the top line consisting of the complete file name and file creation date.
  156.      When the page number is at the top of the page, the header and page number are
  157.      printed on the same line, so only  two extra lines are needed. When the page number
  158.      is at the bottom of the page, and you ask for  a header, the top two lines are taken 
  159.      for the header itself and its following blank line, and also two more lines at the bottom 
  160.      for the page number.
  161.     
  162.  3) to print line numbers at the left side of the page, this is sometimes useful for
  163.          program listings. It is printed with up to  4 digits, followed by a¸ blank , 
  164.          when the line number exceeds 9999, it starts again at 1. 
  165.  4) the page orientation (portrait or landscape) <select>  the icon of the desired shape
  166.  5) whether the output should be sent direct to the printer or to a file for printing later
  167.  6) how the paper should be fed to the printer. The three possibilities are to take:
  168.          - all the sheets from the feed hopper,
  169.          - each sheet from the manual feed,
  170.          - odd numbered sheets from the hopper,  even ones from the manual feed.
  171.                 This allows double-sided printing.
  172.  
  173. Copies (bottom left box)  Set the number of copies to be printed by typing in the icon.
  174.  
  175. Paper Size (bottom row) This shows the current paper size expected, A4 for the ‘Manual’
  176. Layout by default, but you may want to print envelopes or other sizes. Click  with
  177. <select> over this icon to see the list of possible paper sizes set up for your printer. 
  178. The current one has a tick by it. Its dimensions can be seen by moving the pointer to the
  179. right; these are read from the  file ‘Pagelist’; you must edit that file to change them.
  180. (Instructions are given later for how to edit this file and to add more paper sizes.). 
  181.  
  182. Boxes on the right side of the window:
  183.  
  184. Page Margins(top right box) 
  185. The 4 icons show the current margin settings for the top, left, right and bottom margins.
  186. They are measured in mm from the edge of the paper, not from the edge of the printable area.
  187.  Notes: 
  188.  1. No check is made on the line lengths; if they are too long to fit on to the page, 
  189.          the extra characters are lost without  warning.
  190.  2. The right margin is used only to set up multi-column positions it does not stop the printing.
  191.  
  192. Tab positions( 2nd box down on the right)
  193.  The 4 tab positions are measured in millimetres from the left edge of the paper; click
  194. with <select> over any you want to change;  type in the number you want and press the
  195. <Return> key. The numbers in the icons are forced to increase from one tab position to the
  196. next, but no check is made that the tabs are not off the right hand edge of the paper.
  197.  
  198. Number of lines and columns(the boxes in the 3rd row down)
  199. Type the number you want into the icons for the number of lines/inch or the number of 
  200. lines/page.These numbers are not independent; changing one will affect the other. They also
  201. depend on the paper size and orientation, and whether you want a page number and header.       
  202.         
  203. Enter the number of columns to print in the icon in the Columns box. 
  204. This is useful when printing labels; where the left and right margin settings  position the text
  205. on the labels.
  206.  
  207.  Note:  The tab positions for single column (and the first position for multi-column)
  208. are measured from the edge of the paper. For later columns they are measured from a 
  209. position calculated as the starting position for that column minus the left unprintable width.
  210.  
  211. Font setup ( 4th box down on the right) 
  212. Up to four different fonts may be used in any one document. These are numbered from 1 to 4
  213. the last three being accessed by control codes  embedded in the text (see section on
  214. Control codes below).   Click <select> over the appropriate font number to open a window
  215. with icons showing the font name, size and alternate characteristics. Click any button
  216. over the font name to select the font and then change its point size and characteristics
  217. (Bold, italic or condensed). The fonts available are stored in the file ‘FontList’ which is
  218. described later.     One point = 1/72 inch.
  219.  
  220. New Layout, Reset, OK   (Icons on the bottom line of the window) 
  221. To save the layout for future use, click over New Layout; this makes another window
  222. showing all the layouts currently stored in the ‘Choices’ file. To add a new layout, enter its 
  223. name in the white icon inside the box, click over the ‘create’ icon  and then the  OK. 
  224. Previously created layouts can be selected in this window by double-clicking over their
  225. name, they can also be renamed or deleted. The maximum number of layouts is 12.
  226.  
  227. To keep your new layout for future use, select ‘Save Choices’ from the icon-bar menu.
  228.  
  229. Reset is used when you have changed some of the parameters in an existing layout and
  230. want to reset  all of them to the values stored for the layout of that name in the ‘Choices’ file.
  231.  
  232. OK Click here to close this window and make !Lazyprint ready to print a file.
  233.    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  234.  
  235.  
  236.  
  237.    Control codes in text
  238.                                                      
  239. The PCL language uses a main font and a secondary font;  !LazyPrint similarly uses a 
  240. main font and secondary font with control codes embedded in the text to change from one
  241. font to another in text files. In addition there are a few layout codes such as ‘start a new page’.  
  242. Control codes are ASCII characters with values less than 32. !Lazy Print recognises:
  243.  
  244.     Code  Keys           Meaning
  245.      [09] (CTRL/I)     move to next tab position
  246.      [0c] (CTRL/L)     skip to next page (must be the only character on the line)
  247.      [0e] (CTRL/N)     use secondary font rather than font 1
  248.      [0f]  (CTRL/O)     use font 1
  249.      [11] (CTRL/Q)     select font 1 as the secondary font
  250.      [12] (CTRL/R)     select font 2 as the secondary font
  251.      [13] (CTRL/S)     select font 3 as the secondary font
  252.      [14] (CTRL/T)     select font 4 as the secondary font
  253.      [15] (CTRL/U)     start underlining text
  254.      [17] (CTRL/W)     end underlining text
  255.  
  256. Notes
  257. 1. All other control codes (apart from ‘newline’ and ‘end of data’ [04]) are ignored.
  258. ‘Newline’ is obeyed; ‘end of data’ stops processing of the file at that point, after displaying 
  259. a warning message and asking whether to print the page up to that position. 
  260. 2. The application !LazyCodes makes a window (similar to the system one !chars), which
  261. allows easy entry of these control characters into a text file being edited by clicking
  262. over icons. (Only for registered users)
  263. 3. If you are using !SrcEdit as your text editor you should not have any text selected
  264. when trying to add the ‘skip to next page’ code [0c], because this causes an error message
  265. ‘No file found to match selection’ and does not add the [0c].
  266. 4. Some of the ‘control codes’ with the top bit set (ASCII 128 to 159) are printed using the
  267. Acorn defined conventions. These are:
  268.       
  269. ASCII:   140 141 143 144 145 148 149 150 151 152 153 154 155 156 157
  270. symbol:   …   ™   •   ‘   ’   “   ”   „   –   —   −   Œ   œ   †   ‡  fi   fl
  271.  
  272. All the others in this set (of 128 to 159) are printed as a space. 
  273. These characters can easily be entered into a file using !chars in the standard way.
  274.  
  275. Try printing file ‘examples.Chars128’ to see how your printer handles them.
  276.  
  277.   __________________________________________________________________________
  278.  
  279.  
  280.           Reference - on Printing Graphic files
  281.  
  282.    Dropping a graphic file (a Draw file or a Sprite) on to the icon bar icon opens a
  283. window showing how !LazyPrint transfers the graphic area to paper. 
  284. The window has several parts:
  285.     1 -  a large rectangle representing the printable area of the paper 
  286.     2 -  a set of icons enclosed in a box for page layout options 
  287.     3 -  a set of icons for image rendering
  288.  
  289. Positioning the graphic on the page
  290. The printable ‘paper’ area is shown as a large grey rectangle, surrounded by a  white 
  291. border, with tick marks every cm. The  0 shows the origin is at the lower left corner.
  292. !LazyPrint selects the best orientation of the paper depending on whether the width or
  293. height is bigger, and by default, scales the size to make the graphic just fit into the
  294. paper. You can change the orientation by clicking on an icon inside the Page Layout area;
  295. when you are looking at a portrait orientation rectangle the icon contains the word
  296. landscape, when the rectangle is in landscape orientation, it changes to portrait.
  297.  
  298. The image position is shown by a black outline box on the grey printable area of the
  299. white paper.   The image always keeps its original aspect ratio. While the icon unscaled
  300. is not selected, the image remains inside the grey area and its size and position on the
  301. paper can be changed. Move the outline box by dragging a point in the middle. Change its
  302. size by dragging any corner; the two sides adjacent to the corner change to red while you
  303. drag the corner. Selecting  unscaled allows you to print the graphic at its natural size
  304. and position on the paper, or if it is a large picture, you can drag part of it outside
  305. the printable area of the paper and print  separate parts and then stick them together.
  306.  
  307. Other Page Layout Parameters
  308. As with text files the output can be sent directly to the printer or to a file and
  309. the paper be fed automatically from the hopper or manually.
  310. Select the number of copies (1 to 9) either by typing into the box or by clicking on
  311. the ‘up’ and ‘down’ icons.
  312. The current paper size is shown in the box, click menu over the size to see the other
  313. possible paper sizes defined for your printer in the file ‘Pagelist’ (see later)
  314.  
  315. Rendering
  316. Icons in this box govern how sprites are printed; by default colours are printed as grey levels.
  317. Only select the colour icon if you want to print graphics or text on a colour printer.
  318.  
  319. Select the icon black text to print all text in black regardless of its colour in the Draw file.
  320. This parameter has no effect on text in a Sprite, whether inside a Draw file or being printed 
  321. by itself.
  322.  
  323. Laser printers make grey levels (and represent colours) by printing different sized dots
  324. at different densities. Click on the icon half tone to vary these sizes to get the
  325. best appearance of grey shades on your printer. 
  326.    
  327. The menu allows you to:
  328.  
  329. 1) set the number of dots/inch available on your printer (do not use a higher value than 
  330. that available on your printer; the default supplied is 300dpi; a lower one can be used 
  331. to speed up the printing for a draft copy but it makes a coarser rendering),
  332.  
  333. 2) set the size of the half-toning blobs. The larger the blobs the more levels in the
  334. grey-scale can be represented but the coarser the rendering. 
  335. Moving over the arrows in the blobs menu shows you the characteristics of the rendering.
  336.  
  337. Finally, click OK to print the file or Cancel to abandon the printing.
  338.  
  339. Notes:
  340.  1) The HP-GL/2 language defines only eight shading patterns for grey-level area filling.
  341. Filled Areas in Draw files can only use these 8 grey levels. Sprites are printed differently 
  342. and can have many more than 8 levels. Print the Draw file ‘Shades’ to see the problem.
  343.  
  344.  2) Dashed lines are printed with end-caps only at the beginning and end of the line,
  345. not at the end of each dash as is done by !Draw and the printer drivers.
  346.  
  347.  3) Text in Draw files is rendered by choosing a printer resident font which looks similar to
  348. the RISC-OS font. The correspondences defined in the ‘FontList’ file (described later) are
  349. reasonably accurate. When Arial is printed where there is Homerton in the Draw file, both 
  350. letters and spacing look similar to that in the Draw file. Unfortunately some printers do not 
  351. have Arial; Univers should be used instead. Although the Univers letter shapes are 
  352. similar to those in Homerton, spaces are much wider; this may cause problems.
  353.   
  354.  4) Text in Draw files is printed using HP-GL/2, which prints much more slowly than text 
  355. printed using PCL. Draw files containing large amounts of text will print more slowly than
  356. a page with a similar amount of text in a text file.
  357.  
  358.  5) Higher resolution laser printers, for example 600 bpi, or colour inkjets may appear to
  359. lose very thin white lines printed over a coloured or black area. This is because the toner
  360. or ink tends to spread a little, and it may be  enough to obscure a very thin line. If you
  361. find this, try running the utility ‘ThickLine’ on your Draw file as described later. 
  362.  
  363. Printing of colour in graphic files.
  364.  
  365. Colours are translated to grey-levels using the NTSC video standard translation for
  366. black-and-white printers:
  367.           grey = 0.3*red + 0.59*green + 0.11*blue
  368. with ‘grey’ in the range [0:1] which is then printed with half-tone dots.
  369.  
  370. Select the ‘colour’ icon to print in colour when using a colour printer.
  371.    Do NOT select it when using a black-and-white printer.
  372.  
  373. Coloured text can be hard to read when rendered by shading on a black-and-white
  374. printer; force all text to print in black by clicking on the Black text icon.
  375. You can also print all text in black on colour printers by selecting this icon
  376.  
  377. Sprite rendering.
  378.  
  379. Sprites must be aligned with the axes of the paper. This means that rotations of 90,
  380. 180 and 270 degrees, reflections and magnifications of a Sprite are understood. Any other
  381. rotations will be rejected. Sprite masks are ignored by !LazyPrint.
  382.  
  383. !LazyPrint was designed to print text and Draw files quickly, printing large Sprites is time
  384. consuming and not recommended but it can be convenient to print small ones, for example
  385. ones which show a company Logo in a letterhead. 
  386.  
  387.  
  388. Printing Disk Labels
  389.  
  390. 3.5" disk labels can be printed either as text, using the layout ‘DiskLabels’, as in
  391. the text file supplied ‘MyDisks’, or as mixed text and graphics using Draw files. The file  
  392. ‘docs.DiskGrid’ contains a grid drawn with red lines designed as a template for use with
  393. Avery labels (type L7664). When designing a new set of Disk Labels to be printed as a
  394. Draw file, start by copying ‘DiskGrid’ to your new file, then design your label to fit into one
  395. of the larger boxes. The dotted line marks the position of the edge of the disk, the smaller
  396. rectangle is the part of the label on the back of the disk. Remember if you print on this 
  397. part you may want the text to be rotated by 180 degrees. When your label is complete,
  398. group the parts of the design together and copy to the rest of the positions in the grid. 
  399. Lastly erase the red grid and print your labels using the ‘unscaled’ option in the 
  400. Draw file rendering window, 
  401.  
  402.    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  403.  
  404.  
  405.                                   Printing Sprite files
  406.  
  407.    This is the same as printing Draw files except that if the Sprite file contains more
  408. than one Sprite you will first be asked to select the one you want to print.
  409.  
  410.     ‘Black text’  has no effect on text rendering in Sprites.
  411.   __________________________________________________________________________
  412.  
  413.  
  414.                               Definition files in the application
  415.  
  416. Three printer dependent files ‘Choices’, ‘Fontlist’, and ‘Pagelist’ are provided to tell
  417. !LazyPrint the characteristics of your printer and how to set the default values of 
  418. the layout parameters.    
  419.  
  420. File 1  ‘Choices’
  421.  
  422. This contains a line of configuration information written by the application, 
  423. followed by pairs of lines defining up to 12 different Layouts. You can change it with an 
  424. editor but it is much easier to let !LazyPrint do it via the ‘Save Choices’ option
  425. in the icon bar menu.
  426.  
  427. The layouts supplied are ‘DiskLabels’, ‘Env. D/L’, ‘Labels 7x3’, ‘Letter’, ‘Line printer’, 
  428.  ‘Listing132’ and ‘Manual’.
  429.  
  430. ‘DiskLabels’ uses Univers font to print text on labels for 3.5" floppy disks on special 
  431.          stationery with 4 labels in each of 2 columns on an A4 sized page. 
  432.         (Avery type L7664) The labels are 2.75" wide  and 2.83" high. 
  433.         17 lines are printed per label. The example text  file ‘MyDisks’ was 
  434.        used with  this layout, which expects you to feed the labels pages manually.
  435.      Labels can also be printed from Draw files as described earlier.
  436.  
  437. ‘Env. D/L’  is for printing addresses on D/L envelopes (the sort often used
  438.                for A4 paper folded into three). The standard font is Arial 12 point 
  439.                with the alternate font being the same but bold, and used for emphasis
  440.                words, usually town names, which are all in upper case letters.
  441.  
  442. ‘Labels 7x3’ uses the Univers font in point size 12 to print address labels
  443.                on special stationery with 7 labels in each of 3 columns on an A4 sized  
  444.                 page (Avery type L7160). The labels are 2.5" wide and 1.5" high, with 9 lines
  445.                 per label. The example text file ‘Mylabels’ was used with this layout,
  446.                 which expects you to feed the labels pages manually.
  447.                 To adapt this layout for labels with a different number of lines per label
  448.                  you change the lines per inch, the margins and the number of columns 
  449.                until you get the  layout you want on your new labels; there is no way
  450.                to set the  number of lines per label.
  451.  
  452. ‘Letter’  uses ‘Times’ font in 12 pt to print a simple letter with TAB characters 
  453.               to space out the address lines . An example letter is in the file ‘Myletter’. 
  454.               The alternate font 2 is Italic, font 3 is Bold, font 4 is ‘Marigold’
  455.  
  456. ‘Line Printer’ is intended for making a compact listing of a program source
  457.                     using the ‘lineprinter’ font, which is a fixed size. This prints short lines, 
  458.                     of about 80 characters per line, in landscape orientation, with 2 columns 
  459.                     of text per page and a page number and header consisting of the full 
  460.                     directory  name of the file printed in 10pt Bold Letter Gothic.
  461.  
  462. ‘Listing 132’  prints files with lines with up to 132 characters in portrait
  463.                    orientation with one column of text per page using the ‘Lineprinter’
  464.                    font, and a similar header line to that printed by ‘Line printer’. 
  465.                    If you ask for ‘2-sided’, it stops every other page and expects you to feed 
  466.                    the page it has just printed back in again.
  467.  
  468. ‘Manual’   used for printing out this manual, prints lines using the Arial font, 
  469.                      which approximates to the Acorn Homerton one, it has page numbers
  470.               at the bottom of the page. 52 lines per page, with spacing 5 lines per inch.
  471.               It is printed ‘2-sided’, so stops every other page to allow you to feed back 
  472.              into  the printer the page which has just come out so that it can be printed 
  473.             on the other side.
  474.             Hint:  If you want to make text files using !Edit for this layout try setting
  475.             the display  font to Homerton, point size 12, and both the Edit and display 
  476.            lengths to 90 characters.
  477.    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  478.  
  479. File 2  ‘FontList.’
  480.  
  481. !LazyPrint does not interrogate the printer to find out which hardware fonts are present. 
  482. Instead it uses the file ‘FontList’, which is in two parts, each with a maximum of 20 lines, 
  483. terminated by a blank line. The first part is a list of all the available HP hardware fonts,
  484. one line per font, the second the translation of Acorn to HP fonts used for Draw file printing. 
  485. Only 3 translations are in the supplied ‘Fontlist’ file: 
  486.     Homerton (to Arial), 
  487.     Trinity (to Times New Roman) 
  488.     Corpus (to Courier).
  489. These translations are reasonably accurate but you might want to add others for your
  490. own favourite Draw font. This part terminates either with a blank line or the end-of-file.
  491.  
  492. Compare the list in the file ‘FontList’ with that printed on your printer test page, edit out
  493. any which are not in your printer, and add any extra ones you may have.
  494. Warning: the layouts set up in the ‘Choices’ file expect fonts to be listed in a 
  495. fixed order. Additional ones should be added at the end of the list. Check that all the 
  496. stored layouts in the ‘Choices’ file have the correct font with your edited file ‘FontList’.
  497.  
  498. The supplied ‘FontList is:
  499. 
  500. Font name       HP code  type allowed
  501. Albertus           4362  1B 1
  502. Antique Olive      4168  1BI 
  503. Clarendon          4140  1  2
  504. Coronet            4116  1  7
  505. Courier            4099  0BI 
  506. Garamond Antiqua   4197  1BI 
  507. Letter Gothic      4102  0BI3
  508. LinePrinter           0  0  4
  509. Marigold           4297  1   
  510. CG Omega           4113  1BI 
  511. CG Times           4101  1BI 
  512. Univers            4148  1BIC
  513. Arial             16602  1BI 
  514. Times New Roman   16901  1BI 
  515. Symbol            16668  1  5
  516. Wingdings         31402  1  6
  517.  
  518. Homerton  0.705  1.0    Arial
  519. Trinity   0.709  0.965  Times New Roman
  520. Corpus    0.713  0.967  Courier
  521.  
  522. Format of each line of the first part
  523. 1)  The first 16 characters give the font name as seen in the Font selection window
  524. 2)  The next 7 characters are the typeface command
  525.      (as given in the 3rd column in table D-6 in the HP users manual)
  526. 3)  Two blanks (ignored but necessary)
  527. 4)  4 Characters defining:
  528.          0 or 1 for mono- or proportional spacing
  529.           B for bold is allowed
  530.           I for italic is allowed
  531.           C for condensed is allowed or 
  532.                one of the following special flags in the 4th place:
  533.                1 (Albertus has 1 extra added to the boldness i.e 1/4, not 0/3)
  534.                2 (Clarendon is only condensed)
  535.                3 (Letter Gothic is not allowed bold and italic)
  536.                4 (LinePrinter is fixed pitch, 16.67 and height, 8.5)
  537.                5 (Symbol needs 19M symbol set)
  538.                6 (Wingdings needs 579L symbol set)
  539.                7 (Coronet has only an italic font)
  540.  
  541. Format of each line of the second part
  542. This has the primary Acorn font name (without the ‘oblique’ or ‘bold’)
  543. Font names must be a maximum of 12 characters, followed (after at least one blank)
  544. by a width scale-factor, a height scale-factor and then the corresponding HP font name.
  545. The scale-factors scale the size of the Acorn font to that of the HP font.
  546.    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  547.  
  548. File 3 ‘PageList.’  (introduced in version 2.13)
  549.  
  550. This lists up to 12 paper sizes for your printer,  one line per size. The file itself also 
  551. contains this explanation of the format. The distributed list has all the paper sizes 
  552. allowed for the HP 4P printer. You may want to edit this file to add or subtract entries.
  553. Warning: the layouts set up in the ‘Choices’ file expect page sizes to be listed 
  554. in a fixed order. Additional ones should be added at the end of the list. Check that all the 
  555. stored layouts in the ‘Choices’ file have the correct page size with your edited file ‘PageList’.
  556.  
  557. Each line contains the name of the paper size and its description for the printer.
  558. It begins with  exactly 12 characters for the name of the paper size (shown in the menu),
  559. followed by the fields describing the format separated from each other by 1 or more blanks.
  560.    The fields are:
  561.        the PCL code,  (defined in Table D1 of the LaserJet Users Manual) 
  562.        width & height of the paper in mm
  563.        the unprintable margin size for portrait orientation left & right in mm.
  564.        the unprintable margin size for landscape orientation left & right in mm.
  565. There must be a blank line at the end.
  566.  
  567. Here is the supplied ‘PageList’:
  568. 
  569. Page Name   Code  Width  Height  Unprintable margins 
  570. A4           26 210.0 296.9 4.2 4.2 8.1 6.5
  571. Letter        2 215.9 279.4 4.2 4.2 8.4 6.6
  572. Legal         3 215.9 355.6 4.2 4.2 8.4 6.6
  573. Executive     1 184.1 266.7 4.2 4.2 8.4 6.6
  574. Monarch      80  98.4 190.5 4.2 4.2 8.4 6.6
  575. Com-10       81 104.7 241.3 4.2 4.2 8.4 6.6
  576. Int. C5      91 162.0 228.9 4.2 4.2 8.1 6.5
  577. Int. B5     100 175.9 249.9 4.2 4.2 8.1 6.5
  578. Int. DL      90 110.0 220.0 4.2 4.2 8.1 6.5
  579.  
  580.  
  581. Here are three bigger page formats you may want: 
  582. (defined in PCL but not useful for LaserJet 4P)
  583. 
  584. Ledger         6 279.4 431.8 4.2 4.2 8.4 6.6
  585. A3            27 296.9 419.9 4.2 4.2 8.1 6.5 
  586. Custom       101 215.9 355.6 4.2 4.2 8.4 6.6
  587. 
  588.   __________________________________________________________________________
  589.  
  590.  
  591.                                                                         Utilities
  592.  
  593. There are three utilities within the !LazyPrint application itself   ‘LPPrint’, 
  594. ‘CSV2Labels’,  and  ‘Thickline’  and another application !LazyCodes.
  595.  
  596. LPPrint
  597.  
  598. This utility sends a ‘Printout’ file (file type FF4, made by !LazyPrint) to the printer.
  599. Make sure that the !Lazyprint application has been seen by the filer, 
  600. then double click on the ‘Printout’ file to print it.
  601.  
  602. Note: this is the only utility provided as shareware.
  603.    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  604.   
  605. Converting a CSV file to labels for printing with  ‘CSV2Labels’
  606.  
  607. To print labels requires the text file to be in exactly the correct format with a fixed
  608. number of lines per label and a maximum width to avoid printing over label gaps.
  609.  
  610. The program ‘CSV2Labels’ takes a file with, for example, names and addresses, where each
  611. part of the entry is separated by commas and the entries are separated with a newline. 
  612. The entries may be enclosed in quotes thus allowing commas inside them. This is ‘Comma
  613. Separated Variables’ format, which can be exported from most database programs. 
  614. Here are a few example lines:
  615.  
  616. "A.N.Other","","123 4th Street","","Anytown","County, CT99 A12"
  617. "E.T.Cetera","Nonentity","High Street","Village","Town","County, XY7 X89"
  618.  
  619. In these two examples the parts of the entries were set up expecting a name and 5 parts to
  620. the address. All 6 parts need not be used; some are left blank (either as two adjacent
  621. commas or a pair of quotes with nothing in between). These blank fields are ignored, they
  622. are not printed as a blank line, which would look strange in the middle of an address.
  623.  
  624. To run the program, simply double-click on your CSV file (which must be of type DFE). 
  625. Two little windows appear; in the top one enter the number of lines per label and the 
  626. maximum number of characters per line. The second is a standard ‘Save as:’ window 
  627. for saving the output text file. If you want to print this same set of labels frequently it may
  628. be worth saving them to a file instead of sending them directly to the printer.
  629.  
  630. Print this text file using !LazyPrint in the usual way with a suitable layout.
  631.    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  632.  
  633. ThickLine
  634.  
  635. When you print Draw Files containing thin white lines on a dark background on a high
  636. resolution printer, you may find that the thinnest lines are lost due to spreading of the
  637. ink or toner.   ‘ThickLine’ allows you to increase the thickness of the thinner lines in a
  638. Draw file. It is not a Desktop program; it is written in BASIC, and can be run however you
  639. prefer. I usually set up a Task Window, by clicking menu over the rightmost icon on the
  640. icon bar, then typing ‘Thickline’ followed by, for example: * dir $.Utils to get into the
  641. Utils directory where my Draw file is found. Then enter the name, for example ‘Thinboxes’.
  642. There is a short pause while the program looks at the file, then it tells you the line
  643. width of the two thinnest lines in Draw units and asks you what width you want for the
  644. thinnest, and the filename for output.  Print the output file with !Lazyprint in the usual way.
  645.             
  646.       1 Draw unit =1/(180x256) inches or 1/640 of a printer’s point.
  647.    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  648.  
  649. Application !LazyCodes (supplied with version numbers above 2.37)
  650.  
  651. First either copy the !LazyCodes application to a filer window in a directory of your hard
  652. disk, or double click on it to open a small window containing a list of the !Lazyprint
  653. control codes used in printing text files, (described earlier in the earlier section 
  654. Control codes in text )
  655.  
  656. Each line of the list in the window has 3 entries:
  657.    - an icon containing the value of the code
  658.    - the keys to use to enter that code from the keyboard
  659.    - a description of the action of the code.
  660.  
  661. The window is used in a similar way to the !Chars application usually provided by the 
  662. RISC OS system in Apps. When editing text using !Edit, or a similar editor, place the
  663. cursor at the position where you want the control code to be entered, then move the cursor
  664. into the !LazyCodes window and click on the icon of the desired code, which will be copied
  665. to the open window of the file you are editing.   
  666.  
  667. To quit !LazyCodes use the ‘Close’ icon on the window.
  668.   __________________________________________________________________________
  669.  
  670.  
  671.                                 Comments
  672.  
  673. 1.Conflict with Turbo Drivers 
  674.                  
  675. To use !LazyPrint with the Computer Concepts Turbo driver cable, first double-click on your:
  676.     !System.!CCShared.!PrintQFS
  677. to neutralize the effect of the cable before attempting to print anything.
  678.  
  679. 2.Conflict with Printer  Drivers 
  680. Although !LazyPrint will happily sit on the icon bar as well as other printer applications
  681. such as !Printers, you should not try to print using !Lazyprint while the other
  682. application is  busy sending a file to the printer. 
  683.   
  684. 3. HP printer/plotter Models tested 
  685. !LazyPrint has only been well tested on a Hewlett Packard LaserJet 4P, it should work on
  686. any model 4 type HP printer though the ‘Fontlist’ file will have to be changed for a 4PJ
  687. or 4L model which do not support all the fonts. Users have reported it works well on HP4L,
  688. HP5L, HP540, HP560C, HP1600C.
  689.  
  690. 2. Acorn RISC OS versions tested 
  691. Mostly RISCOS 3.1x to 3.7 (StrongARM). Probably will work with RISC OS 2, but not tested.
  692.    __________________________________________________________________________
  693.  
  694.  
  695.                                Reporting Faults 
  696.  
  697. I have yet to write a program which is completely perfect and bug free. If you find a 
  698. problem, please complete the information in the file ‘FaultRep’ and send it to me either 
  699. via e-mail or on a disk with the file you were trying to print. If you want a reply you must be
  700. a registered user (Read ReadMe).
  701.  
  702. Please contact me if you want more facilities in !LazyPrint; the current application mostly
  703. contains the features I needed, there may be others you want which are not hard to provide
  704. but I just did not happen to think of them.
  705.   __________________________________________________________________________
  706.  
  707.      Address for Correspondence 
  708.  
  709.    D.J.Crennell, ‘Fortran Friends’, P.O.Box 64, Didcot, Oxon OX11 0TH.
  710.  
  711.       E-mail: CRENNELL@V2.RL.AC.UK
  712.  
  713.  To register, please send a cheque for £10 sterling, payable to ‘D.J.Crennell’, 
  714. to the address above
  715.   __________________________________________________________________________
  716.  
  717.  
  718.