home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / games / plotmate.zip / PLOTMATE.DOC < prev    next >
Text File  |  1987-10-14  |  22KB  |  559 lines

  1.                                     
  2.          
  3.          
  4.          
  5.          
  6.          
  7.          
  8.          
  9.          
  10.          
  11.          
  12.          
  13.          
  14.          
  15.          
  16.          
  17.          
  18.                                 PLOTMATE (V1.0)
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.                         An ACAD Plotting Utility Program 
  31.                                       
  32.                                       By
  33.  
  34.                        Jim McMillan and Bernie Goldberg              
  35.          
  36.                                   October 1987 
  37.          
  38.  
  39.           
  40.                            Documentation for PLOTMATE
  41.  
  42.          Version 1.0                                    October 1987.
  43.          
  44.          
  45.          At last, a program that offers a solution to the bottleneck 
  46.          of batch plotting Autocad Drawing files.
  47.          PLOTMATE now allows the user to perform MULTIPLE PLOTS from either 
  48.          a stand alone Plotstation, or ACAD workstation.
  49.  
  50.          Installation
  51.          ------------
  52.          The following steps will lead you through the setup and 
  53.          installation procedure so that you may start using the 
  54.          program as quickly as possible.
  55.  
  56.          Requirements.
  57.          -------------
  58.                 1> A Hard Disk. (Referred to as C: in this DOC file.)
  59.                 2> A directory where the main executable ACAD files 
  60.                    reside, called "C:\ACAD".
  61.                 3> A directory where PLOTMATE will look for the Drawing 
  62.                   files to process, called "C:\ACAD\PROJECTS".
  63.                 4> A Plotter that is capable of automatically feeding 
  64.                    a new sheet of paper after each plot. 
  65.                    (This is discussed later.)
  66.  
  67.          Now, lets look at each requirement individually.
  68.  
  69.          1> The Hard disk.
  70.                 This is more or less the only fixed requirement, since 
  71.          PLOTMATE addresses several sub-directories including ACAD.
  72.  
  73.          2> "C:\ACAD:"
  74.                 If you do not have your main ACAD.EXE in a directory 
  75.          called ACAD, then you should make that directory by using the 
  76.          DOS command "MKDIR" or "MD". The syntax is:
  77.                            
  78.                                    MD C:\ACAD
  79.          
  80.          This sets up a new directory where you can now load in your 
  81.          main ACAD files. PLOTMATE works in part by changing into this 
  82.          directory, then calling ACAD. PLOTMATE will not function 
  83.          properly unless you address this setup.
  84.          You may however, utilize the DOS "SET" command to overcome this
  85.          by inserting an environmental spec in your "Autoexec.bat" file.
  86.          You might have something like:
  87.  
  88.                                  SET ACAD = C:\CAD\MAIN
  89.  
  90.          or wherever you keep your main exucutable files.
  91.          You must have the ACAD directory, even if it just acts as a dummy.
  92.  
  93.                                        1
  94.  
  95.          
  96.  
  97.  
  98.  
  99.          3> "C:\ACAD\PROJECTS"
  100.                 Make a directory called "C:\ACAD\PROJECTS". After you 
  101.          have created your ACAD directory as described above, then copy 
  102.          or work from this directory with your drawing files.
  103.          PLOTMATE will look at this directory for your files, and again , 
  104.          if you do not follow this outline PLOTMATE will not operate 
  105.          properly. You may however, use the DOS "SET" command and/or 
  106.          the "PATH" command so that DOS can use the search path 
  107.          environment. Refer to your DOS manual under "PATH" for more details.
  108.          Also refer to the section on "DLIST.EXE", this document.
  109.          
  110.          4> The Plotter.
  111.            Of course, the best way to run PLOTMATE is with an autofeed 
  112.          plotter such as the HP7550A (or compatible). I have used this 
  113.          plotter with the "B-Size" sheet feed option for several 
  114.          years. I also realize that there are as many plotters out 
  115.          there as printers, and to address all of them would be 
  116.          outside the scope of this document. If your plotter does not 
  117.          have a sheet feed option, a work-around may be to take the 
  118.          plotter off-line (Local) after each plot, then loading in a 
  119.          fresh sheet of paper. You will have to experiment yourself to 
  120.          see how your application works best with PLOTMATE. 
  121.          
  122.                                   Running PLOTMATE
  123.          
  124.          At this point , you should have the following:
  125.  
  126.                 a> A directory called C:\ACAD, where the main 
  127.                    executable ACAD files reside.
  128.  
  129.                 b) A directory called "C:\ACAD\PROJECTS", where PLOTMATE 
  130.                    will look for the drawing files.
  131.  
  132.                 c) A auto-sheet feed plotter (optional).
  133.  
  134.          The ARCed PLOTMCL.ARC is the Color version of the program.        
  135.          There is also a black and white version called PLOTMBW.ARC
  136.          Now lets look to the ARCed file. 
  137.          Contained within PLOTMCL.ARC should be the following:        
  138.  
  139.  
  140.          
  141.                                   READTHIS.DOC
  142.                                   PLOTMATE.DOC
  143.                                   PLOTMATE.EXE
  144.                                   MAKEFILE.EXE
  145.                                    START.BAT
  146.                                    DLIST.EXE
  147.                                     TMC.EXE          
  148.                                      TC.DAT
  149.                                  * WARMBOOT.COM
  150.         
  151.                           (* Denotes a PD by others.)
  152.          
  153.             You will require all of these files in order to get the 
  154.          maximum from PLOTMATE.
  155.          
  156.                                        2
  157.          
  158.          
  159.          Unpack the archive ,(use PKARC?), and copy all of the above 
  160.          files into the root directory  "C:\".
  161.          It is from the ROOT directory that you will execute the 
  162.          program.
  163.          
  164.          You will notice that there are (3) files that have filenames 
  165.          beginning with "BW". These are black and white versions of 
  166.          the program. If you want to use these, then you will have to 
  167.          copy the normal (colour) versions to another disk or 
  168.          directory, then rename the BW versions, as in
  169.  
  170.                          RENAME BWFILE.EXE MAKEFILE.EXE
  171.  
  172.          Just repeat the procedure for the rest of the BW files.
  173.  
  174.          First, make a list of drawings that you want to plot. 
  175.          This is easily accomplished by using the "MAKEFILE" program. 
  176.          Type "MAKEFILE" when in the ROOT directory,and press the return key.
  177.          The program will snap into action and begin to search through 
  178.          the C:\ACAD\PROJECTS directory for your drawing files.
  179.          (Note: that if you have no drawing files in this directory, 
  180.          then you will end up with and empty list.)
  181.          The count, sort message will appear on the screen and the 
  182.          counting will be of every entry in the directory.
  183.          Next the file is sorted and cleaned of any unwanted 
  184.          information. You are then left with a list of drawing files 
  185.          only.
  186.  
  187.          Secondly, the Plot option prompt is presented, and here you 
  188.          may select to plot <A>ll of your files, or a <S>elected 
  189.          group . For now press the "A" key on you keyboard, (you do 
  190.          not have to press the RETURN key), you will see a list of 
  191.          filenames appear on the left hand side of your screen. These 
  192.          are the names that will be written out to the file "PLOT.LST".
  193.          PLOT.LST, becomes the working file for PLOTMATE.
  194.          
  195.          IF you had selected the <S>elect option, you would have been 
  196.          prompted by another set of options that allowed you to choose 
  197.          from either a <S>elect group or <P>ick files.
  198.  
  199.          The select group allows you to enter a search filespec to
  200.          allow more flexiblilty.
  201.          Note that your entry is case-sensitive, so that if you wanted 
  202.          to plot all the files that begin with SECOND-FL then enter 
  203.          that and PLOTMATE will write any filename beginning with that 
  204.          string out to you plot list.  
  205.  
  206.          Picking files on the other hand, shows one by one the files 
  207.          in the "C:\ACAD\PROJECTS" directory and prompts you for a 
  208.          "Yes / No " response. By selecting either "Y" or "N" here 
  209.          determines which files will be written out to disk.
  210.   
  211.          Note: You also have the option of having your files plotted 
  212.          as plot files. (Files with the extension of ".PLT". 
  213.          You should then before running the main program, set up 
  214.          from the ACAD configuration menu the "Plot to file" option.
  215.          Here again, you have flexiblilty and power.
  216.  
  217.          Once you are comfortable with this section operates, we
  218.          can then address the main program.
  219.  
  220.                                        3
  221.          
  222.          
  223.          
  224.          The batch file "START.BAT" activates PLOTMATE, and then the plot 
  225.          list is read into the program for processing.
  226.          To begin plotting then, simply type "START" and you are on 
  227.          your way. (Assuming that your plotter is on etc.)
  228.  
  229.          The first thing you will see is the Copyright message at 
  230.          the top of the screen, then the following will be presented.
  231.  
  232.                 a) The number of drawings contained in the list.
  233.                 b) The number and name of the current drawing.
  234.                 c) The number of drawings remaining to plot.
  235.                 d) The Plot time remaining.
  236.          
  237.          With this information, you can determine how much time the 
  238.          plot procedure will take, and if you wish, you can let the 
  239.          program run overnight unattended.
  240.          Once PLOTMATE comes to the end of the plot list, the system 
  241.          automatically reboots, bringing you back to the startup 
  242.          state, (or activates your Autoexec.bat file to bring ACAD 
  243.          back up again.) Are-boot is a MUST, in order to terminate the 
  244.          program.
  245.          
  246.  
  247.                                  The Utilities
  248.          
  249.          Apart from the utility program called "MAKFILE", I also 
  250.          realized that users just might be set on NOT using the 
  251.          "C:\ACAD\PROJECTS" directory, so the creation of DLIST.EXE.
  252.          
  253.          DLIST.EXE
  254.  
  255.          You should see at the top of the screen the following options.
  256.              
  257.                                 <C>reate    <A>ppend
  258.                   
  259.              
  260.              You will select the <C>reate option by typing in the 
  261.              letter "C" or" c". The rest of the program is menu driven and 
  262.              most of the instructions on how to use are there. But for 
  263.              the sake of example we will create a plot list.
  264.              
  265.              The next screen that is presented to you, is the Create 
  266.              file screen and it should look like this:
  267.  
  268.              IN CREATE FILE MODE
  269.  
  270.              You will be prompted for a Pathname, you only have to 
  271.              enter it once.
  272.  
  273.              Pathnames should be of the following format...
  274.          
  275.                                 \ACAD\PROJECTS\
  276.             
  277.              (This is used as the standard default directory)
  278.              
  279.              OR for example:
  280.                  
  281.                        A:2600-    ANY OF THESE WILL WORK!
  282.  
  283.              Enter pathname for Drawings >> ?
  284.          
  285.                                        4
  286.  
  287.  
  288.           
  289.          
  290.          
  291.          
  292.          
  293.              Here you are prompted for a Pathname. This is the 
  294.              directory where the drawings you wish to plot reside as 
  295.              shown in the example above. You may also add part of the 
  296.              drawing number to the Pathname to make entry a little 
  297.              easier. This is also shown above. We will enter imaginary 
  298.              drawings for the sake of example.
  299.              So enter the following for the Pathname:
  300.          
  301.                                 \ACAD\TEMP\1920-
  302.          
  303.              The next screen to appear is the Data Entry Screen. And 
  304.              it looks like this:
  305.  
  306.              Enter Pathname for Drawings >> ? \ACAD\TEMP\1920-
  307.  
  308.                       >PRESS THE RETURN KEY WHEN COMPLETE<
  309.  
  310.              Enter name of Drawing # 1 ?
  311.  
  312.              As you can see, the top of the screen shows the Pathname 
  313.              that we typed in, and this is there to remind you of 
  314.              where you are plotting from. Next we will enter the name 
  315.              of our first drawing, that is : 101
  316.              As you can see, it is now very easy to add drawings. All 
  317.              you are doing is adding the last three digits of the 
  318.              drawing name. The pathname supplies the rest.
  319.              Next add 102 AND FINALLY 103.
  320.              We have added Three imaginary numbers and we wish to end 
  321.              now. So press the Enter or the Return key.
  322.              You will now see how many files are added to the list and 
  323.              the DONE! flag. You are then returned to the C: prompt.
  324.  
  325.            Examining the List.
  326.  
  327.              To see the list that you have just created type the 
  328.              following at the C: prompt.
  329.                                  
  330.                    TYPE PLOT.LST     (Press Return or Enter)
  331.              
  332.              The contents of the Plot list are displayed on the 
  333.              screen, and should look like the following.
  334.  
  335.                               \ACAD\TEMP\1920-101
  336.                               \ACAD\TEMP\1920-102
  337.                               \ACAD\TEMP\1920-103
  338.                               ENDIT              
  339.   
  340.              Don't worry about the ENDIT at the end of the list,
  341.              that is added to all lists as an <EOF> marker.
  342.  
  343.       
  344.          
  345.          
  346.          
  347.           
  348.          
  349.          
  350.          
  351.          
  352.                                        5
  353.          
  354.          
  355.          
  356.                     You may also add drawings to your existing list by 
  357.              selection the <A>ppend  option , you are then
  358.              presented with the Pathname screen and next the Data 
  359.              entry screen. The other feature is, the drawing number 
  360.              you are prompted for, is the next available number on the 
  361.              list. That means if you were to add to our list above, 
  362.              the prompt would look like this:
  363.   
  364.          
  365.                               \ACAD\TEMP\1920-101
  366.                               \ACAD\TEMP\1920-102
  367.                               \ACAD\TEMP\1920-103
  368.       
  369.              Enter name of Drawing # 4 ?
  370.              
  371.              This reminds you of how many Drawings you have in your 
  372.              plot list so as not to exceed the Maximum recommended 
  373.              number of drawings, as described next.
  374.  
  375.              Limitations and ERROR Messages.
  376.              
  377.              Sometimes a great number of Drawings are required to plot 
  378.              and in these cases the maximum number of names to a list 
  379.              is set at 50. This is because the pen in the plotter will 
  380.              usually dry out after plotting this many. 
  381.              ( Note that this average was calculated using the Hewlett 
  382.              Packard HP755A plotter, with a drawing file average size
  383.              of 28,000 bytes. )
  384.          
  385.              If the drawings are of a heavy concentration, you should 
  386.              limit your plot list to a maximum of 30 or 35.
  387.              
  388.              You will receive a prompt after you have entered Drawing 
  389.              number 50, and this reminds you that you have reached the 
  390.              maximum recommended amount, and offers you the option of 
  391.              ending the list or continuing with the list. 
  392.              Once you exceed the recommended 50, you will be prompted 
  393.              again  PER DRAWING to stop or continue. This checking 
  394.              feature is also activated in the APPEND mode.
  395.           
  396.              The alarm feature is not persistant when using "MAKEFILE".
  397.              Once makefile senses that you have reached 50 drawings, you 
  398.              are alerted to this and the program then proceeds as normal.
  399.          
  400.              If you have to remove a name from the list, then you have 
  401.              to use either a word processor, or a line editor. 
  402.              Refer to your DOS manual under "EDLIN" for a simple line
  403.              editor.
  404.  
  405.          NOTE: DO NOT ADD THE ".DWG" EXTENSION TO THE FILENAMES. That 
  406.          is NOT required for program execution.
  407.  
  408.          With this information behind you, you should be well on your 
  409.          way to a happy and contented plotting life. I have of course 
  410.          spent a great deal of time in the construction of this 
  411.          program , utilities and documentation. There will be problems         
  412.          that are not foreseen, and no doubt bugs to be found. I hope 
  413.          that you find the programs as usefull as I have, and that 
  414.          this offers a practical solution for your plotting 
  415.          bottleneck.
  416.          
  417.                                        6
  418.          
  419.          
  420.           
  421.          
  422.          
  423.          
  424.                        Errors- and how to deal with them.
  425.  
  426.  
  427.          If while the plot program is running, a power failure 
  428.          occurs, or for some reason you have to terminate the 
  429.          procedure, then you should do the following:
  430.  
  431.          One of the files that PLOTMATE creates, is called "CURRENT". 
  432.          This file resides in the root directory. You should erase it 
  433.          by using the command, "ERASE C:\CURRENT", before you restart 
  434.          your plots again. If wish to run the MAKEFILE program, then 
  435.          that program will automatically when called up, delete the 
  436.          file for you.
  437.  
  438.          If when starting to plot, you notice that that the current 
  439.          drawing number does not reflect the actual drawing that 
  440.          should be plotting, then again the culprit is probably 
  441.          the "CURRENT" file. Delete it and start your plot again.
  442.  
  443.          The Time constant "T" and how to modify.
  444.  
  445.          Another feature of PLOTMATE, is that you can modify the time constant
  446.          "TC". This value represent the time taken (as an average) to plot
  447.          one drawing.
  448.         The program "TMC.EXE", allows the user to change the value
  449.         in the file called "TC.DAT", and therefore customizing this variable
  450.         to suit the needs. You may use EDLIN.COM, or a word processor to 
  451.         modify this file, in that case you might prefer to delete the basic
  452.         program "TMC.EXE" from your disk. In anycase the variable is at your
  453.         command.
  454.  
  455.         Disclaimer: 
  456.        
  457.          In no event will the authors of these programs 
  458.        be liable for any loss or damage arising from the use or 
  459.        misuse of this program, even if the author has been advised of 
  460.        the possibility of such damages. 
  461.        
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.                
  470.          
  471.          
  472.          
  473.          
  474.          
  475.          
  476.          
  477.         
  478.           
  479.          
  480.                                        7
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.                            The Public Domain Concept
  489.  
  490.          As stated earlier, a great deal of time and effort has been 
  491.          put into this program so as to overcome the plotting 
  492.          difficulty. Many Companies have had to hire part-time 
  493.          students just to type the names of the plot files into the 
  494.          computer after each plot, so as to get drawings out.
  495.  
  496.          We had a certain amount of difficulty in deciding how to deal 
  497.          with the problen of distributing PLOTMATE. We have not put any 
  498.          reminders of payment onto the executable files, since I find 
  499.          this an annoyance. But we do ask that if you find these 
  500.          program of use to you then a donation of $50.00 Canadian is 
  501.          asked. Although we could have distributed the program 
  502.          commercially, we trust that a great deal of ACAD users will 
  503.          find themselves better of for the use of this program. We 
  504.          encourage you to distribute the program smong your friends. 
  505.          but at no time should you sell it to another user.
  506.  
  507.          If you find that the $50.00 is a burden, then send what you 
  508.          feel you can, what your pocketbook can afford. We are sure 
  509.          that you will see a return on your investment in the first 
  510.          day or so of running PLOTMATE.
  511.  
  512.          Thank you for using the program and please address your 
  513.          contributions to the address below.
  514.  
  515.          Make out your check or moneyorder to the following:
  516.          
  517.                 ATT: JIM MCMILLAN,
  518.                 C/O MOORE INSTRUMENTS,
  519.                 P.O. BOX #370,
  520.                 BRAMPTON,ONTARIO,
  521.                 CANADA
  522.                 L6V 2L3 
  523.  
  524.  
  525.          Time permitting, you may contact me through either Compuserve 
  526.          at ID#72067-2076, or in CANADA through the PCanada BBS
  527.          where my ID# is PC1806.
  528.  
  529.  
  530.          
  531.       
  532.          Other Considerations.
  533.  
  534.            I also realize that customization of PLOTMATE in certain 
  535.          cases might prove to be even more effective. If this is the 
  536.          case, and you feel that a custom PLOTMATE is required, 
  537.          arrangements might be considered, time permitting.
  538.          
  539.          To discuss the matter further, leave a message at either of 
  540.          the above numbers with your requirement.
  541.  
  542.          
  543.          
  544.          
  545.          
  546.                                       END
  547.          
  548.          
  549.          
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.