home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / TEXT / PDX_ALL.ZIP / TI787.ASC < prev    next >
Text File  |  1991-09-11  |  15KB  |  397 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Paradox                                NUMBER  :  787
  9.   VERSION  :  2.0 & up
  10.        OS  :  DOS
  11.      DATE  :  September 11, 1991                       PAGE  :  1/6
  12.  
  13.     TITLE  :  Fixing a Report that "Creeps" Vertically
  14.  
  15.  
  16.  
  17.  
  18.   Every so often, reports created in Paradox will "creep."  That is
  19.   to say, text will begin printing on different lines from page to
  20.   page.  While this typically happens when working with laser
  21.   printers (or printers using similar technologies), it is not
  22.   completely limited to these type of printers.
  23.  
  24.   This behavior can be stopped by checking three things: the page
  25.   length of the report, the way Paradox tells the printer to eject
  26.   each page from the printer, and the actual length of the report
  27.   design.  The rest of this document addresses each of these areas
  28.   in detail
  29.  
  30.   1.      The page length of the report should not be greater than
  31.           the number of lines the printer actually prints on any
  32.           single sheet of paper.
  33.  
  34.   First, calculate the total number of lines the printer can print
  35.   on a piece of paper and make certain the report's page length is
  36.   not set to a number higher than that figure.
  37.  
  38.   For example, most printers (as a default) print six (6) lines of
  39.   text per inch.  Since the average piece of paper is eleven (11)
  40.   inches long, this indicates that up to 66 lines of text can be
  41.   printed on any sheet of paper.  (6 lines per inch x 11 inches =
  42.   66 total lines)  This is the value Paradox defaults to.
  43.  
  44.   However, many laser printers do not print text along the edges of
  45.   a sheet of paper.  They often reserve a margin, typically one-
  46.   half (1/2) inch along each edge for paper handling purposes.  As
  47.   a result, a normal 8-1/2" x 11" sheet of paper only has an
  48.   effective printing area of 7-1/2" x 10".  For Paradox reports,
  49.   this translates to a typical page length of 60.  (6 lines per
  50.   inch x 10 inches)
  51.  
  52.   To check (or change) the page length of an existing report,
  53.   follow these steps:
  54.  
  55.           a)      From the main Paradox menu, press the <Alt-F8>
  56.                   key to clear the workspace.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.   PRODUCT  :  Paradox                                NUMBER  :  787
  75.   VERSION  :  2.0 & up
  76.        OS  :  DOS
  77.      DATE  :  September 11, 1991                       PAGE  :  2/6
  78.  
  79.     TITLE  :  Fixing a Report that "Creeps" Vertically
  80.  
  81.  
  82.  
  83.  
  84.           b)      Select {View}, type the name of the database
  85.                   table containing the information that will be
  86.                   sent to the printer and then press <Enter>.
  87.  
  88.           c)      Now, press <F10>, select {Reports} | {Change} and
  89.                   press {Enter} twice.  Now, highlight the number
  90.                   of the report that has been "creeping" and again
  91.                   press <Enter> twice.
  92.  
  93.           d)      Paradox should now display a message on the top
  94.                   line of the screen similar to "Changing report R
  95.                   for Table_Nm table", where R and Table_Nm vary
  96.                   according to the specific report and table being
  97.                   worked on.  (Also, the word "Changing" will be
  98.                   "Creating" if the report did not already exist.)
  99.  
  100.                   Note:  If a message like the one above is not
  101.                          being displayed, cancel Paradox out of
  102.                          whatever it is doing, go back to the main
  103.                          Paradox menu and start again with step a).
  104.  
  105.           e)      Press <F10>, select {Setting} | {PageLayout} |
  106.                   {Length} and examine the value displayed after
  107.                   "New page length:".  If this value is greater
  108.                   than the number of lines this printer prints on a
  109.                   single piece of paper, change it to the proper
  110.                   value and press <Enter>.
  111.  
  112.           f)      The report page length should now equal the
  113.                   maximum number of lines the printer will be able
  114.                   to print on each page.  To save any changes,
  115.                   press <F2>.
  116.  
  117.   2.      Paradox should be set so it uses a formfeed instead of
  118.           linefeed characters at the end of a report page.
  119.  
  120.   When Paradox is done printing to a single piece of paper, it
  121.   tells the printer to push that piece of paper out of the printer
  122.   and to start printing on a new page.  Typically, this is done by
  123.   moving the printer roller a line at a time until the page is
  124.   ejected or some similar action occurs, depending on the type of
  125.   printer involved.
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.   PRODUCT  :  Paradox                                NUMBER  :  787
  141.   VERSION  :  2.0 & up
  142.        OS  :  DOS
  143.      DATE  :  September 11, 1991                       PAGE  :  3/6
  144.  
  145.     TITLE  :  Fixing a Report that "Creeps" Vertically
  146.  
  147.  
  148.  
  149.  
  150.   In order to keep track of where the paper is in the printer,
  151.   Paradox counts the current line number and compares that to the
  152.   page length set in the report specification.  (See Part 1.)  This
  153.   count is increased by one (1) every time a line of text is
  154.   printed.  When the line count exceeds the page length, Paradox
  155.   assumes the sheet of paper is completely out of the printer and
  156.   the top of the next sheet of paper is ready to be printed on.
  157.  
  158.   In some cases, this is not necessarily true.  If the page length
  159.   is set to 66 and the printer is only printing 60 lines per piece
  160.   of paper, then the paper will have "crept" six extra lines and
  161.   text will not appear at the top of the page.
  162.  
  163.   This can be fixed by having Paradox tell the printer to simply
  164.   eject (or "kick out") the current sheet of paper and to move the
  165.   next sheet into place.  To have Paradox do this, follow these
  166.   steps:
  167.  
  168.           a)      From the main Paradox menu, select {Tools} |
  169.                   {More} | {Directory} and look at the value
  170.                   displayed after "Directory:".  Make certain this
  171.                   is the directory where the Paradox .EXE files are
  172.                   located; if it is not, then adjust it
  173.                   accordingly, press <Enter> and then select <Ok>.
  174.  
  175.                   (Typically, Paradox files are located in a
  176.                   directory called C:\PDOX35 or C:\PARADOX3.  While
  177.                   this may not directly match your installation,
  178.                   these are good places to start looking if the
  179.                   actual location of the .EXE files is not known.)
  180.  
  181.           b)      Now, select {Scripts} | {Play}, type custom and
  182.                   press <Enter>.  This runs the Custom
  183.                   Configuration Program (CCP) script and allows you
  184.                   to change many of the default values Paradox
  185.                   uses.  Complete details about the CCP and the
  186.                   settings it changes (including the default page
  187.                   length) can be found in Chapter 14 of the Paradox
  188.                   User's Guide.
  189.  
  190.                   Note:  If an error message appears, Paradox is
  191.                          probably not set to the directory where
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.   PRODUCT  :  Paradox                                NUMBER  :  787
  207.   VERSION  :  2.0 & up
  208.        OS  :  DOS
  209.      DATE  :  September 11, 1991                       PAGE  :  4/6
  210.  
  211.     TITLE  :  Fixing a Report that "Creeps" Vertically
  212.  
  213.  
  214.  
  215.  
  216.                          the .EXE files are located.  Check into
  217.                          this and correct it by going back to step
  218.                          a).
  219.  
  220.           c)      Paradox will now display a "splash screen" for
  221.                   the CCP and may ask about the monitor currently
  222.                   connected to the PC.  Type <Y> or <N> as
  223.                   appropriate.  (Note: not all versions of Paradox
  224.                   do this.)
  225.  
  226.           d)      Now, select {Reports} | {FormFeed}.  At this
  227.                   point, Paradox displays a {LineFeeds} |
  228.                   {FormFeeds} menu.  Select {FormFeeds}.
  229.  
  230.                   Note:  Earlier Paradox versions display a {No} |
  231.                          {Yes} menu.  Select {Yes}.
  232.  
  233.           e)      Next, select the {Return} menu option that now
  234.                   appears on the right of the new menu and then
  235.                   select the {DO-IT!} option that appears near the
  236.                   right of the screen.  (If a {Defaults} | {DO-IT!}
  237.                   menu now appears, select {DO-IT!} again.)
  238.  
  239.           f)      If using a stand-alone copy of Paradox, i.e. one
  240.                   that is not installed on a network, then select
  241.                   {HardDisk}.  Otherwise, select the appropriate
  242.                   option for the location of the current private
  243.                   directory and type in the full drive letter and
  244.                   directory path of that directory when asked (for
  245.                   example: p:\public\username).  (The current
  246.                   private directory can be found by selecting {Net}
  247.                   | {SetPrivate} from the main CCP menu.)
  248.  
  249.           g)      Paradox now saves the changes made in the CCP and
  250.                   drops back to the DOS prompt.  Load Paradox as
  251.                   normal and print the report; there should not be
  252.                   any "creeping."
  253.  
  254.  
  255.   3.      The report design itself should not exceed the page
  256.           length of the report.
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.   PRODUCT  :  Paradox                                NUMBER  :  787
  273.   VERSION  :  2.0 & up
  274.        OS  :  DOS
  275.      DATE  :  September 11, 1991                       PAGE  :  5/6
  276.  
  277.     TITLE  :  Fixing a Report that "Creeps" Vertically
  278.  
  279.  
  280.  
  281.  
  282.   Following Parts 1 and 2 are generally all that is necessary to
  283.   keep most reports from "creeping."  In some cases though,
  284.   especially with free-form style reports, the actual report design
  285.   may be greater than the page length specified in Step 1.  If this
  286.   is the case, the report will have to be redesigned until it no
  287.   longer needs more lines than the printer can fit on a piece of
  288.   paper.
  289.  
  290.   Complete step-by-step instructions for this process are nearly
  291.   impossible to outline.  (After all, no two reports are the same.)
  292.   But, here are some guidelines that may help:
  293.  
  294.           a)      To see how many lines a report design requires,
  295.                   bring the report design onto the screen (see Part
  296.                   1, steps a) - d) for step-by-step directions) and
  297.                   press <Ctrl-V>.  This displays line numbers along
  298.                   the left side of the screen.  Press <End> to move
  299.                   to the bottom of the report and check the number
  300.                   above the horizontal double line.  If this number
  301.                   is greater than the page length set in Step 1,
  302.                   then the report must be redesigned.
  303.  
  304.           b)      To delete a line from the report design, move
  305.                   your cursor to the far left character position
  306.                   (using <Ctrl-Home>) and press <Ctrl-Y>.  This
  307.                   completely removes the current line from the
  308.                   report.  (For more information, see Chapter 3 of
  309.                   the Paradox Presenting Data manual.)
  310.  
  311.           c)      PAGEBREAK can be used to "breakup" a large report
  312.                   so it prints on more than one page.  To see how
  313.                   this keyword can be used, see Chapter 3 of
  314.                   Presenting Data.
  315.  
  316.           d)      If the report design uses line squeeze, group
  317.                   bands, or "word-wrapped" fields, Paradox may
  318.                   reserve a few lines for "bookkeeping" purposes.
  319.                   In this case, the report design should be less
  320.                   than the page length; the actual number of
  321.                   "reserved" lines varies according to the design
  322.                   of the report.  Experiment with various page
  323.                   lengths until the report no longer "creeps."
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.   PRODUCT  :  Paradox                                NUMBER  :  787
  339.   VERSION  :  2.0 & up
  340.        OS  :  DOS
  341.      DATE  :  September 11, 1991                       PAGE  :  6/6
  342.  
  343.     TITLE  :  Fixing a Report that "Creeps" Vertically
  344.  
  345.  
  346.  
  347.  
  348.           e)      Reports printed in "landscape mode" (i.e. "on
  349.                   their side") should have a page length no greater
  350.                   than 45 lines when printed at six lines per inch.
  351.  
  352.           f)      If the report cannot be redesigned to fit onto a
  353.                   single sheet of paper at six lines per inch, it
  354.                   may be possible to adjust the printer to print
  355.                   more than lines per inch.  Check the printer
  356.                   manual to see if (and how) this can be done.  Be
  357.                   sure to change the page length accordingly.
  358.  
  359.           g)      Some dot-matrix and daisy-wheel printers have a
  360.                   "perforation skip" setting to adjust for the edge
  361.                   of a sheet of paper.  This should be turned off.
  362.                   Consult the printer's manual for directions on
  363.                   how to do this.
  364.  
  365.           h)  Paradox's Presenting Data Guide is a good resource
  366.               for answers to specific report design questions.
  367.               Chapters 3, 4, and 5 are the relevant chapters to
  368.               review.
  369.  
  370.           i)      Compare the report output with the intended
  371.                   design.  In other words, "appearances may be
  372.                   deceiving;" the printer may be doing some
  373.                   additional formatting Paradox is not aware of.
  374.                   Print the report to a file and compare that file
  375.                   to the actual report output; differences may
  376.                   begin to show up.
  377.  
  378.                   A "pure" ASCII editor (i.e. one that does not put
  379.                   in  format codes) is a good tool for this.  The
  380.                   DOS EDLIN utility is particularly useful because
  381.                   it displays line numbers for each line in the
  382.                   file that can be compared to the corresponding
  383.                   lines of the report's output.
  384.  
  385.   This document has attempted to show the three most common causes
  386.   of report "creeping" while offering some specific advice and tips
  387.   on getting reports to print correctly.  If each of these
  388.   considerations is carefully examined, "creepy" reports should be
  389.   far less common.
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.