home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / zsus / z3help / b.lbr / BPRINTER.HZP / BPRINTER.HLP
Encoding:
Text File  |  1991-11-18  |  4.0 KB  |  87 lines

  1. ;
  2.                                BPRINTER.COM                                   
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5. BPRINT.COM      k (  )         4.0        Joe Wright 5/89          Z3COM 
  6. BPRINTER.REL    k (  )         4.0        Joe Wright 5/89          Z3COM
  7.  
  8.   1- Syntax  2- System Requirements  3- How BPRINTer Works  4- Notes          
  9.  
  10.  
  11.    BPRINTer (Background Printer) is a New Z-System IOP which allows printing a
  12. particular  file  as a 'background' task while running an application  program
  13. in  the 'foreground'.   Any ASCII or print-formatted file may be sent  to  the
  14. LIST  device.   Printing takes place without interference with any  subsequent
  15. program.
  16. :1
  17.  Syntax 
  18.  
  19.    BPRINTer consists of two files, BPRINT.COM control and loader  program  and
  20. BPRINTER.REL,  the  IOP.  If BPRINT is invoked for  anything  except  specific
  21. Help  (BPRINT //), it checks to see if BPRINTER is  already loaded as  an  IOP
  22. and,  if  not, closes the current IOP,  loads BPRINTER.REL  and  executes  the
  23. command.  There are four commands associated with BPRINTer:
  24.  
  25.                          BPRINT ON [DIR:][FILE.TYP]
  26.  
  27. Start  background printing.  The default Printer file is PRINTER.FIL  in  the 
  28. current  directory.   BPRINT ON may select another directory  and/or  another 
  29. file  to be sent to the printer.  The file is sent verbatim.  While  BPRINTER 
  30. is  printing,  any  application output to the LIST device  is  lost.   Typing 
  31. Cntrl-P will suspend BPRINTer and allow normal LIST output to the printer.  A 
  32. subsequent Cntrl-P will cause BPRINTer to resume printing.
  33.  
  34.                                  BPRINT OFF
  35.  
  36. Stop printing and close the Print file.  A subsequent BPRINT ON will  re-open 
  37. the print file and start again from the top.
  38.  
  39.  
  40.                                   BPRINT D
  41.  
  42. Set the default Printer file to PRINTER.FIL in the current directory.
  43.  
  44.  
  45.                                   BPRINT F
  46.  
  47. Report the filespec, DIR:FILE.TYP, for the currently defined Print file.
  48. :2
  49.  System Requirements 
  50.  
  51.    BPRINTer requires a Z80 based Z-System (ZRDOS or ZSDOS) with  at least 1.5k
  52. IOP  space  declared.   The code section of  BPRINTER requires  seven  of  the
  53. twelve  records of the standard IOP.   The remaining five records are used  as
  54. the  Printer  buffer.   In fact, the printer buffer is  dynamically  sized  by
  55. BPRINTER  and  if  you declare an IOP larger than  1.5k,  the  printer  buffer
  56. becomes that much larger,  and therefore requires fewer disk accesses to  read
  57. in a particular file.
  58. :3
  59.  How BPRINTer Works 
  60.  
  61.    BPRINTer  is  a  New  Z-System  IOP  (Input/Output  Processor).   It  traps
  62. virtually all calls to BIOS and BDOS.   When  first  turned ON,  it  opens the
  63. selected Print file,  checks  LISTST and if the printer is ready,  reads char-
  64. acters from the selected file and  sends  them to  the  printer  until  LISTST
  65. shows the printer to be busy (printing).  
  66.  
  67.    While the printer is busy, these calls are passed to the BIOS.   When  the
  68. printer  is  once again free, characters are sent to it until  it  goes  busy
  69. again.  Most printers have at least a 'line' buffer and will accept up to 132
  70. characters  at  a time or until a CR, LF or FF character  which  are  usually
  71. 'print' commands to the printer which cause it to go 'busy' again.
  72.  
  73.    Assuming a parallel printer interface,  most BIOS's can ship characters to
  74. the printer's buffer at  5,000 characters per second or faster.   This  means
  75. that  a 100-character line of  print  (between CR's) is  sent  to the printer
  76. within 200 milliseconds, so fast that the WordStar user perceives no delay at
  77. all between his/her keystrokes.
  78. :4
  79.  BPRINTER Notes 
  80.  
  81.    a. BPRINTer is available for $40.00 from
  82.    
  83.                           Alpha Systems Corporation
  84.                             711 Chatsworth Place
  85.                          San Jose, California 95128
  86.                                (408)-297-5594
  87.