home *** CD-ROM | disk | FTP | other *** search
- (C) Copyright IBM Corp. 1992, 1993
-
- v2.15 has increased stack and buffer sizes for improved robustness
- with OS/2 2.1 32 bit graphics engine, minor changes, and new advice
- in the Extended Help provided by textorps.hlp for installation
- techniques and parameters which provide more robust operation
- with some drivers that insert printer-specific control strings
- in front of PostScript jobs causing them to be printed as text by
- TEXTorPS. Please install the .hlp file and read the extended help.
-
- TEXTorPS is an application program that can enhance the usability of
- OS/2 PostScript printers by permitting the user to leave the printer in
- PostScript mode and still print text sent to the printer spooler by
- applications which are not PostScript aware. When TEXTorPS is running,
- PostScript printer jobs are undisturbed, but other text files are
- modified by the insertion of a PostScript program to interpret the job
- as ASCII text. The user may specify the font, typesize, line spacing,
- margins, orientation, page numbers and strings on each page.
-
- The ASCII text mode which is supported is not the full PPDS
- datastream mode, and does not support graphics, control
- characters other than CR/LF, FF, TAB, SI , SO, DC2, DC4,
- esc-E, esc-F, and esc-:. An attempt is made to print unsupported
- characters as blanks and ignore unsupported esc sequences, but
- esc sequences containing the character ctrl-D (hex 04) will
- cause the printout to fail. Support of SI,SO is not identical
- to PPDS mode but may be acceptable. The single and double rule
- characters are replaced by single rules and corners by blanks.
- The National Language Characters of codepage 850
- are available as an option.
-
- Starting TEXTorPS
-
- TEXTorPS uses a character device monitor installed
- on any LPTn port device. It optionally redirects
- output to a second printer device which may be on a LAN.
- Normally you want to install TEXTorPS
- using the command
-
- TEXTORPS lpt1
-
- If you want to install TEXTorPS for a printer on a LAN, say
- LPT3, you need to also define a printer (drag from the printer
- template in OS/2 2.0 and select PostScript driver) for a printer
- port for which there is no physical printer attached: say LPT2.
- Set the LPT2 printer as the default printer. In this case, the command is
-
- TEXTORPS lpt2 lpt3
-
- Now text and PostScript data sent to LPT2 will be redirected
- to lpt3 and text will be converted to PostScript. You also need to issue
- NET USE LPT3 \\server\queue for the lan printer, or equivalent.
-
- Files dragged to the printer icon may be selected to be
- "printer specific" to obtain the TEXTorPS formatting.
- The default system conversion to text is obtained by selecting
- "plain text" for the printer file contents.
-
- Jobname (or dataset name if copy dsn lpt1 is used) is now
- working in OS/2 2.0.
-
- More information is available through the Help Menu
-
- For help about any control on any window, select the control
- and press F1. Use the tab key to move to controls without
- activating them.
-
- Installing TEXTorPS
-
- Unzip TXT2PS.ZIP using the command PKUNZIP TXT2PS.ZIP.
- Program parameters should be
- LPT1
- for a typical installation.
- In addition to copying TEXTORPS.EXE to a directory on the
- path, or installing it in a Program Group, you may want to
- consider automatic startup. To be able to use the online
- help information, be sure to place
- set HELP = c:\path in config.sys,
- where 'path' contains the directory in which TEXTORPS.HLP is
- installed, or copy TEXTORPS.HLP to C:\OS2\HELP
-
- Be sure that a PostScript driver has been
- installed and connected to the logical port you will be
- using. The correct driver name will probably start with PSCRIPT.
-
- Start the program with the command syntax above; select margins if desired,
- minimize the window.
-
- Software required: OS/2 2.0 or later with installed PSCRIPT driver
- Hardware required: Any PostScript printer.
-
- Brief comments on options and dialog boxes:
-
- Best way to start program is with parameter LPTn
- where n is 1 or 2 depending on where your printer is attached.
- Then select the Text Options submenu from the menu line.
-
- Margins - On this screen you can select the paper size and
- text margins, also the paper orientation. The paper.
- length should always be larger than the width. The
- margins are the distances from the respective edges
- of the paper for the body of printed text. When in
- landscape mode (sideways printing), the top margin
- is the distance between the long side of the paper
- and the top line of text (top, right etc. follow the
- printing, not the paper).
- Note for landscape mode it is NOT necessary to try
- to place the printer in landscape mode. On the other hand,
- the paper size settings are not sent to the printer-
- they are just used to decide where to print. You should
- set the printer paper size by hand when changing sizes.
-
- Font - On this screen you can select the typeface and size
- for text printing. The typefaces shown are for the IBM4019
- and the PostScript FontCard. The program
- does not check that a fontcard is installed, invalid fonts
- may result in Courier being used as default or in no output
- if a software error results from a sufficiently invalid name.
- Line spacing is 1.2 times type size so 10 pt type is printed
- at 6 lines per inch. The options Oblique/Italic and Bold
- are not applicable to all fonts.
- Symbol, for example, has no Italic form. Italic will
- be ignored in that case and no error message produced.
- Similarly Helvetica Light will ignore the Bold option.
- Type size is set by clicking on the desired number.
- Click on the scrollbar arrows to see more values. The
- accepted range is 5 pts to 72 pts (72 pts= 1 inch or 25.4 mm).
- Courier and its variants are the only non proportional
- fonts and should be used if column alignment is critical.
-
- Pagination- On this screen you can specify one or two strings to be printed
- in the upper or lower margins of each page, and an optional
- page number. The strings S1 and S2 are edit boxes accepting
- a maximum of 32 characters. Group boxes allow selection
- of what is printed at each of 4 places on the page:
- TC: O S1 place String S1 at top center
- O S2 place String S2 at top center
- O N place page number at top center
- O place nothing at top center.
-
- TR: top right. BC: bottom center BR: bottom right.
-
- The type size box on this screen applies to all of these items
- which are printed inside the left and right margins and
- outside the top and bottom margins. The centered strings
- are centered between the margins, not on the paper. Note
- that if you want vary large page numbers, for example, it
- may be necessary to increase the top or bottom margin size.
- The Save button on this screen is equivalent to the
- Save Defaults submenu choice: it saves ALL options for future
- default use.
-
- Save Defaults- Selecting this option will cause all settings: Font,
- margins, paper orientation, page number instructions, etc
- (but not the printer device name )
- to be saved in the user.ini system file. About 30 variables
- are saved. The first time this is done, considerable disk
- activity is required as keys are added to the system file.
- The application keyname is "TEXTORPS". Once this has
- been done, at all future loads of the program the default
- values will override the command line information, except for
- the printer device name.
-
-
- Beeping- A two tone beep indicates that the character device
- monitor thread was unable to open a monitor on the
- specified device (port). This usually means the first
- parameter specified does not match a printer port.
-
- Online Help See the online Extended Help and Help Index for additional
- information. Press F1 after tabbing to any option for
- more information specfic to that option.
-