<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Mark,</FONT></DIV>
<DIV><FONT face=Arial size=2>try the URL address instead of the
tcpip</FONT></DIV>
<DIV><FONT face=Arial size=2>following works here</FONT></DIV>
<DIV><FONT face=Arial size=2>Open "<A
href="file://\\S856\hppsc210">\\S856\hppsc210</A>" ......</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>Lembit Soobik<BR></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=subs@solution-providers.ie
href="mailto:subs@solution-providers.ie">Mark L. Breen</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=AccessD@databaseadvisors.com
href="mailto:AccessD@databaseadvisors.com">AccessD@databaseadvisors.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, April 18, 2003 2:55
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [AccessD] Print and listening to
an IP address</DIV>
<DIV><BR></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>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT size=1>
<P>Print and listening to an IP address</P></FONT></FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>AccessD mailing
list<BR>AccessD@databaseadvisors.com<BR>http://databaseadvisors.com/mailman/listinfo/accessd<BR>Website:
http://www.databaseadvisors.com<BR></BLOCKQUOTE></BODY></HTML>