home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / educatio / nabbit20.zip / NABBIT.DOC < prev    next >
Text File  |  1992-10-26  |  23KB  |  480 lines

  1.     
  2.                  * * * * * * * * * * * * * * * *
  3.                  *                             *
  4.                  *  Nabbit (tm)   Version 2.0  *
  5.                  *  Copyright 1991 by RSE Inc  *
  6.                  *      October 16, 1992       *
  7.                  *                             *
  8.                  * * * * * * * * * * * * * * * *
  9.  
  10. ***  Welcome! ***
  11.  
  12. Nabbit lets you grab ASCII characters off your screen and save them into 
  13. a file, or send them to your printer to print envelopes, labels, or 
  14. partial screen dumps.  It also lets store the captured characters in a 
  15. buffer and insert them into another application at some later time.  In 
  16. this way you can easily exchange data between different programs.  Nabbit 
  17. is an extremely useful tool, one you will constantly find new uses for. 
  18.  
  19. Nabbit is copyrighted by RSE Inc.  It is user-supported shareware.  As 
  20. such, you are encouraged to freely distribute copies of the NAB??.EXE 
  21. file to whomever you please, as long as you don't charge anything for the 
  22. copies.  Please don't distribute the individual "extracted" files as it 
  23. defeats the virus check, and causes other complications.  Only distribute 
  24. NAB??.EXE. 
  25.  
  26. If after evaluating Nabbit you decide to continue using it, then you 
  27. need to become a register user sending $15 + $1 shipping to: 
  28.  
  29.  Nabbit              │  Visa or MC customers:       │  Modem-It! to:
  30.  1157 57th Drive SE  │  call or FAX (206) 939-4105  │  (206) 939-2312
  31.  Auburn, WA 98002    │  Compuserve: 72371,1557      │  Product ID: NB
  32.  
  33. Add $1 extra for 3.5 disk and $5 extra for overseas orders.
  34.  
  35. Our Instruction Manual containing printed documentation for all 12 of 
  36. our shareware products (including Nabbit) is available for an extra $5. 
  37.     
  38. (Modem-It! (tm) is a free program that lets you use your modem to easily 
  39. place orders 24 hours a day with any participating merchant.  Look for it 
  40. on any bulletin board.) 
  41.  
  42. Registered users receive the following benefits:
  43.  
  44.     1.  No more annoying "please register" messages.
  45.     2.  Our "Variety Pak" which contains the latest versions of our  
  46.         shareware products, including PC-Directory, Playback, PC-Images, 
  47.         PC-FileNotes, BriteLine, Conjecture, Remind Me! and Trash-It. 
  48.     3.  Technical support, the latest version of Nabbit, and a "decoder" 
  49.         which converts all future versions to registered versions. 
  50.     4.  Our sincere thanks for supporting our efforts.
  51.     
  52. Those using Nabbit in a commercial environment must register within 30 
  53. days.  Site licenses are available. Please write for details. 
  54.  
  55. ***  Nabbit Instructions  ***
  56.  
  57. Nabbit is a small TSR (Terminate and Stay Resident) program.  You load it 
  58. once at the beginning of a session and it stays hidden until you press 
  59. its "hot key".  Then it goes to work.  When you're done with it, your 
  60. original program continues as tho nothing had happened. 
  61.  
  62. When I said it was a small program, I meant small.  It only takes up 
  63. about 2.6K of memory, plus whatever you allocate for the insert buffer 
  64. (more on that later).  
  65.  
  66. ** To load Nabbit into memory **
  67.  
  68. -- Go to the disk or subdirectory where NAB.COM is and enter NAB at the 
  69. DOS prompt. 
  70.  
  71. You'll notice the information displayed when Nabbit is loaded contains a 
  72. menu of the keys you'll use to operate it.  If you're familiar with 
  73. TSR's you could probably just use this information to figure out how 
  74. things work.  However, there are a number of things you will miss if you 
  75. don't read these instructions, so please continue on. 
  76.  
  77. ** Changing the printer number **
  78.  
  79. By default, Nabbit sends all its printer output to LPT1.  If you'd like 
  80. to use another printer the use the "/#" command line switch.  For 
  81. example, if you want Nabbit to send its printer output to LPT2 then you'd 
  82. activate Nabbit like this: "nab/2".
  83.  
  84. ** Specifying the file to save the captured screen data **
  85.  
  86. If you elect to use Nabbit to save screen data to a disk file then by 
  87. default the data is appended to a file called "SCREEN.DAT" in the 
  88. directory you are in at the time you pop-up Nabbit.  If you want to 
  89. change this file then you can do so like this:
  90.  
  91. nab *c:\test\savescr.dat*
  92.  
  93. Just enclose the pathname of the desired file with "*".
  94.  
  95. ** To remove Nabbit from memory **
  96.  
  97. If you need to remove Nabbit from memory enter "nab/u" at the DOS prompt.  
  98. Remember, you must remove TSR's in the reverse order in which they were 
  99. loaded.  If you don't, Nabbit may not be able to remove itself or your 
  100. computer may lock up requiring a re-boot. 
  101.  
  102. ** Activating Nabbit **
  103.  
  104. You activate Nabbit by pressing its "hot key".  The default is Ctrl-G 
  105. (press the Ctrl and the G key at the same time), but you can change the 
  106. "hot key" by using the Configuration program.  We'll discuss the 
  107. Configuration program later. 
  108.  
  109. -- Activate Nabbit by pressing Ctrl-G
  110.  
  111. Hear those two low beeps.  They're letting you know Nabbit's ready.  
  112. Nabbit also makes the cursor bigger when it's activated.  The cursor may 
  113. or may not be located at the same place as the cursor being used in your 
  114. application.  If you can't find Nabbit's cursor, check the upper left 
  115. corner of the screen. 
  116.  
  117. ** Escaping **
  118.  
  119. If you need to exit Nabbit, just press the Escape key.  You'll hear one 
  120. low beep indicating Nabbit has finished.  Your cursor will be restored to 
  121. its original size and location. 
  122.  
  123. ** Marking your text **
  124.  
  125. Once you've activated Nabbit you need to tell it what part of the screen 
  126. you want to capture.  First, you mark the upper left corner of the area 
  127. you want captured.  Use the cursor keys (up, down, left, and right arrow 
  128. keys), Tab, Home (move to start of line) or End (move to last column in 
  129. line) to move the cursor to the upper left corner of the characters you 
  130. want to get.  Press S (for Start).  You'll hear an ascending series of 
  131. beeps letting you know that this is the starting place.  
  132.  
  133. --  Mark the upper left corner of the area you want to capture by moving 
  134. the cursor to that point and pressing S for Start. 
  135.  
  136. Now that you've marked the start, it only makes sense to mark the end.  
  137. This time move the cursor to the end (the lower right corner) of the area 
  138. you want to capture.  Then press E (for End).  A menu will appear that 
  139. gives you the following options:
  140.     
  141.  
  142. Press: L  if you want to print a label, or just send the text to the 
  143.           printer unformatted.
  144.  
  145.        E  to print a regular size envelope
  146.  
  147.        B  to print on a big envelope
  148.  
  149.        F  to append the data to the SCREEN.DAT file
  150.  
  151.        I  to store the data in the Insert buffer
  152.  
  153.  
  154. ** A Sample **
  155.  
  156. Load Nabbit into memory (if you haven't already) by entering "nab" at the 
  157. DOS prompt.  Let's say you want to register Nabbit so you need to print 
  158. an envelope to put the $16 in.  Activate Nabbit by pressing Ctrl-G.  Move 
  159. the cursor to the upper left corner of the address (the N in Nabbit) and 
  160. press S to signal that this is the start of the block.  Move the cursor 
  161. to the lower right corner of the address (on the zip code line, directly 
  162. below the E in SE) and press E to signify the end of the block.  Turn on 
  163. your printer, insert an envelope, and press E (for Envelope).  That's it.  
  164. Tough huh?   (We'll talk about adjusting the printer output later)
  165.  
  166. ** What Nabbit Nabs **
  167.  
  168. IMPORTANT!
  169.  
  170. Envelopes and labels grab like this:
  171.  
  172.  
  173.              S............
  174.              .............
  175.              ............E
  176.  
  177.  
  178. However, if you select "File" or "Insert buffer" you will be presented 
  179. with the following menu that lets you grab the data in a variety of ways:
  180.  
  181. Box                     Grab the area as described above (a box with 
  182.                         where you pressed S and E defining the corners)
  183.                         leaving the format as it appears on screen.
  184.                  
  185. Unformatted box         Grab the "box" area as described above but strip 
  186.                         out tabs, multiple spaces, and carraige returns.
  187.  
  188. Grab all                Grab as illustrated below, leaving the format 
  189.                         as it appears on screen:         
  190.  
  191.                    S...........................................................
  192. ...............................................................................
  193. ..................................E
  194.  
  195. Grab all - unformated   Grab as illustrated above, however, strip out 
  196.                         tabs, multiple spaces, and carraige returns.
  197.  
  198.  
  199. Nabbit uses a BIOS call (a built-in function of your computer) to grab 
  200. the characters off the screen.  In text mode it recovers everything 
  201. (although Nabbit doesn't capture the color of the characters).  In 
  202. graphics modes it really depends on what your application is doing.  
  203. Programs like desktop publishers which use a WYSIWYG display aren't going 
  204. to capture anything.  On the other hand, there are many other 
  205. applications that do fine.  As a general rule, if your screen is showing 
  206. more than one typestyle, or more than one size of type, then you're 
  207. probably not going to be able to grab anything.  The only way to know is 
  208. to try.  Nabbit is one of those programs wher if it works, it works.  (I 
  209. went to college so I could write like this....)
  210.  
  211. In addition, in graphics mode Nabbit's cursor is a thin line and the 
  212. menus will not display correctly, therefore you'll have to memorize what 
  213. to do.  But because most of the menu options make sense you shouldn't 
  214. have any problems remembering them.
  215.  
  216. ** Printing **
  217.  
  218. The only difference between pressing E, B, or L is how many spaces the 
  219. printer moves over before it starts printing and how many lines it 
  220. scrolls after it's done.  The table below shows the default values.  You 
  221. can change these using the infamous configuration program we'll discuss 
  222. later. 
  223.  
  224.                06        # of lines for label
  225.                FormFeed                 envelope
  226.                FormFeed                 big envelope
  227.  
  228.                0         Tab spaces for label 
  229.                40                       envelope
  230.                50                       big envelope
  231.  
  232. "# of lines" needs some explaining.  When Nabbit finishes printing what 
  233. you captured, it continues scrolling until it reaches a multiple of the 
  234. "# of lines" value.  For example, if the # of lines for labels is 6, and 
  235. you print a label and the area you capture is 4 lines long, then Nabbit 
  236. would scoll another two lines after it was done printing, for a total of 
  237. 6 lines.  If the captured area had been 8 lines long, then it would've 
  238. scrolled 4 lines upon completion, for a total of 12 lines, an even 
  239. multiple of 6.  If you set the "# of lines" to "FormFeed" then Nabbit 
  240. sends a form feed to the printer when it's done.  This normally causes 
  241. the printer to scroll to the end of a normal 11 inch long page. 
  242.  
  243. ** Controlling Print Style **
  244.  
  245. When you print Envelopes or Big Envelopes you can have Nabbit send an 18 
  246. code Initialization string to the printer before printing, and a 12 
  247. character Reset code when printing is done.  This lets you tell your 
  248. printer, via printer codes, how you want to print.  For example, you may 
  249. want it to print in bold, or italics, or both.  You define these strings 
  250. using the Configuration program, which we'll discuss later. 
  251.  
  252. ** Linefeeds before printing **
  253.  
  254. You can put linefeeds (Character 10) in the Initialization string thereby 
  255. causing the printer to jump down so many lines before printing starts.  
  256. This is useful for laser printers or any other printer where you can't 
  257. align the print head before printing. 
  258.  
  259. ** What's that obnoxious noise? **
  260.  
  261. If you try to print something and you hear a continuing series of low 
  262. notes that sound like they're pronouncing impending doom, Nabbit's 
  263. telling you it can't send the material to the printer.  It continues 
  264. making this noise until the problem is fixed or you press a key.  Usually 
  265. someone forgot to turn the printer on.  If that someone tries turning on 
  266. the printer, things will probably work just fine.  If it's not the power, 
  267. then check if the printer has paper. 
  268.  
  269. ** Partial Screen Prints **
  270.  
  271. The normal DOS print screen function works fine if you want to print the 
  272. entire screen.  But what if you only want to print out part of the 
  273. screen?  No sweat.  Just use Nabbit, and print a Label.  
  274.  
  275. If you find yourself doing partial screen prints a lot (it's addicting) 
  276. and you hardly ever use Nabbit to print real labels then you might want 
  277. to use the Configuration program to change the "# of lines for labels" to 
  278. "FormFeed".  That way when you do a partial screen print using Nabbit, 
  279. the printer will scroll to the end of the page after it's done. 
  280.  
  281. ** Inserting text **
  282.  
  283. When you press I at the option menu, Nabbit puts what it grabs into the 
  284. Insert buffer.  You can adjust the size of the buffer from 256 bytes to 
  285. 3072 bytes by using the configuration program.  The default value is 256 
  286. bytes.  Nabbit only grabs as much as the buffer holds, even if you try to 
  287. grab more.  Therefore, if Nabbit inserts less than you grabbed, then you 
  288. grabbed more than the buffer can hold.  Use the configuration program to 
  289. increase the size of the buffer. 
  290.  
  291. Once you've grabbed something and put it into the Insert buffer, it stays 
  292. there waiting for you to press the Insert "hot key" (Ctrl-I by default).  
  293. When you press the Insert "hot key" Nabbit waits until the program you're 
  294. using goes looking for an input from the keyboard.  Nabbit then jumps in 
  295. and gives your program what's in the Insert buffer instead.  The effect 
  296. is the same as if you were typing the "grabbed" stuff in yourself. 
  297.  
  298. This can be really handy.  The most obvious use is to copy data from one 
  299. application to another.  For example, the letter you wrote Bob last week 
  300. has a paragraph in it you want to put in Freds letter.  You bring up 
  301. Bob's letter, capture the paragraph using Nabbit, and then edit Fred's 
  302. letter.  Move to where you want to place the paragraph and press the 
  303. Insert "hot key".  The paragraph will be inserted as though you were 
  304. typing it in anew. 
  305.  
  306. You could have just as easily entered the paragraph into your spreadsheet 
  307. program, data base, or desktop publisher.  
  308.  
  309. Let's say you want to write an instruction manual and you want to insert 
  310. part of directory listing.  Since format is important here, you'd grab 
  311. the directory listing using the "Box" grab option.  Remember, 
  312. "Box" grabs the area within the box and leaves all multiple spaces and 
  313. carriage returns intact while "Unformatted box" strips them out.
  314.  
  315. You can also use this feature as a keystroke expander.  For example, 
  316. you're writing a letter and there's a particular word or phrase that 
  317. occurs over and over again.  Use Nabbit to capture it and then use the 
  318. Insert "hot key" to type it in whenever you need it. 
  319.  
  320. How fast the stuff gets inserted depends on how fast the original 
  321. application goes looking for keystrokes, and how high you adjust the 
  322. "Rate" value in the configuration program.  Setting the Rate value to one 
  323. sends about 18 characters a second.  This may sound fast, it's really 
  324. not.  Setting the value to 15 (the highest value, and also the default 
  325. value) attempts to insert 273 characters a second.  Remember though, most 
  326. of the time the limiting factor is how fast the original application goes 
  327. looking for keyboard input.  Nabbit won't insert characters any faster 
  328. than they are requested.  However, some programs continue looking for 
  329. characters even when they can't accept them anymore (go figure).  In 
  330. these cases you may want to reduce the Rate value so the program has time 
  331. to catch up with itself between each character. 
  332.  
  333. ** Repeat operations **
  334.  
  335. In some applications it may be handy to grab information from the same 
  336. spot on the screen over and over.  It sure would be nice if you didn't 
  337. have to define the same capture area each time.  Well there's an easier 
  338. way.  
  339.  
  340. If you activate Nabbit and press R then Nabbit will grab from the same 
  341. area and do the same operation as the last Nabbit operation.
  342.  
  343. As an example let's say that instead of just printing one envelope you 
  344. want to print two.  You'd activate Nabbit and print an envelope just as 
  345. we discussed earlier.  However, for the second envelope you'd just 
  346. activate Nabbit and press R for Repeat.  Since you didn't move the cursor 
  347. the second time Nabbit grabs stuff from the same area as it did the 
  348. first time.  
  349.  
  350. Another example:  You're working with a data base program where the name 
  351. and address of the person always appears in the same place on the screen.  
  352. You want to print envelopes for each.  You'd only have to define the 
  353. capture area the first time.  From then on you would just activate Nabbit 
  354. and press R (for Repeat). 
  355.  
  356. ** The Configuration program **
  357.  
  358. We've mentioned several items that you can change using the configuration 
  359. program.  Here's how: 
  360.  
  361. -- Go to the subdirectory where all the Nabbit files reside
  362.  
  363. -- Enter "NAB_CFG" at the DOS prompt
  364.  
  365. -- A list will appear of the items you can change, and their current 
  366.    values. 
  367.  
  368. -- Press the up and down arrow keys to select the item you want to 
  369.    change.
  370.  
  371. -- Press the left and right arrow keys to change the value of the 
  372.    selected item.
  373.  
  374. To change a "hot key" you first select the shift state of that hot key 
  375. and select either Ctrl, Alt, or Ctrl-Alt.  Then select the item below it, 
  376. press the right arrow key, and then press the key that goes with the 
  377. shift state.  For example to change the Insert "hot key" to "Alt-F10" 
  378. you'd first select the Insert Shift State, press the right arrow key 
  379. until "Alt" appears, move down one line, press the right arrow key once, 
  380. and then press the F10 key. 
  381.  
  382. ** Printer Codes **
  383.  
  384. The last two items (Init and Reset) are ways you can control your printer 
  385. output during the printing of envelopes.  The Init string will be sent to 
  386. your printer before the envelope is printed, the Reset string afterward.  
  387. Each string consists of decimal ASCII characters separated by commas.  
  388. The Init string can be 18 control codes long, the Reset 12.  If you enter 
  389. more than these amounts the string will be truncated.  These numbers 
  390. refer to the number of codes entered, not the number of characters.  For 
  391. example, "27,69,27,46" is 4 codes long, not 11. 
  392.  
  393. You can find what control codes your printer uses by checking your 
  394. printer manual.  Make sure you use decimal ASCII codes, not hex ASCII.  
  395. As an example, on my printer, the code to set boldface is 27,69.  It is 
  396. also referenced as <ESC> "E" and 1B,45 (hex).  Once again, make sure you 
  397. use the decimal ASCII values and seperate each code by a comma.  You can 
  398. put linefeeds (ASCII code 10) in your Initialization string if you 
  399. desire. 
  400.  
  401. Your Reset string should reset your printer to the way it was before you 
  402. sent the Init string.  Often a printer will have a reset code, like 
  403. "27,64" or similar. If you don't want to use these strings just leave 
  404. them blank. 
  405.  
  406. To change or enter the Init or Reset string, use the up/down cursor keys 
  407. to select the desired string, press the left/right cursor key to indicate 
  408. that you want to change it, and then input the new string as instructed.  
  409. Remember, its a comma delimited decimal ASCII string. 
  410.  
  411. Example:  This sets up envelope printing on HP-IIp LaserJet:
  412.  
  413. Init:   27,38,108,49,111,56,49,65,27,38,97,56,82
  414. Reset:  27,69 
  415.  
  416. (Because the Reset string ends a formfeed, you'll want to change the "# 
  417. of lines" for the envelope to something besides formfeed, like 6.) 
  418.  
  419. (If you want to use the above codes why not nab them and insert them into 
  420. the conifiguration program?)
  421.  
  422. ** Saving the changes **
  423.  
  424. When you're done press the Escape key and the new values will be inserted 
  425. into Nabbit.  If Nabbit is currently in memory then you'll have to re-
  426. boot and reload it to notice the changes. 
  427.  
  428. ** Problems, etc. **
  429.  
  430. If you try to print an envelope and the printer doesn't print anything 
  431. and yet Nabbit acts as tho it did (doesn't beep at you) then grab your 
  432. printer manual, find out what character sequence is used to reset the 
  433. computer, and use the configuration program to set your Initialization 
  434. string to the reset character sequence.  On my computer the sequence is 
  435. "27,64".  Yours may be different.  This should clear up the problem. 
  436.  
  437. If what Nabbit inserts is less than what you grabbed, then you grabbed 
  438. more than the buffer can hold.  Reduce the size of what you grab or use 
  439. the configuration program to increase the size of the insert buffer. 
  440.  
  441. Nabbit doesn't work with some programs, particularly those that interface 
  442. directly with the keyboard hardware without using DOS or BIOS function 
  443. calls.  Likewise, Nabbit won't insert data into certain applications.  
  444. These applications vary, but often they are telecommunications software 
  445. or games.  If you can't activate Nabbit or you can't insert using Nabbit, 
  446. then the program you're trying to activate it from is either misbehaved 
  447. or has good reasons for not letting you interrupt.  Either way you're 
  448. stuck. 
  449.  
  450. In 256 color VGA graphic modes, the cursor doesn't erase itself, but 
  451. instead leaves a trail of cursors behind it.  Because I can't imagine too 
  452. many programs that deal with text using the 256 color graphics modes I've 
  453. decided not to burden Nabbit with the extra code needed to correct this 
  454. annoyance.  If I'm wrong, please let me know.
  455.  
  456. Sometimes Nabbit may be able to grab a character off the screen but your 
  457. printer won't be able to print it.  Worse yet, the character might be a 
  458. printer code that sends your printer off doing things you hadn't 
  459. intended.  If you're grabbing strange characters and your printer is 
  460. acting up, this is probably the reason why. 
  461.  
  462. If you run into any problems and you can't find an answer in these 
  463. instructions then give us a call at (206) 939-4105.  Technical support is 
  464. for registered users, so have your registration number handy.  That's 
  465. about it.  I hope you find Nabbit useful and worthy of your support.  
  466. Take care. 
  467.  
  468.                        *** Disclaimer ***
  469.  
  470. RSE Incorporated specifically disclaims all warranties expressed or 
  471. implied, including, without limitation, any implied warranties of 
  472. merchantability or fitness for a particular purpose.  The software itself 
  473. is licensed "As Is", without any express or implied warranties 
  474. whatsoever.  In no event shall RSE Incorporated, its distributors or 
  475. dealers, be liable for any loss of profit or any other commercial damage, 
  476. including, without limitation, special, incidental, consequential or 
  477. other damages.  In no case shall any liability exceed the price paid for 
  478. the software. 
  479.  
  480.