[AccessD] Print and listening to an IP address

Mark L. Breen subs at solution-providers.ie
Fri Apr 18 07:55:09 CDT 2003


Hello All,

I have an application that previously printed to the LPT1 port on the PC.  In my code, all I had to do was

Open "LPT1" For Output As #1
Print #1, strPrintJob
Close #1

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.

What I think that I want to do is something like

Open 109.109.109.109 for output as #1
Print #1, strPrintJob
Close #1

So, question number one is "how to I sent text to an ip address"


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.

So question number two is "how do I listen to an ip address to hear what is coming from it"

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.


Thanks

Mark

Print and listening to an IP address
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030418/0fd73672/attachment-0001.html>


More information about the AccessD mailing list