<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Alex Carver" &lt;agcarver+ale@acarver.net&gt;<br><b>To: </b>"Atlanta Linux Enthusiasts" &lt;ale@ale.org&gt;<br><b>Sent: </b>Sunday, December 7, 2014 2:41:15 AM<br><b>Subject: </b>Re: [ale] Configure serial port settings at boot<br><div><br></div>The printer,<br>when printing raster graphics, is first put into raster mode with an ESC<br>sequence then a second ESC sequence tells it the number of bytes per row<br>in a bitmap. &nbsp;</blockquote><div><br></div><div>Ha Ha.</div><div><br></div><div>Reminds me when years ago I wrote C code in Linux and UNIX that would map pseudo ttys to</div><div>slave printers off the back of Wyse terminals. &nbsp;My program mapped the pseudo to the correct terminal.</div><div>When you send text to the pseudo I would send the esc code to the terminal to enable the slave port and then</div><div>I would feed the data to the terminal to be printed. &nbsp;I would finally send the esc code to turn off that port.</div><div><br></div><div>I can't remember why I had to do this. &nbsp;I know in one project we had to do something similar, but we did it</div><div>via Perl doing something similar. &nbsp;That script would read STDIN and then send the esc codes as needed.</div><div><br></div><div>Maybe I wrote that code as a learning exercise. &nbsp;Not sure now, too long ago.</div><div><br></div><div>Fun times , fun times....</div><div><br></div><div><br></div></div></body></html>