<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=593460113-18042003><FONT color=#0000ff
size=2>Mark,</FONT></SPAN></DIV>
<DIV><SPAN class=593460113-18042003><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=593460113-18042003><FONT color=#0000ff size=2> #1 Convert
strPrintJob to a report and then set the default printer of this report to the
lan printer.</FONT></SPAN></DIV>
<DIV><FONT color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=593460113-18042003><FONT color=#0000ff size=2>#2 Why do you
want to listen for Ack/Nacks? If the printer has a big enough buffer for
your report and the power doesn't go out, it will eventually print the
report.</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><B><FONT color=#0000ff>Charles Wortz</FONT></B></SPAN>
<BR><SPAN lang=en-us><FONT color=#0000ff>Software Development
Division</FONT></SPAN> <BR><SPAN lang=en-us><FONT color=#0000ff>Texas Education
Agency</FONT></SPAN> <BR><SPAN lang=en-us><FONT color=#0000ff>1701 N. Congress
Ave</FONT></SPAN> <BR><SPAN lang=en-us><FONT color=#0000ff>Austin, TX
78701-1494</FONT></SPAN> <BR><SPAN lang=en-us><FONT
color=#0000ff>512-463-9493</FONT></SPAN> <BR><SPAN lang=en-us><FONT
color=#0000ff>CWortz@tea.state.tx.us</FONT></SPAN> </P>
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Mark L. Breen
[mailto:subs@solution-providers.ie] <BR><B>Sent:</B> Friday 2003 Apr 18
07:55<BR><B>To:</B> AccessD@databaseadvisors.com<BR><B>Subject:</B> [AccessD]
Print and listening to an IP address<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Hello All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have an application that previously printed to
the LPT1 port on the PC. In my code, all I had to do was</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Open "LPT1" For Output As #1</FONT></DIV>
<DIV><FONT face=Arial size=2>Print #1, strPrintJob</FONT></DIV>
<DIV><FONT face=Arial size=2>Close #1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>We now want to use a new printer that is connected
to the lan via an ethernet card. The printer is assigned an IP address and
is listed in the list of printers on my control panel. It appears that it
is not possible to map my lpt1 to the printer.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What I think that I want to do is something
like</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Open 109.109.109.109 for output as #1</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>Print #1, strPrintJob</FONT></DIV>
<DIV><FONT face=Arial size=2>Close #1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>So, question number one is "how to I sent text to an ip
address"</DIV></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I then had a serial communications piece of code
that listened to the serial port and was able to verify that what was sent to
the printer was received back. I was able to listen to the buffer on the
mscomm.ocx and pass that back to the database.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So question number two is "how do I listen to an ip
address to hear what is coming from it"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance for your help, I know that this
quesion is a bit vague, but fire a few questions back at me if you
wish.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Mark</FONT></DIV></BODY></HTML>