home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #2 / RBBS_vol1_no2.iso / 009z / sidekick.tip < prev    next >
Text File  |  1984-11-12  |  2KB  |  58 lines

  1.  
  2.  
  3.  
  4.                                Sidekick Tip
  5.                                ------------
  6.  
  7.                                By Bill Todd
  8.  
  9.        As useful as it is, Borland International's Sidekick still has
  10.        some annoying problems.
  11.  
  12.        First, if you've ever hit Ctrl-Alt, expecting the Sidekick menu
  13.        to appear, and instead have been greeted by a strange chirping
  14.        sound, just strike the enter key and the menu will be displayed.
  15.  
  16.        Second, if you have ever tried to use the DOS print command
  17.        while Sidekick was resident in memory you have probably been
  18.        amazed at how slow your printer runs.  I have found the following
  19.        batch file, which I call PR.BAT, to be a reasonable substitute
  20.        for the DOS print command.
  21.  
  22.                               echo off
  23.                       :prntloop
  24.                               if %1*==* goto exit
  25.                               if not exist %1 goto nofile
  26.                               copy %1 prn: > nul:
  27.                               copy formfeed.dat prn: > nul:
  28.                       :nofile
  29.                               shift
  30.                               goto prntloop
  31.                       :exit
  32.                               echo on
  33.  
  34.        To print one or more files type PR FILENAME1 FILENAME2 FILENAME3
  35.        etc.  The number of files is limited only by the length of the
  36.        DOS command line which, I believe, is 128 bytes.
  37.  
  38.        Unlike the DOS print command, this batch file does not run in the
  39.        background so you must wait until the printing is done before
  40.        you can do anything else.
  41.  
  42.        In order for this batch file to work you must have the file
  43.        FORMFEED.DAT on the diskette with PR.BAT.  Create FORMFEED.DAT
  44.        with your favorite editor and put the single letter A in the file.
  45.        Then change the A to a formfeed character, hex 0C, using debug
  46.        as follows.
  47.  
  48.                      debug formfeed.dat
  49.                      - e 0100 0C
  50.                      - w
  51.                      Writing 0002 bytes
  52.                      - q
  53.  
  54.        This batch file has one other nice feature.  It does not use the
  55.        substantial amount of memory that the resident part of DOS Print
  56.        requires.
  57.  
  58.