home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR16 / PSP2_0.ZIP / PSPRINT.DOC < prev    next >
Text File  |  1993-11-19  |  13KB  |  362 lines

  1.  
  2.                     PSPrint -- PostScript Print
  3.                             Version 2.0
  4.  
  5.           Copyright (c) 1993 by Control Enterprises, Inc.
  6.                          All rights reserved.
  7.  
  8.  
  9. CONTENTS
  10.   1. What is PSPrint?
  11.   2. Registering PSPrint
  12.   3. Legal Stuff
  13.   4. Simple Printing
  14.   5. Screen Interface
  15.   6. Command Line
  16.   7. PSPrint Options
  17.   8. Response Files
  18.   9. Support
  19.  10. About Control Enterprises
  20.  
  21.  
  22.  
  23. 1. WHAT IS PSPRINT?
  24.    ~~~~~~~~~~~~~~~~
  25.  
  26. So you have a PostScript printer, which can produce beautiful
  27. documents with various fonts, faces, font sizes, illustrations...
  28. great.  But how do you print a plain old text file?  You can't just
  29. send it to the printer, because it is expecting PostScript commands.
  30. You can fire up your word processor, load the file, print it, and
  31. exit your word processor -- what a pain!
  32.  
  33. ...Or you can use PSPrint, a utility for printing ordinary text files
  34. on PostScript printers.  At Control Enterprises, we got tired of
  35. doing the "word processor shuffle" to print files, so we developed
  36. PSPrint for in-house use.  Headers and page numbers were added.  The
  37. programmers wanted line numbers.  The engineers wanted to be able to
  38. use small fonts on legal paper in landscape mode.  A screen interface
  39. was added.  ...And so PSPrint became a full-fledged utility, both
  40. powerful and easy to use.
  41.  
  42.  
  43.  
  44. 2. REGISTERING PSPRINT
  45.    ~~~~~~~~~~~~~~~~~~~
  46.  
  47. PSPrint is shareware.  It is not "public domain" software, but is
  48. copyrighted (c) 1993 by Control Enterprises, Inc.  The demonstration
  49. version may be freely copied and distributed, as long as the
  50. following conditions are fulfilled:
  51.  
  52.   - The program is distributed with complete documentation.
  53.   - The program and documentation are not altered in any way.
  54.  
  55. If you find PSPrint useful, please send $10 (US dollars) to:
  56.  
  57.         Control Enterprises, Inc.
  58.         P.O. Box KK
  59.         1808 Woodfield Dr.
  60.         Savoy, IL 61874
  61.         U.S.A.
  62.  
  63. See the file REGISTER.TXT for instructions and a registration form.
  64. Visa and MasterCard are accepted, so registration may be done by
  65. e-mail (support@cei.com), fax (217-351-8576), or phone
  66. (1-800-723-4234).
  67.  
  68. In return for your $10 contribution, you will receive a key program
  69. which will transform your demonstration version into a licensed copy
  70. without the shareware reminder screen or usage counts.  LICENSED
  71. COPIES MAY NOT BE DISTRIBUTED.  Company, site, and LAN licenses are
  72. available.
  73.  
  74.  
  75.  
  76. 3. LEGAL STUFF
  77.    ~~~~~~~~~~~
  78.  
  79. THE PSPRINT SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS" WITHOUT
  80. WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
  81. NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  82. FOR A PARTICULAR PURPOSE.  YOU ARE ADVISED TO TEST THE SOFTWARE
  83. THOROUGHLY BEFORE RELYING ON IT.  YOU AGREE TO ACCEPT THE ENTIRE RISK
  84. AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE AND DOCUMENTATION.
  85. IN NO EVENT WILL CONTROL ENTERPRISES, INC. BE LIABLE FOR DIRECT,
  86. INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY
  87. DEFECT IN THE PROGRAM.
  88.  
  89. Control Enterprises, Inc. reserves the right to make improvements to
  90. the product and documentation at any time and without notice.
  91.  
  92.  
  93.  
  94. 4. SIMPLE PRINTING
  95.    ~~~~~~~~~~~~~~~
  96.  
  97. To print a file using PSPrint's default settings, just type PSPRINT
  98. followed by the file name.  For example, to print the file READ.ME,
  99. enter
  100.  
  101.   psprint read.me
  102.  
  103. at the command prompt.
  104.  
  105. Multiple file names may be specified, and the * and ? wildcards may
  106. be used.  For example, to print all files in the current directory
  107. with an extension of .TXT, as well as the file READ.ME, enter
  108.  
  109.   psprint *.txt read.me
  110.  
  111.  
  112.  
  113. 5. SCREEN INTERFACE
  114.    ~~~~~~~~~~~~~~~~
  115.  
  116. To use the screen interface to specify different settings, enter
  117. PSPRINT without any file names:
  118.  
  119.   psprint
  120.  
  121. The screen interface will be displayed, containing four types of
  122. controls: buttons, check boxes, radio buttons, and data entry fields.
  123.  
  124. Buttons
  125.   There are two buttons on the screen interface: OK and Cancel.  If
  126.   you choose OK, the choices on the screen are accepted; if you
  127.   choose Cancel, PSPrint exits without doing anything.  Pressing Esc
  128.   is a shortcut for Cancel from any point on the screen.  Pressing
  129.   Enter is a shortcut for OK, unless the Cancel button is
  130.   highlighted.
  131.  
  132.   If you're using a mouse, click the button you want.  When you're
  133.   using a keyboard, press Tab or Shift-Tab to move forward or back
  134.   from one item to another on the screen.  Each element is
  135.   highlighted when it becomes active.  A highlighted button can be
  136.   selected by pressing Spacebar or Enter.
  137.  
  138. Check boxes
  139.   Check boxes are used for options which are either on or off.  An
  140.   empty box indicates that the option is off, and an X in the box
  141.   indicates that it's on.  To change the status of a check box, click
  142.   it or its text.  From the keyboard, press Tab or Shift-Tab until
  143.   the check box group (labelled "Options") is highlighted; then use
  144.   the arrow keys to select the item you want, and press Spacebar to
  145.   turn it on or off.
  146.  
  147. Radio buttons
  148.   Radio buttons are like car-radio buttons.  They differ from check
  149.   boxes in that only one radio button in a group can be on at any
  150.   one time.  To choose a radio button, click it or its text.  From
  151.   the keyboard, press Tab or Shift-Tab until the group is highlighted;
  152.   then use the arrow keys to highlight the desired radio button, and
  153.   press Spacebar to select it.
  154.  
  155. Data entry fields
  156.   Data entry fields let you type in text.  You make a data entry
  157.   field active by clicking it or its label, or pressing Tab or
  158.   Shift-Tab until it's highlighted.
  159.  
  160.   The cursor can be moved by clicking with the mouse, or with the
  161.   left and right arrow keys.  Backspace and Delete, of course, delete
  162.   the previous and current characters, respectively.  The following
  163.   keys also have special meaning:
  164.  
  165.         Insert                  Toggle insertion/overwrite mode
  166.         Ctrl-Left arrow         Left by one word
  167.         Ctrl-Right arrow        Right by one word
  168.         Home                    Beginning of field
  169.         End                     Move to end of field
  170.         Ctrl-Home               Clear the field
  171.         Ctrl-End                Clear from the cursor to the end
  172.  
  173.   Remember that pressing Enter is equivalent to pressing OK.  Use
  174.   Tab or Shift-Tab to move between fields.
  175.  
  176.  
  177.  
  178. 6. COMMAND LINE
  179.    ~~~~~~~~~~~~
  180.  
  181. Options can be specified on the command line, using the following
  182. syntax:
  183.  
  184.   psprint [options] [files]
  185.  
  186. Each option begins with either a - (dash) or / (forward slash),
  187. followed by the option letter.  Case is significant in option
  188. letters, so -p and -P are two different options.  Options must be
  189. separated by spaces, and are evaluated from left to right.
  190.  
  191. Certain options require additional data.  This data must follow the
  192. option letter, without any intervening spaces.  For example, to
  193. specify 4 as the data for the -t option, you would enter -t4.
  194.  
  195. To get help on the available command-line options, enter
  196.  
  197.   psprint -?
  198.  
  199.  
  200.  
  201. 7. PSPRINT OPTIONS
  202.    ~~~~~~~~~~~~~~~
  203.  
  204.   Display help                                  -?
  205.     Display possible options and default values.
  206.  
  207.   Print headers and footers                     -h
  208.     Print file name, file date, and file time in page headers,
  209.     and print page numbers in the footers.
  210.  
  211.   Line numbering                                -n
  212.     Add line numbers to the printout.
  213.  
  214.   Both headers/footers and line numbers         -b
  215.     Shorthand for the above two options; a good "programmer's
  216.     option".
  217.  
  218.   Rotate to landscape mode                      -r
  219.     Rotate output 90 degrees.
  220.  
  221.   Print two pages on one sheet.                 -2
  222.     Shrink and rotate output so that two pages are printed on one
  223.     sheet of paper.
  224.  
  225.   Global page numbering                         -g
  226.     Print successive files without resetting the page number to 1
  227.     for each file.
  228.  
  229.   Paper size                                    -px
  230.     Select paper size x, where x is one of the following:
  231.         l = Letter
  232.         g = Legal
  233.         a = A4
  234.     Default is l (Letter).  PSPrint will attempt to select an
  235.     appropriate paper tray automatically.
  236.  
  237.   Page breaks                                   -Px
  238.     Use page break style x, where x is one of the following:
  239.         n = Normal
  240.         i = Ignore form feeds
  241.         f = Page break only on form feeds
  242.     Default is n (Normal).  The -Pf option is useful for documents
  243.     which are already paginated.
  244.  
  245.   Font to use                                   -Fxxx
  246.     Use font xxx.  Default is Courier.  The standard fonts that are
  247.     available on all PostScript printers are:
  248.  
  249.         Times-Roman
  250.         Times-Italic
  251.         Times-Bold
  252.         Times-BoldItalic
  253.         Helvetica
  254.         Helvetica-Oblique
  255.         Helvetica-Bold
  256.         Helvetica-BoldOblique
  257.         Courier
  258.         Courier-Oblique
  259.         Courier-Bold
  260.         Courier-BoldOblique
  261.  
  262.     The Courier font family is fixed-pitch; that is, each character
  263.     has the same width.  Fixed-pitch fonts should be used to print
  264.     text that is aligned by columns, such as programs or tables.
  265.     Consult your printer manual for other fonts which may be
  266.     available to you.
  267.  
  268.   Type size                                     -sxxx
  269.     Use type size of xxx.  Default is 10.
  270.  
  271.   Left/right margins                            -Lxxx
  272.     Set left and right margins to xxx inches.  Default is 0.75
  273.     inches, minimum value is 0.25 inches.  Useful when punching holes
  274.     for 3-ring binders.
  275.  
  276.   Top/right margins                             -Txxx
  277.     Set top and bottom margins to xxx inches.  Default is 0.45
  278.     inches, minimum value is 0.25 inches.  Useful for changing page
  279.     height.
  280.  
  281.   Start global page numbering at                -Gxxx
  282.     Print successive files without resetting the page number to 1
  283.     for each file, beginning numbering at page xxx.
  284.  
  285.   Tab size                                      -txxx
  286.     Set tab size to xxx.  Default value is 8 spaces.
  287.  
  288.   Output device/file                            -oxxx
  289.     Output to device or file xxx.  Default is default printer PRN.
  290.     Valid values for parallel ports are LPT1, LPT2, and LPT3.  Valid
  291.     values for serial ports are COM1, COM2, COM3, and COM4.  The
  292.     values PRN and LPT1 refer to the same parallel port.  Any valid
  293.     file name can also be designated; the output is a conforming
  294.     PostScript program which may be parsed by other utilities to
  295.     reverse the pages or print one page of many.
  296.  
  297.  
  298.  
  299. 8. RESPONSE FILES
  300.    ~~~~~~~~~~~~~~
  301.  
  302. If you often use certain combinations of options, you can put the
  303. options into a separate file called a response file.  You can then
  304. tell PSPrint to use these options by specifying the appropriate file
  305. name prefixed with @.  You can specify any number of such files, and
  306. mix them freely with other options and file names.
  307.  
  308. Options in response files may be separated by any number of spaces,
  309. tabs, or newlines.  The files may also contain comment lines, which
  310. are denoted by beginning a line with a semicolon.  For example, a
  311. response file named LIST might look like this:
  312.  
  313. ; list -- PSPrint options for program listings.
  314. -b -2
  315.  
  316. If this file is saved in your current directory or in the same
  317. directory where PSPrint is, then it can be used to print a file named
  318. FOO.CPP by entering
  319.  
  320.     psprint @list foo.cpp
  321.  
  322. PSPrint first looks for the response file "as is" -- in this case, in
  323. your current directory.  If it's not found there, then it searches
  324. the directory where PSPrint resides.  On a network, this makes it
  325. possible to have a set of standard response files in PSPrint's
  326. directory which can be overridden by personalized response files.
  327.  
  328. For example, let us say that D:\UTILS is in your path, and that
  329. PSPRINT.EXE is in that directory.  If you enter
  330.  
  331.     psprint @c:bar.rsp
  332.  
  333. then PSPrint will search for a response file named BAR.RSP on the
  334. current directory of the C: drive.  If it cannot find it there, then
  335. it will search in D:\UTILS.
  336.  
  337. Remember that if you do not specify any file names, the screen
  338. interface will be used, so in the example above, the screen interface
  339. will be displayed with the options initially set according to the
  340. response file.
  341.  
  342.  
  343.  
  344. 9. SUPPORT
  345.    ~~~~~~~
  346.  
  347. Questions, comments, and bug reports can be e-mailed to
  348. support@cei.com.  Please put "PSPrint" somewhere in the subject
  349. line.
  350.  
  351.  
  352.  
  353. 10. ABOUT CONTROL ENTERPRISES
  354.     ~~~~~~~~~~~~~~~~~~~~~~~~~
  355.  
  356. Control Enterprises, Inc. is a contract software development and
  357. control systems engineering firm.  The company was founded in 1979 as
  358. a one-man, chemical engineering consulting firm, and has since grown
  359. to 13 employees.  We are located in Savoy, Illinois, just outside
  360. Champaign-Urbana.  If you need custom software or control systems,
  361. give us a call!
  362.