home *** CD-ROM | disk | FTP | other *** search
/ Old Hackers Atari User Group Newsletter / Old_Hackers_Atari_User_Group_Newsletter_OHJFM00A.atr / hdocprnt.txt < prev    next >
Text File  |  2023-02-26  |  2KB  |  1 lines

  1.          Documentation Printer¢             by Ron Fetzer¢¢      Have  you  ever  tried  to print¢ documentation that looks good on  the¢ screen  in  40 column format but is a¢ mess when you print it out. The  text¢ is  all on the left side of the paper¢ and it is printed  as  one  continous¢ section.  When   you   separate   the¢ sheets,  sometimes  half a line is on¢ each sheet. Even worse at times there¢ are  no  provisions made for printing¢ the documentation at all.¢¢      This short  program  will  print¢ any  documentation   file   that   is¢ printed    to    a    disk   with   a¢ wordprocessor. It will put in top and¢ bottom  margins  and page numbers. It¢ will center the 40 column text so  it¢ is in the middle of the page. It will¢ work on any printer.¢¢       You   can   also    read    any¢ documentation  on  the  screen.  When¢ viewing  a  documentation  the screen¢ shows you about 18 lines of  text  at¢ one  time.  To  scroll  to  the  next¢ screen  you   press  any  key. In the¢ screen mode  the  program  opens  the¢ file  in  line  240.  In  line 250 it¢ counts how many times the  buffer  is¢ accessed.  If  is is 18 times then it¢ goes to the scroll  routine  in  line¢ 470.¢¢      The print section starts on line¢ 350. It counts  how  many  times  the¢ print buffer is accessed. If it is 57¢ then it goes  to  the  page  printing¢ routine in line 490 and prints a page¢ number. The program  has  no  printer¢ control  codes  so  it will work with¢ any printer.¢¢      Most documentation files have an¢ extender  of  'DOC'  or  'TXT'.   The¢ program    cannot   read   a   normal¢ wordprocessor file. If  you  want  to¢ make  this a selfbooting program then¢ save it with the filename 'MENU'  and¢ copy  the 'AUTORUN.SYS' file from any¢ Antic Monthly Disk.¢      Please hit  the  RESET  key  and¢ type in RUN "D:DOCPRINT.BAS"¢¢ >>>>>>>>>>>>>>>>END<<<<<<<<<<<<<<<<<<¢¢¢