home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / pspr22.zip / PSPRINT.DOC < prev    next >
Text File  |  1994-07-08  |  22KB  |  552 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                 ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓ ▓   ▓ ▓▓▓▓▓
  23.                 ▓  ▓ ▓    ▓  ▓ ▓  ▓  ▓  ▓▓  ▓   ▓
  24.                 ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓  ▓  ▓ ▓ ▓   ▓
  25.                 ▓       ▓ ▓    ▓ ▓   ▓  ▓  ▓▓   ▓
  26.                 ▓    ▓▓▓▓ ▓    ▓  ▓ ▓▓▓ ▓   ▓   ▓
  27.  
  28.                   ┌─────────────────────────────┐
  29.                   │ PSPrint -- PostScript Print │
  30.                   │         Version 2.2         │
  31.                   └─────────────────────────────┘
  32.  
  33.  
  34.            Copyright 1993,1994 Control Enterprises, Inc.
  35.                         All rights reserved.
  36.  
  37. CONTENTS
  38. ────────
  39.  
  40.  1. What is PSPrint? .............................................. 3
  41.  2. New Release Updates Via E-Mail ................................ 3
  42.  3. Shareware ..................................................... 4
  43.  4. Legal Stuff ................................................... 4
  44.  5. Simple Printing ............................................... 5
  45.  6. Screen Interface .............................................. 5
  46.  7. Command Line .................................................. 6
  47.  8. PSPrint Options ............................................... 6
  48.  9. Response/Config Files ......................................... 8
  49. 10. Support ....................................................... 9
  50. 11. About Control Enterprises ..................................... 10
  51.  
  52.  
  53. 1. WHAT IS PSPRINT?
  54.    ────────────────
  55.  
  56. So you have a PostScript printer, which can produce beautiful
  57. documents with various fonts, faces, font sizes, illustrations...
  58. great.  But how do you print a plain old text file?  You can't just
  59. send it to the printer, because it is expecting PostScript commands.
  60. You can fire up your word processor, load the file, print it, and
  61. exit your word processor -- what a pain!
  62.  
  63. ...Or you can use PSPrint, a utility for printing ordinary text files
  64. on PostScript printers.  At Control Enterprises, we got tired of
  65. doing the "word processor shuffle" to print files, so we developed
  66. PSPrint for in-house use.  Headers and page numbers were added.  The
  67. programmers wanted line numbers.  The engineers wanted to be able to
  68. use small fonts on legal paper in landscape mode.  A screen interface
  69. was added.  ...And so PSPrint became a full-fledged utility, both
  70. powerful and easy to use.
  71.  
  72. SPECIAL FEATURES:  There are many text-to-PostScript converters in
  73. existence.  PSPrint shares features with many of them, but is
  74. distinguished from the others by certain special features:
  75.  - PSPrint has a screen interface in addition to the normal command-
  76.     line interface, making its controls simple for computer novices
  77.     and experts alike.
  78.  - PSPrint supports extended characters (line drawing, European
  79.     characters, etc.) for all the MS-DOS international character
  80.     sets: United States, Multilingual, Slavic, Portuguese,
  81.     Canadian-French, and Nordic.
  82.  
  83. SYSTEM REQUIREMENTS:  PSPrint runs on MS-DOS version 3.3 or higher.
  84. A PostScript printer is _not_ required, because you can have PSPrint
  85. output to a file, then take that file to another computer that
  86. _does_ have a PostScript printer.  (The other computer doesn't even
  87. have to be an MS-DOS machine, as long as you can find a way to
  88. transfer the file to it.)
  89.  
  90. NOTE:  For printing to some APPLE LASERWRITER and compatible printers,
  91. you may need to disable PSPrint's paper tray selection options.  See
  92. section 8, the -PTOFF and -PTON options.
  93.  
  94. INSTALLATION:  Just copy the file PSPRINT.EXE to the directory of
  95. your choice.  For example, to install it to a directory on the C
  96. drive named UTIL, enter the following command at the MS-DOS command
  97. prompt:
  98.  
  99.     copy psprint.exe c:\util
  100.  
  101.  
  102.  
  103. 2. New Release Updates via E-Mail
  104.    ──────────────────────────────
  105.  
  106. PSPrint is in a state of ongoing development, as we add new features
  107. that increase its usefulness.  You can be informed of each new release
  108. and any bug fixes via e-mail, by subscribing to the PSPrint mailing
  109. list.  To subscribe, send mail to majordomo@cei.com which includes
  110. the line "subscribe psprint <e-mail address>" (no quotes, the address
  111. is optional:  if not included, the return address of your mail will
  112. be used).  Should you later wish to unsubscribe, send a message with
  113. the line "unsubscribe psprint <address>".
  114.  
  115. Whether or not you subscribe to the list, you can obtain information
  116. and/or the latest version of PSPrint by sending the following messages
  117. to majordomo@cei.com :
  118.  
  119.    "index psprint" ----------- to get a listing of available files
  120.    "info psprint" ------------ to get the latest psprint info. and
  121.                                  descriptions of downloadable files
  122.    "get psprint {filename}" -- to download a specific uuencoded file            
  123.  
  124.  
  125.  
  126. 3. SHAREWARE
  127.    ─────────
  128.  
  129. PSPrint is shareware.  The basic idea behind shareware is that it
  130. gives users a chance to actually try the software before buying it.
  131. Here are some important points about PSPrint being shareware:
  132.  
  133.   a) PSPrint is not "public domain" software, but is copyrighted by
  134.      Control Enterprises, Inc.
  135.  
  136.   b) Unregistered copies of PSPrint are identified in the on-screen
  137.      title as "Shareware demo version".  These copies may be freely
  138.      copied and distributed, as long as the following conditions are
  139.      fulfilled:
  140.       - The files listed in PACKING.LST must be distributed together.
  141.       - The files must not be modified or altered in any way.
  142.  
  143.   c) If you find PSPrint useful, you are expected to pay for its use.
  144.      The cost is a mere $10.  See the file REGISTER.TXT for
  145.      instructions and a registration form.  If you do not have the
  146.      REGISTER.TXT file, you can get registration information in any
  147.      of the following ways:
  148.        e-mail  support@cei.com
  149.           fax  217-351-8576
  150.         phone  1-800-723-4234
  151.  
  152.   d) In return for your registration fee, you will receive a key
  153.      program which will transform your demonstration version of
  154.      PSPrint into a licensed copy without the shareware reminder
  155.      screen or usage counts.  LICENSED COPIES MAY NOT BE DISTRIBUTED.
  156.  
  157. In addition to the "try before you buy" idea, shareware has the
  158. advantage of having almost no distribution costs for us.  This allows
  159. us to price PSPrint extremely low.  If you like having access to
  160. inexpensive software and only paying for it after you decide you like
  161. it, please support shareware!
  162.  
  163.  
  164.  
  165. 4. LEGAL STUFF
  166.    ───────────
  167.  
  168. THE PSPRINT SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS" WITHOUT
  169. WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
  170. NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  171. FOR A PARTICULAR PURPOSE.  YOU ARE ADVISED TO TEST THE SOFTWARE
  172. THOROUGHLY BEFORE RELYING ON IT.  YOU AGREE TO ACCEPT THE ENTIRE RISK
  173. AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE AND DOCUMENTATION.
  174. IN NO EVENT WILL CONTROL ENTERPRISES, INC. BE LIABLE FOR DIRECT,
  175. INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY
  176. DEFECT IN THE PROGRAM.
  177.  
  178. Control Enterprises, Inc. reserves the right to make improvements to
  179. the product and documentation at any time and without notice.
  180.  
  181.  
  182.  
  183. 5. SIMPLE PRINTING
  184.    ───────────────
  185.  
  186. To print a file using PSPrint's default settings, just type PSPRINT
  187. followed by the file name.  For example, to print the file READ.ME,
  188. enter
  189.  
  190.   psprint read.me
  191.  
  192. at the MS-DOS command prompt.
  193.  
  194. Multiple file names may be specified, and the * and ? wildcards may
  195. be used.  For example, to print all files in the current directory
  196. with an extension of .TXT, as well as the file READ.ME, enter
  197.  
  198.   psprint *.txt read.me
  199.  
  200.  
  201.  
  202. 6. SCREEN INTERFACE
  203.    ────────────────
  204.  
  205. To use the screen interface to specify different settings, enter
  206. PSPRINT without any file names:
  207.  
  208.   psprint
  209.  
  210. The screen interface will be displayed, containing four types of
  211. controls: buttons, check boxes, radio buttons, and data entry fields.
  212.  
  213. Buttons
  214.   There are two buttons on the screen interface: OK and Cancel.  If
  215.   you choose OK, the choices on the screen are accepted; if you
  216.   choose Cancel, PSPrint exits without doing anything.  Pressing Esc
  217.   is a shortcut for Cancel from any point on the screen.  Pressing
  218.   Enter is a shortcut for OK, unless the Cancel button is
  219.   highlighted.
  220.  
  221.   If you're using a mouse, click the button you want.  When you're
  222.   using the keyboard, press Tab or Shift-Tab to move forward or back
  223.   from one item to another on the screen.  Each element is
  224.   highlighted when it becomes active.  A highlighted button can be
  225.   selected by pressing Spacebar or Enter.
  226.  
  227. Check boxes
  228.   Check boxes are used for options which are either on or off.  An
  229.   empty box indicates that the option is off, and an X in the box
  230.   indicates that it's on.  To change the status of a check box, click
  231.   it or its text.  From the keyboard, press Tab or Shift-Tab until
  232.   the check box group (labeled "Options") is highlighted; then use
  233.   the arrow keys to select the item you want, and press Spacebar to
  234.   turn it on or off.
  235.  
  236. Radio buttons
  237.   Radio buttons are like car-radio buttons.  They differ from check
  238.   boxes in that only one radio button in a group can be on at any
  239.   one time.  To choose a radio button, click it or its text.  From
  240.   the keyboard, press Tab or Shift-Tab until the group is highlighted;
  241.   then use the arrow keys to highlight the desired radio button, and
  242.   press Spacebar to select it.
  243.  
  244. Data entry fields
  245.   Data entry fields let you type in text.  You make a data entry
  246.   field active by clicking it or its label, or pressing Tab or
  247.   Shift-Tab until it's highlighted.
  248.  
  249.   The cursor can be moved by clicking with the mouse, or with the
  250.   left and right arrow keys.  Backspace and Delete, of course, delete
  251.   the previous and current characters, respectively.  The following
  252.   keys also have special meaning:
  253.  
  254.         Insert                  Toggle insertion/overwrite mode
  255.         Ctrl-Left arrow         Left by one word
  256.         Ctrl-Right arrow        Right by one word
  257.         Home                    Beginning of field
  258.         End                     Move to end of field
  259.         Ctrl-Home               Clear the field
  260.         Ctrl-End                Clear from the cursor to the end
  261.  
  262.   Remember that pressing Enter is equivalent to pressing OK.  Use
  263.   Tab or Shift-Tab to move between fields.
  264.  
  265.  
  266.  
  267. 7. COMMAND LINE
  268.    ────────────
  269.  
  270. Options can be specified on the command line, using the following
  271. syntax:
  272.  
  273.   psprint [options] [files]
  274.  
  275. Each option begins with either a - (dash) or / (forward slash),
  276. followed by the option letter.  Case is significant in option
  277. letters, so -p and -P are two different options.  Options must be
  278. separated by spaces, and are evaluated from left to right.
  279.  
  280. Certain options require additional data.  This data must follow the
  281. option letter, without any intervening spaces.  For example, to
  282. specify 4 as the data for the -t option, you would enter -t4.
  283.  
  284. To get help on the available command-line options, enter
  285.  
  286.   psprint -?
  287.  
  288.  
  289.  
  290. 8. PSPRINT OPTIONS
  291.    ───────────────
  292.  
  293.   Display help                                  -?
  294.     Display possible options and default values.
  295.  
  296.   Print headers and footers                     -h
  297.     Print file name, file date, and file time in page headers,
  298.     and print page numbers in the footers.
  299.  
  300.   Line numbering                                -n
  301.     Add line numbers to the printout.
  302.  
  303.   Both headers/footers and line numbers         -b
  304.     Shorthand for the above two options; a good "programmer's
  305.     option".
  306.  
  307.   Rotate to landscape mode                      -r
  308.     Rotate output 90 degrees.
  309.  
  310.   Print two pages on one sheet.                 -2
  311.     Shrink and rotate output so that two pages are printed on one
  312.     sheet of paper.  Because the output is shrunk, the font is
  313.     effectively halved in size; the default 10-point font becomes
  314.     5-point.  If you want a larger font, specify a larger size with
  315.     the -s (font size) option.  For example, if you want an effective
  316.     size of 8 points, specify a font size of 16.
  317.  
  318.   Font to use                                   -Fxxx
  319.     Use font xxx.  Default is PSPrint, a custom font which defines
  320.     extended characters (line drawing, European characters, etc.)
  321.     for the United States, Multilingual, Slavic, Portuguese,
  322.     Canadian-French, and Nordic MS-DOS character sets.
  323.  
  324.     Other fonts that are available on all PostScript printers are:
  325.         Times-Roman
  326.         Times-Italic
  327.         Times-Bold
  328.         Times-BoldItalic
  329.         Helvetica
  330.         Helvetica-Oblique
  331.         Helvetica-Bold
  332.         Helvetica-BoldOblique
  333.         Courier
  334.         Courier-Oblique
  335.         Courier-Bold
  336.         Courier-BoldOblique
  337.  
  338.     The PSPrint font and the Courier font family are monospaced.
  339.     Monospaced fonts should be used to print text that is aligned by
  340.     columns, such as programs or tables.  Consult your printer manual
  341.     for other fonts which may be available to you.
  342.  
  343.     At this time, the PSPrint font is somewhat crude: the line
  344.     drawing characters are too thick, and characters 0-31 are not
  345.     defined with the exception of the paragraph and section symbols.
  346.     However, the font should be sufficient for most purposes.
  347.  
  348.   Font size                                     -sxxx
  349.     Use font size of xxx points.  Default is 10.
  350.  
  351.   Line height                                   -Hxxx
  352.     Use line height of xxx points.  Default is 0.00, which tells
  353.     PSPrint to calculate the line height from the font size.
  354.  
  355.   Left margin                                   -Lxxx
  356.   Right margin                                  -Rxxx
  357.     Set left and right margins to xxx inches.  Default is 0.75
  358.     inches, minimum value is 0.25 inches.  Useful when punching holes
  359.     for 3-ring binders.
  360.  
  361.   Top margin                                    -Txxx
  362.   Bottom margin                                 -Bxxx
  363.     Set top and bottom margins to xxx inches.  Default is 0.45
  364.     inches, minimum value is 0.25 inches.  Useful for changing page
  365.     height.
  366.  
  367.   Tab size                                      -txxx
  368.     Set tab size to xxx.  Default value is 8 spaces.
  369.  
  370.   Output device/file                            -oxxx
  371.     Output to device or file xxx.  Default is default printer PRN.
  372.     Valid values for parallel ports are LPT1, LPT2, and LPT3.  Valid
  373.     values for serial ports are COM1, COM2, COM3, and COM4.  The
  374.     values PRN and LPT1 refer to the same parallel port.  Any valid
  375.     file name can also be designated; the output is a conforming
  376.     PostScript program which may be parsed by other utilities to
  377.     reverse the pages or print one page of many.
  378.  
  379.   From page                                     -axxx
  380.   To page                                       -zxxx
  381.     Output only the pages between From and To.  Default is from
  382.     page 1 to page 999.  When used with the "Print two pages to one
  383.     sheet" option (-2), the range may be extended slightly in order
  384.     to print two full pages on each sheet.
  385.  
  386.   Paper size                                    -px
  387.     Select paper size x, where x is one of the following:
  388.         l = Letter
  389.         g = Legal
  390.         a = A4
  391.     Default is l (Letter).  PSPrint will attempt to select an
  392.     appropriate paper tray automatically.
  393.  
  394.   Paper Input                                   -ix
  395.     Select which tray is used for paper input; x is one of the following:
  396.         1 = tray number one
  397.         2 = tray number two
  398.         a = automatically select tray based on paper size.  This is the
  399.             default (meaning you never actually have to use it, except
  400.             possibly to over-ride a default configuration file).
  401.  
  402.   Page breaks                                   -Px
  403.     Use page break style x, where x is one of the following:
  404.         n = Normal
  405.         i = Ignore form feeds
  406.         f = Page break only on form feeds
  407.     Default is n (Normal).  The -Pf option is useful for documents
  408.     which are already paginated.
  409.  
  410.   Disable/Enable Paper Tray Selection           -PTOFF, -PTON
  411.     Some printers (such as some Apple Laserwriters) do not recognize
  412.     the PostScript commands for selecting the paper tray.  If PSPrint
  413.     doesn't seem to work with your printer, try disabling these options
  414.     by typing "psprint -PTOFF".  This will modify the executable file
  415.     (psprint.exe) so that it no longer generates the PostScript paper
  416.     tray selection commands (the old psprint.exe will be stored as
  417.     psprint.bak).  If you later want to re-enable these options, type
  418.     "psprint -PTON".  The -PTOFF and -PTON options cannot be combined
  419.     with any other PSPrint options, and cannot be used when you want
  420.     PSPrint to print a file.
  421.     
  422.     NOTE:  This has only been tested under DOS.  Using these options
  423.     under (for ex.) a DOS shell from Windows-NT or OS2 is not guaranteed
  424.     to work.
  425.  
  426. 9. RESPONSE/CONFIG FILES
  427.    ─────────────────────
  428.  
  429. If you often use certain combinations of options, you can put the
  430. options into separate files called response files.  You can then
  431. tell PSPrint to use these options by specifying the appropriate
  432. response file name prefixed with @.  
  433.  
  434. If there is a certain combination of options that is used most
  435. frequently, you can put the options in a default configuration file
  436. (config file), named PSPRINT.CFG.  Any number of response files 
  437. and/or a config file can be used and freely mixed with other options.
  438.  
  439. The command line is processed from left to right.  Thus in the case
  440. of mutually exclusive options, the order of precedence is determined
  441. by placement on the command line.  For example, "psprint -s10 -s12"
  442. would result in 12 point type.  The same concept applies when mixing
  443. command line options with response files and/or a config file.  The
  444. default config file is processed first, so it can be overridden by
  445. response files and command line args.
  446.  
  447.  
  448. Options in response/config files may be separated by any number of
  449. spaces, tabs, or newlines.  The files may also contain comment lines,
  450. which are denoted by beginning a line with a semicolon.  For example,
  451. a response file named LIST might look like this:
  452.  
  453. ; list -- PSPrint options for program listings.
  454. -b -2
  455.  
  456. It can be used to print a file named FOO.CPP using paper tray number
  457. two by entering:
  458.  
  459.     psprint @list -i2 foo.cpp
  460.  
  461. Where does PSPrint look for response/config files?  In the case of
  462. response files, PSPrint will first look for the file as specified
  463. on the command line (if no path is included, this means it will
  464. look in the current working directory).  In the case of config files,
  465. PSPrint will first search the current working directory.  This
  466. allows you to have different reponse/config files depending on what
  467. project you are working on.
  468.  
  469. Then, PSPrint looks for a DOS environmental variable called 'home'.
  470. If it exists, PSPrint will try to interpret it as a path name, and
  471. look for response/config files there.  This allows everyone on a
  472. network to have their own response/config files.
  473.  
  474. The last place PSPrint will look is the directory where PSPrint is
  475. installed.  On a network, this makes it possible to have a standard
  476. config file (or set of response files) in PSPrint's directory, which
  477. can be overridden by personalized response/config files.
  478.  
  479.  
  480. For example, let us say that you are at D:\PROJ, that PSPRINT.EXE
  481. is installed at I:\UTILS, and that the DOS environmental variable
  482. 'home' is set to L:\DEFAULTS\ (to do this, type
  483. "set home=L:\DEFAULTS\").  If you enter
  484.  
  485.     psprint @c:\fluff\bar.rsp
  486.  
  487. PSPrint will search for a config file (PSPRINT.CFG) at D:\PROJ, then 
  488. at L:\DEFAULTS, and then at I:\UTILS.  PSPrint will then look for a 
  489. response file named BAR.RSP; first at C:\FLUFF, then at L:\DEFAULTS, 
  490. then at I:\UTILS.  If a response file that you specified is not found, 
  491. PSPrint will give you an error message.  However, PSPrint will not 
  492. produce an error message if it did not find a default config file.
  493.  
  494. Remember that if you do not specify any files to print, the screen
  495. interface will be used; so in the example above, the screen interface
  496. will be displayed with the options initially set according to the
  497. response file (and the config file, if one exists).
  498.  
  499.  
  500.  
  501. 10. SUPPORT
  502.    ───────
  503.  
  504. Questions, comments, and bug reports can be e-mailed to
  505. support@cei.com.  Please put "PSPrint" somewhere in the subject
  506. line.
  507.  
  508. The latest version of PSPrint is available from the following
  509. sources:
  510.  
  511.     Anonymous FTP ─
  512.         prairienet.org, under pub/cei, or
  513.         Simtel mirror sites, under msdos/postscript
  514.             (oak.oakland.edu and wuarchive.wustl.edu are
  515.             two major Simtel mirrors)
  516.  
  517.     CompuServe ─
  518.         (go adobe) utilities library, or
  519.         (go ibmhw) printer utility library
  520.  
  521.     GEnie ─
  522.         IBMPC Roundtable, or
  523.         PSRT Roundtable
  524.  
  525.     Control Enterprises bulletin board ─
  526.         Phone number: (217)351-3122
  527.         Parameters:   8-N-1
  528.         Modem speed:  up to 14.4K
  529.         Login name:   guest
  530.         Protocol:     ZModem
  531.  
  532.     Prairienet ─
  533.     Our 'home' net is Prairienet, the free-net of East Central
  534.     Ilinois.  (Why not take the time to become a registered member --
  535.     it is FREE to Illinois residents.)
  536.         Phone number: (217)255-9000
  537.         Parameters:   8-N-1
  538.         Modem speed:  up to 2400 baud (16 lines)
  539.         Login as visitor, then 'go cei'
  540.  
  541.  
  542.  
  543. 11. ABOUT CONTROL ENTERPRISES
  544.     ─────────────────────────
  545.  
  546. Control Enterprises, Inc. is a contract software development and
  547. control systems engineering firm.  The company was founded in 1979 as
  548. a one-man, chemical engineering consulting firm, and has since grown
  549. to 13 employees.  We are located in Savoy, Illinois, just outside
  550. Champaign-Urbana.  If you need custom software or control systems,
  551. give us a call!
  552.