Support
Using !PrintEdit

There is a section in the RISC OS Application Guide that explains in more detail how to use PrintEdit.

PrintEdit can be used to create new and alter existing printer definition files to suit currently un-supported printers.

The following section contains a brief overview of how to use PrintEdit to alter a suitable Printer Definition File to suit a new printer

To use PrintEdit, find a Printer Definition File that best suits your printer, load it into PrintEdit by Double clicking on !PrintEdit then drop the Printer Definition File on to the PrintEdit window.

Make sure you have the user guide and technical manual for your printer before you start to edit your file.

The PrintEdit window

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. 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.

  • Edit no highlights defines the simplest print options of plain text only.
  • Edit draft highlights includes all the standard highlights such as bold, italic, superscript and subscript in draft mode.
  • Edit NLQ highlights is the same as Edit draft highlights but for the NLQ (Near Letter Quality) mode.
  • Edit character mappings allows a character from the Acorn ISO8859 character set to be converted to the same character in the printer's character set.

Graphics Mode
Display the Graphics modes dialogue box by clicking on the right arrow by the Graphics modes entry. Choose an existing resolution to edit or New resolution if you want to start afresh. In most cases it is probably easier to edit an existing file and tailor it to your needs. Here is the Graphics mode window for the Epson at a resolution of 240x216dpi.

Dump information
The first part of the window gives the Dump information - the information the printer uses to print correctly.

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). 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.

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.

Dump Strings

The second part of the window gives the Dump strings (use the scroll bar to see this).

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.

Text modes

Almost all printers can use the first two text modes and many also support an NLQ (Near Letter Quality) mode.

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.

Edit no highlights

The no highlights mode is a very simple mode without any special effects, so most of this window is blank.

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.

Edit draft highlights

The draft highlights mode uses the same basic definitions as the no highlights mode, but expands this to include pica, elite, condensed, expanded, bold, italics, light, superscript, subscript and underline printing.

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 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

Support Page  
© Castle Technology Ltd 2001. Castle is a trading name of Castle Technology Ltd. E&OE. Acorn and the Acorn Nut device are Trademarks.