1. An answer

>    Hi,
>    I have one question, how can I send to the printer a determinate
>    section of the screen? No the whole screen, only a square with
>    data.
>    Thank.
If you are in text mode, it's easy...just use the save_text_image()
command. Extract only the characters (not the combined foreground and
background colour attribute bytes, unless you want to use them as well),
and send them to the printer.

If it is graphic, it's going to be a bit harder. You can easily get the
pixel image using save_image(), but sending it to the printer will require
the conversion of the pixel colours to your printer's print control
language. This will depend if you have a older colour dotmatrix or a hot
new laser type.
> P.S. Especial thanks to Jacques Deshenes for his code. It help me a lot.

Mr Deshenes is one genius of a programmer. I'm seriously considering using
his donated software tools at the Euphoria Home page to dazzle up version
2.00 of "A Beginner's Guide To Euphoria"

Good luck!

David Alan Gay
"A Beginner's Guide To Euphoria"

new topic     » topic index » view message » categorize

2. Re: An answer

On Thu, 16 Jan 1997, David Alan Gay wrote:

>> P.S. Especial thanks to Jacques Deschenes for his code. It help me a

> Mr Deschenes is one genius of a programmer...

I second that one.  His code "works" and is almost always a total no
brainer to implement.  He is very helpful as well.  I asked him "I need to
do this with your sound code, how do I?" and the next day in my mailbox
was all the code I needed to cut and paste in. AND IT WORKED THE FIRST
TIME I TRIED IT.  That's a big wow for me.

This Listserver is chock full of creative people who really do the
Euphoria Community a service by being here and sharing their expertise and
their code with us. Jiri Babor is another one.  His fire code is way
cool and the font.e saved me a few days programming once I figured it out.
He even had a font that worked for what I needed.

Michael Packard
Lord Generic Productions
lgp at exo.com http://exo.com/~lgp
A Crash Course in Game Design and Production

new topic     » goto parent     » topic index » view message » categorize


Quick Links

User menu

Not signed in.

Misc Menu