home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 19 Printer / 19-Printer.zip / A4PRINT.ZIP / README.A4 < prev   
Text File  |  1990-09-27  |  3KB  |  64 lines

  1. A couple of programs to print things on a laser printer in such a
  2. way as to just about maximise the amount of stuff on an A4 page.
  3.  
  4.    ┌───────────────────────────────────────────────────────┐
  5.    │ In accordance with the principles of encouraging a    │
  6.    │ source-rich environment in OS/2 world like that which │
  7.    │ we enjoyed in CP/M days and which we lost with the    │
  8.    │ advent of the IBM PC and MSDOS, full source code is   │
  9.    │ provided so you can tailor these programs to suit     │
  10.    │ your own needs and preferences instead of being tied  │
  11.    │ to mine.                                              │
  12.    └───────────────────────────────────────────────────────┘
  13.  
  14. These programs were written for a Sharp JX-9300 which emulates an
  15. HP LaserJet II very closely.  To adapt the programs to other
  16. printers you'll need to change the various control strings which
  17. occur throughout each program and recompile.  (OK, I accept your
  18. rebuke, but these programs were never intended for distribution
  19. so the "quick and dirty" method was appropriate at the time!)
  20.  
  21. P1 is for printing fairly wide stuff on an A4 page in portrait
  22. mode.  P2 is for printing narrower stuff such as program listings
  23. in two columns in landscape mode.
  24.  
  25. Both programs use the internal 16.5 pitch line printer font at 9
  26. lines per inch.  On an A4 page P1 prints just over 90 lines of
  27. about 130 characters per page whereas P2 prints just over 120
  28. lines of about 80 chars.
  29.  
  30. If you use imperial paper sizes then you'll have to tweak the
  31. number of lines per page in each of the programs.  A4 paper is
  32. 210x297mm.  American "letter" paper is 8.5x11" which is slightly
  33. wider and shorter (216x279mm).
  34.  
  35. Nine lines per inch is a bit congested for normal text but it is
  36. OK for program listings provided that your programs are not all
  37. UPPER CASE.  Upper case lettering is visually violent anyway; in
  38. closely spaced text it will be just about unreadable.
  39.  
  40. Each program has a help screen which is invoked if you run the
  41. program with no parameters.  If you don't like the names (P1 and
  42. P2) then you can rename the .EXE files and the help screen will
  43. know about the new names.
  44.  
  45. As you will see from the help screens the programs allow for
  46. line numbering and for varying the tab interval.  If you want
  47. to use these programs to print their own listings then you
  48. should use a tab interval of 4 otherwise you'll have the text
  49. disappearing past the right margin; e.g.:
  50.  
  51.     p2 /4 p?.c
  52.  
  53. Each program behaves fairly sensibly with respect to form feeds
  54. embedded in the files being printed.
  55.  
  56. There is no copyright on these programs.  All I ask is that you
  57. do not distribute them in executable form alone.  I gave you the
  58. source code; please don't withhold it from anyone else.
  59.  
  60.      Jon Saxton
  61.      Sydney, NSW
  62.      Australia
  63.      September 1990.
  64.