Printing Codes

Troubles with your machine? Just want to speak about the latest improvements? This is the place!

Moderators: Mug UK, Zorro 2, Greenious, spiny, Moderator Team

rwap
Retro freak
Retro freak
Posts: 10
Joined: Thu Feb 04, 2016 11:46 am
Contact:

Printing Codes

Postby rwap » Wed Jan 30, 2019 11:11 pm

I have now released the Retro-Printer module which captures data from a parallel port and converts ESC/P2 or PCL data so that it can be printed on a modern printer (www.retroprinter.com)

An Atari STE has just tried using this to print from WordPerfect 5.0, using the default printer.

The output seems to use printer codes other than PCL or ESC/P2 - so I was wondering if anyone knows what printer it is for and whether there is a list of the control codes, so that I could create a new conversion routine.

The output is basically:

Code: Select all

ESC @ (Reset)
PL
ESC @ (Reset)
F1
<CR>
ESC $1F $79 $20
ESC $57 (ESC W n - double printing on/off)
ESC $1F $OD
Bold
ESC $26
ESC $1E $09
<LF>, <CR>


ESC $1F $79 $20
ESC $1F $OD
Underline
<CR>

ESC $1F $79 $20
ESC $1F $03 $20
ESC $1F $OD
________________

ESC $1F $05, $5F
ESC $1F $OD, $5F
<LF>, <CR>

ESC $1F $79 $20
ESC $1F $OD
Italics
<LF>, <CR>

ESC $1F $79 $20
ESC $1F $OD
Normal
<CR>



ESC $1F is not ESC/P2 or IBM pro-printer codes. Could it be the specific Atari printer?
Supporting Retro Computers Since 1986

www.rwapsoftware.co.uk
www.sellmyretro.com

User avatar
MiggyMog
Atari Super Hero
Atari Super Hero
Posts: 859
Joined: Sun Oct 30, 2005 4:43 pm
Location: Scotland

Re: Printing Codes

Postby MiggyMog » Thu Jan 31, 2019 7:42 am

My vague recollection. Is that most printers defaulted to Epson compatible mode so it may be an idea to grab a scanned manual for an epson printer from around the time it was made, most listed the codes. As did compatible ones. I had an star lc10 and cannon bj10e which both had Epson compatible modes
('< o o o o |''| STM,2xSTFM,2xSTE+HD,C-Lab Falcon MK2+HD,Satandisk,Ultrasatandisk,Ethernat.

czietz
Hardware Guru
Hardware Guru
Posts: 964
Joined: Tue May 24, 2016 6:47 pm

Re: Printing Codes

Postby czietz » Thu Jan 31, 2019 10:40 am

I would look into the printer configuration program for Wordperfect so see which model of printer is default.

Dal
Administrator
Administrator
Posts: 4178
Joined: Tue Jan 18, 2011 12:31 am
Location: Cheltenham, UK
Contact:

Re: Printing Codes

Postby Dal » Thu Jan 31, 2019 4:31 pm

It definitely looks like ESC/P2. Could be a slightly augmented implementation of Epson's 'standard' for a specific printer. I would suggest setting the printer in WordPerfect to something vanilla like an Epson LX-80 and compare the output.

I'm sure you have seen this document already:
https://files.support.epson.com/pdf/gen ... cp2ref.pdf
Mega"SST" 12, MegaSTE, STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's

rwap
Retro freak
Retro freak
Posts: 10
Joined: Thu Feb 04, 2016 11:46 am
Contact:

Re: Printing Codes

Postby rwap » Wed Feb 06, 2019 8:55 am

It is definitely not ESC/P2 - The Retro-Printer softwaare handles 90% of ESC/P2 control codes - unfortunately, the lines ESC $1F $79 $20 do not correspond with any ESC/P codes that I can find.

I will ask the user to see if he can find out the default printer model set up in WordPerfect
Supporting Retro Computers Since 1986

www.rwapsoftware.co.uk
www.sellmyretro.com

joska
Hardware Guru
Hardware Guru
Posts: 4376
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: Printing Codes

Postby joska » Wed Feb 06, 2019 9:30 am

Looks like ESC/P with some printer specific extension. There were lots of these "back in the day" when standards weren't taken so seriously.
Jo Even

VanillaMiNT - Firebee - Falcon060 - Milan060 - Falcon040 - MIST - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64

seedy1812
Atari User
Atari User
Posts: 35
Joined: Tue May 18, 2010 2:04 pm

Re: Printing Codes

Postby seedy1812 » Thu Feb 07, 2019 4:11 pm

https://my.okidata.com/MAN-393.NSF/WebB ... enDocument

ESC US n
27 31 n
1B 1F n Double/triple height printing


Social Media

     

Return to “Hardware”

Who is online

Users browsing this forum: No registered users and 5 guests