[AccessD] Print and listening to an IP address

Lembit Soobik Lembit.Soobik at t-online.de
Fri Apr 18 08:21:58 CDT 2003


Mark,
try the URL address instead of the tcpip
following works here
Open "\\S856\hppsc210" ......

Lembit Soobik

  ----- Original Message ----- 
  From: Mark L. Breen 
  To: AccessD at databaseadvisors.com 
  Sent: Friday, April 18, 2003 2:55 PM
  Subject: [AccessD] Print and listening to an IP address


  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



------------------------------------------------------------------------------


  _______________________________________________
  AccessD mailing list
  AccessD at databaseadvisors.com
  http://databaseadvisors.com/mailman/listinfo/accessd
  Website: http://www.databaseadvisors.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030418/b07c0138/attachment-0001.html>


More information about the AccessD mailing list