Monday, December 12, 2022

Retro-Printer Module

What is the Retro-Printer Module?

The Retro-Printer Module (HAT)

The Retro-Printer Module (HAT) designed for the Raspberry Pi

Designed as a plug in module (HAT) for the Raspberry Pi computer; the Retro-Printer Module connects the latest USB and network printers to a centronics port.

Developed by retro computer specialist RWAP Software, the Retro-Printer is a hardware and software printer emulator that connects to a parallel port and interprets input in either ESC/P2 or PCL format.

It understands both text and graphics (including the ESC.2 and ESC.3 compression modes) and converts this so that the output can be stored electronically or sent to a modern USB or Network printer.

Specifically designed to provide a solution for computers and equipment which would otherwise send output to a dot matrix printer, the module is ideally suited for providing a modern printing solution for a retro computer; as well a wide range of industrial and medical equipment.

Why is the Retro-Printer required?

Many retro computers were designed at a time when dot-matrix, daisywheel and impact printers were prevalent. A lot of industrial equipment (and DOS based application software) was designed to use these printers, incorporating  the same printing methods.

Applications ranged from word-processors and desk-top publishing solutions to simple reports and data-logging.  Text and graphics could easily be mixed on a page and printed without needing a complex printer driver written which was dependent upon the make and model of the printer.

Dot matrix printers commonly used the ESC/P (and ESC/P2) printer control language made popular by Epson. Printing was as simple as connecting a printer to a parallel port and sending a string of plain text to the port. The printer control language then told the printer if you wished to output text in bold, italics or a different font.

As a result there are 1,000s of DOS based programs and industrial equipment which expect a connected printer to understand and print simple text and graphics.

When Microsoft Windows took the market by storm in the 1990s, printer manufacturers seized on the opportunity to make printers “dumb” and most printers available to purchase today are GDI Printers.

A GDI printer or Winprinter is a printer designed to accept output from a host computer running the Graphic Design Interface (GDI) under Windows, Mac OS-X or Linux. The host computer is responsible for all print processing and then uses the GDI software to send a bitmap of the printed page to the printer using a printer driver normally supplied by the printer manufacturer.

Whilst early printers require hardware, firmware, and memory for page rendering; a GDI printer is cheaper to produce (and thus to purchase). Unfortunately, this means that a GDI printer cannot be used easily with non-standard operating systems, or even a lot of DOS programs.  These printers cannot even understand a simple line of ASCII text characters sent to them such as the standard test “HELLO WORLD”.

Solutions which enable you to replace a centronics printer with a modern USB or network printer are few and far between:

  • A handful of software based solutions exist which run under Windows and re-direct the centronics port and then utilise Windows printer drivers to output to any connected printer.
  • The Retro-Printer represents one of just four hardware solutions that we have come across during our research over the past few years (at least one of which no longer appears to be available). 

    A hardware solution has the benefit that it can physically replace a centronics printer, by connecting directly to a centronics / parallel port.  However, the Retro-Printer does this at a fraction of the cost of the other solutions.

What other options do users have?

  • Upgrade to new software, or most probably use an alternative program, or equipment which can run on the latest operating system and use its in-built printer drivers
  • Purchase an expensive dot-matrix printer or top-end laser printer which supports plain text and DOS software. These type of printers are increasingly hard to find and generally cost upwards of £200.
  • Track down second hand printers which could be used as a direct replacement whilst risking the availability of replacement ink cartridges / ribbons and spare parts.
  • Disable printing altogether

Why not use a virtual printer to capture the printer port?

One common solution to this, is to install a “virtual printer”.  A virtual printer is a piece of software which runs on a Windows based PC and monitors the installed parallel ports on the computer itself.  There are several virtual printers (or DOS Printers), available for Windows based computers.

Provided that your program runs as a DOS based application program which can run within a DOS box as part of Windows 95 or later, then these DOSPrinters can work quite well at capturing the data sent by to the parallel port (LPT1 to LPT9) and then redirecting it to a connected GDI printer using Windows to perform all of the hard work.

Unfortunately, there remains a whole host of circumstances where such a virtual dot matrix printer cannot be used.  For example, consider how you would print (or collect the data) from test equipment, medical equipment, industrial machines or vintage computers which do not run Windows; but use their own operating systems (or plain DOS).

Hardware based Virtual Printer Emulation

The Retro-Printer Module is designed to perform a similar function to softweare printer emulators.  However, it is a hardware solution, so rather than a simple software emulation of a traditional dot-matrix or daisywheel centronics printer, the Retro-Printer forms a low cost centronics to usb (or network) printer convertor which can be used seemlessly to print the captured text direct to any modern connected network or USB printer, such as a low cost Inkjet, or even a laser printer.

Connecting to an industry standard parallel port (you need a parallel to centronics cable), the Retro-Printer captures and converts any data intended for a printer. Although primarily designed to act as a virtual Epson printer, the Retro-Printer module can handle ESC/P, ESC/P2 and HP PCL data.  We will also work with customers and industry to produce further virtual printer support where required.

You can even use the Retro-Printer as a simple centronics to USB convertor, which echos the data captured from the centronics port directly to a connected USB printer.  This can be used, for example, to replace a centronics HP PCL printer with a modern USB model.

Create Electronic Documentation

Many of us will remember the promise of a “paperless office” back in the 1990s – this has unfortunately, never truly come to fruition, although there comes increasing pressure to store documentation electronically, rather than on paper.

Unfortunately, there is a wide range of equipment out there (such as data analysers, opthalmic equipment, test equipment and injection moulding machines) which has to produce a physical print out which can then be scanned and stored for future use electronically.  What a waste of paper and time!

This is where the Retro-Printer module comes to the fore.  You can connect it in place of a physical printer and then use the built-in virtual printer convertors to take the captured data and convert it to PDF or even extract it as plain text files, stored on a USB memory stick or made accessible over a network, without the need to produce a physical print out.

If you do insist on a physical print out also (say for auditing purposes), then the Retro-Printer can be configured to also create that alongside the electronic version.

The possibilities are countless!

Continue reading – What does the Retro-Printer do?

 



from Hacker News https://ift.tt/hAsrF1R

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.