🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7155

Question about X3.64 Printer Excape Sequences

#7155
From: Gary Jenkins
Date: Sun, 02 Dec 1990 16:26
20 lines
1208 bytes
I am writing a utility that uses the printer driver and am unsure 
how ANSI X3.64 printer escape sequences relate to reality.  Specifically,
the codes to select text color as shown in appendix D of the Intro to the
Amiga 2000 manual are listed as

	ESC[30m		set foreground to color_0
	ESC[31m		set foreground to color_1
	...
	ESC[39m		set foreground to color_9

The question is how to relate color_0, color_1, etc to the color that will
be printed.  For my paintjet, color_0 is black, color_1 is red, color_2 is
green, ..., but other printers may be different, correct?  More specifically
if I allow a menu choice which selects the text color as RED, BLUE, or GREEN,
how do I know which printer escape codes correspond to those colors?
Is it a function of the current preference palette settings?

Thanks in advance,
	Gary Jenkins
Technical Details
Message-ID: <4719@tellab5.tellabs.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!mcdchg!tellab5!grj

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!mcdchg!tellab5!grj
From: grj@tellabs.com (Gary Jenkins)
Newsgroups: comp.sys.amiga.tech
Subject: Question about X3.64 Printer Excape Sequences
Message-ID: <4719@tellab5.tellabs.com>
Date: 2 Dec 90 16:26:35 GMT
Sender: news@Tellabs.COM
Organization: Tellabs, Inc. Lisle, IL
Lines: 20