home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / c / cfsiscale / !CFSIscale / !HelpFile / HelpFile < prev    next >
Text File  |  1993-08-21  |  11KB  |  217 lines

  1. !CFSIscale
  2.  
  3.        With thanks to Data Store for their 'on-line help' code
  4.  
  5.  Help on the use of !CFSIscale v.1.30 - © M R Davies - December 1992
  6.  ===================================================================
  7.  
  8.   1. Introduction
  9.   ===============
  10.  
  11.   In order to obtain the best results when printing images from the
  12. screen, and bit-images (Sprites) in particular, it is important that
  13. as much information as possible is preserved from the original image
  14. within the image to be sent to the printer and that its x-y pixel
  15. resolution should match that of the printer to be used, on a 1:1
  16. basis, - taking into account the final desired size of the printed
  17. image.
  18.  
  19.   Since many images to be sent to a printer will be of a different
  20. size and/or aspect ratio to the original and with varying x-y pixel
  21. counts, the need for accurate scaling prior to printing is
  22. essential.
  23.  
  24.   If less than optimal scaling is used then there is a risk that
  25. information will be lost and/or that interference patterns may be
  26. introduced - especially when dealing with scanned and digitised
  27. images. The printer should not have to do any scaling on its own
  28. account for optimal results and this is especially evident when
  29. attempting to get the best results from colour printers such as the
  30. HP500C or PaintJet.
  31.  
  32.   The notes accompanying Acorn's "!ChangeFSI" cover these points as,
  33. in more detail, do those recently released with the updated RISC-OS
  34. 3.xx Printer Drivers covering the use of "!ChangeFSI". An extract
  35. from the latter ( © Acorn ) is appended to these brief Help notes.
  36.  
  37.   Whilst the calculation of the appropriate factors to be
  38. incorporated in "!ChangeFSI" is a straightforward mathematical
  39. exercise, it is a tedious one to have to perform each time a new
  40. sprite or print size etc. is required. With this in mind, this small
  41. application was developed to enable any values for printer x + y
  42. resolutions, together with a required print width, height or both
  43. width and height, to be used to quickly calculate the scaling
  44. factors required by ChangeFSI.
  45.  
  46.   It should be noted incidentally that the example calculation used
  47. in the Acorn notes, referred to above, could be misleading since it
  48. does not reproduce the input sprite's aspect ratio in the calculated
  49. printout. This corresponds to choosing values (possibly without
  50. regard to the sprite's aspect ratio) for both width AND height in
  51. "!CFSIscale" rather than just width OR height which will preserve
  52. the original aspect ratio of the input sprite in the printout and
  53. might be the more usual printing requirement.
  54.  
  55.   2. Operation of "!CFSIscale"
  56.   ============================
  57.  
  58.   1.  Double click on the application to mount on the icon bar in
  59.   the usual way.
  60.  
  61.   2.  A standard info box opens on clicking MENU over the icon bar
  62.   and contains the usual Info, Help (this file) and Quit options.
  63.  
  64.   3.  Click SELECT over the icon bar to open the "!CFSIscale"
  65.   window. This can be moved, sent to the back or front or closed in
  66.   the normal way.
  67.  
  68.   4.  Click SELECT over (a) the desired printer resolution (300x300
  69.   dpi is the default): (b) the desired final print dimension(s) to be
  70.   entered - Width only, Height only or both Width + Height ("Width
  71.   only" is the default) - and: (c) the desired units (inches or cms).
  72.   Any other boxes will then be de-selected.
  73.  
  74.   5.  Enter + <RETURN> the desired printer resolutions (if "Other"
  75.   has been selected) followed by the required final print dimension(s)
  76.   in inches/cms + <RETURN> and the input sprite's X- and Y- pixels +
  77.   <RETURN>. The "CALC" box may also be clicked at any time.
  78.  
  79.   6.  Values to be entered in "!ChangeFSI"'s scaling boxes will then
  80.   be calculated. These can be picked up from "!CFSIscale" and
  81.   transferred to "!ChangeFSI" using a utility such as !Transfer from
  82.   Apricote Studios or entered by hand. Input variables and printer
  83.   resolutions may be changed at any time and succesive strokes of
  84.   <RETURN> or a click on the "CALC" box will re-calculate the new
  85.   scaling factors.
  86.  
  87.   7.  The cursor may be moved around the window's boxes in a
  88.   sensible fashion by the use of the cursor keys as well as the mouse
  89.   pointer and most "silly" entries will throw up an error and ask for
  90.   new values to be re-entered.
  91.  
  92.   N.B.  Do not forget that images from both !Paint and !Draw print
  93.   out at 90 dpi from the screen. Printing scales for X- and Y- axes
  94.   should therefore be adjusted by a ratio of 90 : X- or Y- printer dpi
  95.   in !Paint, or scaled within !Draw by the appropriate factor(s),
  96.   before printing. If this is not done the resultant printout will be
  97.   of the wrong size!
  98.   Example : If printer resolution is 300x300 dpi then scaling in
  99.   !Paint's print box is 90:300 and the scaling or "magnification"
  100.   factor for the image in !Draw, before printing, is 0.30 (90/300 =
  101.   0.30).
  102.  
  103.   3. Extract from Acorn's release notes with RISC-OS 3.xx !Printers
  104.   =================================================================
  105.  
  106.  " Using !ChangeFSI for colour bit image printouts.
  107.    ------------------------------------------------
  108.   The colour matching of the printer drivers is not always quite what
  109. it could be, and how good it is varies depending on the image being
  110. printed. If you are printing bit images (ie. sprites) to colour dot
  111. matrix pinters, an alternative is to use !ChangeFSI on the Support
  112. disc. This tends to give better colour matching (it is certainly
  113. different and vision is very subjective) and it gives you more
  114. control. Doing this requires care to ensure that !ChangeFSI and the
  115. printer drivers do not fight with each other. It also requires lots
  116. of memory for large images eg. you will need 8MB of memory to print
  117. full A4 at 360 by 360 DPI, and to print full size A3 at 360 by 360
  118. DPI 16MB of memory is just about enough. Obviously lower resolutions
  119. and smaller output sizes will take less memory eg. 180 by 180 DPI
  120. full size A4 can be printed on a 2MB system and 180 by 180 DPI full
  121. size A3 can be printed on a 4MB system. Halving the resolution
  122. divides the amount of memory needed by four.
  123.  
  124.   There are two very important steps. The first is to set the "Output"
  125. window of !ChangeFSI to "Mode" 27 (or 31 ie. 4 bits per pixel,
  126. square pixels), "Use current mode" off, "Ignore pixel aspect" off,
  127. and select "Special:" and enter "D" in the special box. For the
  128. technically minded this tells !ChangeFSI to produce output in terms
  129. of 1 bit of each of red, green and blue ie. saturated colours. There
  130. is an exact mapping from this to the CMYK (Cyan, Magenta, Yellow and
  131. Key black) colour space used by the printer drivers and hence they
  132. can accurately print the output from !ChangeFSI.
  133.  
  134.   The other important step is to get the output from !ChangeFSI to be
  135. exactly the pixels that will be printed on the paper, so that the
  136. printer drivers do no scaling. You will use !Paint to print the
  137. output from !ChangeFSI, and in !Paint there are 90 dots to the inch
  138. (90 DPI). So for example if you are printing to a 9 pin colour
  139. ribbon printer at 120 by 72 DPI, you need to set the "Scale x" to
  140. 90:120 and the "Scale y" to 90:72 in the !Paint print dialogue box.
  141. For a 24 pin printer at 180 by 180 DPI it would be 90:180 and
  142. 90:180, and for the Canon BJC-800 bubblejet printer at 360 by 360
  143. DPI it would be 90:360 and 90:360. Obviously to be able to do this
  144. the image needs to have been scaled correctly in !ChangeFSI
  145. otherwise it will be the wrong size, and will be distorted on a 9
  146. pin printer.
  147.  
  148.   To get the scaling correct in !ChangeFSI, you need to look at how
  149. big in pixels your source image is, work out how many printer pixels
  150. you want to turn that into, and scale it appropriately. It is worth
  151. scaling something up in size, particularly if there are a lot of
  152. colours in the original (eg. a 24 bit master) as this will give
  153. !ChangeFSI more pixels to play with in the error diffusion and hence
  154. the colour matching will be better. For example you have a 24 bit
  155. master image which is 1384 by 1760 pixels in size. You are going to
  156. print this on A4 paper to a 9 pin printer at 120 by 72 DPI. A4 is
  157. 8.269 by 11.694 inches. To cater for the fact that the printer can't
  158. print to edges of the paper, knock 10% off which gives 7.517 by
  159. 10.631 inches. Multiplying those sizes by the 120 by