An answer

new topic     » topic index » view thread      » older message » newer message

>    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
http://www.interlog.com/~moggie/euphoria.htm
"A Beginner's Guide To Euphoria"

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu