Robert Newson wrote:

>> I would like to be able to print Text87 documents in a chosen
colour. It
>> should be possible to
>> send an ESC/P2 code from BASIC to the EPSON Colour Printer before
one asks
>> T87 to print.
>
>ESC/P2 code??? I've never used T87 and so don't know how it prints.
>Assuming it prints ASCII as opposed to (raster) graphics (like
windoze
>does to emulate an inkjet/laser, etc), setting the colour on my STAR
>LC24-200C colour printer uses:
>
><ESC>"r"colour
>
><ESC>  - chr$(27)
>"r"    - lowercase r - chr$(114)
>colour - 0 = Black,  1 = Red,  2 = Blue, 3 = Magenta, 4 = Yellow,
>         5 = Orange, 6 = Green

Hi Robert (and Ian),

I have looked up some Epson ESC P2 codes and can confirm that the ESC
r colour code is valid for ESC P2. The documents I saw list the
colours as follows:

0=black (default), 1=Magenta, 2=Cyan, 3=Violet, 4=Yellow, 5=red,
6=green

The notes say:

Print yellow first when overlapping colours

Stylus 300,800,800+,1000 and 400 do not support this command.

(I don't have a Stylus printer so can't test this out!)

--
Dilwyn Jones
[EMAIL PROTECTED]
http://www.soft.net.uk/dj/index.html

Reply via email to