RISC OS 3.7 User Guide
Printer definition files are used by the printer manager application !Printers. They define how the operating system translates the characters in the document into signals that can be used by the printer to print the document.
The instructions list the exact operations you need to perform in each PrintEdit window. You will not need a full understanding of the features of PrintEdit.
This chapter gives you an overview of the functions of PrintEdit. This chapter should give you enough information to enable you to use PrintEdit to alter one of the existing printer definition files.
Before you can use PrintEdit you should
The Printer class represents a type of printer; it determines which processing type Printers uses for the printer. Use dp for dot matrix and other bit-image printers and lj for HP LaserJet compatibles. This application cannot be used for defining printer definition files for PostScript printers.
Printer type is the full name of the printer. If you are creating an alternative version of a standard printer definition file, alter this name.
Printer name is the name you want to appear underneath the printer icon on the icon bar. The name can be up to 10 characters long. If you are creating an alternative version of a standard printer definition file, alter this name.
Sprite name is the sprite to be used as the printer icon on the icon bar. These can again be dp for dot matrix and other bit-image printers and lj for HP LaserJet compatibles. You can also define your own sprites for this icon.
If your printer can use the Fast Parallel Interface then choose this option. Check in the printer ReadMe file for information; if you're not sure, don't use this option.
The paper offsets represent the top (Y) and left (X) sections of the paper on which the printer cannot physically print.
The Paper Y offset is the amount of cut sheet paper which has already gone past the print head before it can print anything; this differs for different printer models.
The Paper X offset is the small section at the lefthand edge on which the head cannot print, although why this is so is not always obvious. Together the paper offsets define the logical (0,0) origin on the physical paper. The Printers.Read_Me file contains details on using the Printers.Top_Left file to set the offsets for Epson and IBM-compatible dot matrix printers. Offsets only affect graphics printing.
Default paper size defines the standard paper type used by the printer.
Graphics modes displays how many graphics modes have been defined for this printer.
Default resolution defines the resolution that will be picked when you first install the printer.
Default quality defines the print quality that will be picked when you first install the printer.
Text modes defines the type of text modes your printer can use. Find this information out from your printer manual.
For the rest of this chapter you should have your printer manual ready so that you can look up the information required by PrintEdit. It may also help to have the Help application active, as this will give you quick summaries about the function of each field in the dialogue boxes.
The Dump quality boxes should normally all be ticked, as the software supports these features on all printers. However, don't tick the colour options unless you have a colour printer.
Output order defines how the image is printed. Most printers, like the Epson, use Vertical. Some, like the Integrex, use Horizontal. Note that when Horizontal order has been selected many of the other Dump information and Dump strings settings either become irrelevant, or must be set to certain values.
X (horizontal) and Y resolution (vertical) define the graphics resolution in dots per inch. These should be given in your printer manual, but may be in different units. The printer manual will usually quote resolutions before vertical interlacing has been applied (see later), so in this case the manual would quote 240x72dpi, rather than 240x216dpi (since 216/3 = 72). The manual is also likely to give dots per line rather than dots per inch for the horizontal resolution; for example, 960 dots per line on 8 inch paper is 120dpi horizontal resolution. The vertical resolution is often omitted altogether, in which case it is likely to be 72dpi for 9-pin printers, 180dpi for 24-pin printers doing 24-pin graphics, 60dpi for Epson 24-pin printers doing emulated 8-pin graphics, and 72dpi for IBM 24-pin printers doing emulated 8-pin graphics.
Module name and Module number define the dumper files used by the printer. These are currently four dumper files, although more can be defined if needed.
PDumperDM
: Module number 1 (dot-matrix and other bit-image printers)
PDumperLJ
: Module number 2 (HP LaserJet compatible printers)
PDumperIW
: Module number 3 (Apple Imagewriter II compatible printers)
PDumperE2: Module number 6 (ESC/P2 compatible printers, such as the Epson Stylus Colour printer)
Palette file defines the Palette file - this is currently set to zero or one.
Skip resolution defines the leading zero skip resolution of the dump. This is always 60 for Epson printers and 120 for IBM printers.
Dump depth is the depth of one group of interlace passes.
Dump height is the number of rows of pixels in each vertical pass. This is the same as the number of pins on the print head; a 24-pin printer would print 24 dots.
X interlace defines the number of horizontal interlace passes.
Y interlace defines the number of vertical interlace passes.
Data length multiplier and Data length added. For Epson printers, you specify a line of graphics by saying '<27><42><0><number of columns>'. For IBM printers, you need '<27>[g<number of columns times 6 (or 3) plus 1><graphics mode>'. So, for Epson printers, the Data length multiplier is 1 and Data length added is 0. For IBM printers, Data length multiplier is either 6 or 3, and Data length added is 1.
Compression should be selected if the printer supports this option.
The Output order choices do not apply for this class of printer.
These are codes sent to the printer that tell it to perform certain actions.
Set lines is the string set to define the number of lines per page.
Page start is the string sent at the start of a page.
Form feed is the form feed character. The string sent to the printer to tell it to form feed the paper after each page has been printed.
Page end is the string sent at the end of each page.
Line return moves the print head to the beginning of the line. Usually this will be a carriage return.
Line skip moves the print head to the beginning of the next line. It is used for skipping entirely blank lines.
Line end 1 to Line end 3 are the strings sent at the end of each vertical interlace pass. There can be up to three passes.
Zero skip is issued to skip leading zeros on graphics data lines, hence optimising out the white section at the left hand edge of the paper.
Line start 1 is the string sent at the beginning of a graphics line. For Epson printers, Line start 2 is not needed. For IBM printers, Line start 2 must be '<graphics mode>', while Line start 1 is '<27>[g'.
Line pass is the string sent for each pass of a colour graphics dump. There can be up to four passes.
Choose which text modes your printer will use by clicking on the cross or tick next to each Text mode button. Changing to a tick allows you to select that mode.
Display the text mode window by clicking on the appropriate text mode button. Here are the Text draft highlights settings for the Epson FX85.
Set lines sets the number of lines per page.
Do backspace moves the print head back one space.
Do tab moves the print head to the next tab.
Do formfeed starts a new page.
Do start of line moves the print head to the start of the line.
Do new line moves the print head to the beginning of the next line.
Start of text job is the string that denotes the start of a text print.
End of text job is the string sent at the end of a text print.
Select pica font sets pica font (10cpi).
Select elite font sets elite font (12cpi).
Select condensed font sets condensed font (17cpi).
Select expanded font sets expanded font (6cpi).
Turn bold on sets bold text on.
Turn bold off sets bold text off.
Turn italics on sets italic text on.
Turn italics off sets italic text off.
Turn light on sets light text on.
Turn light off sets light text off.
Turn superscript on sets superscript text on.
Turn superscript off sets superscript text off.
Turn subscript on sets subscript text on.
Turn subscript off sets subscript text off.
Turn underline on sets underline text on.
Turn underline off sets underline text off.
Mapping is done from the Edit character mappings window. Here is part of the Epson FX85's character mappings.
The number down the left column represents the Acorn character in decimal; next to it is the Acorn character itself. To the right of the arrow are the commands sent to the printer that reproduce the same character.
If you want to discard any changes you have made and start again click on Restart.
To finish using the application, chose Quit from the icon bar