Printing to tcp/ip printer ports

D

Dave Johnson

I'm triing to send printer command code to a printer from
VBA Access 2000

The following works OK.

Open "LPT1:" For Output As #1
Print #1, Head; LabelData; Foot
Close #1

But the printer port I require to print to is
IP_10.0.0.128 2
A printer connected to an HP Jetdirect 3 port print server.

I'v tried "IP_10.0.0.128 2:" with and without the colon
Ether nothing happens or I get Bad filename or Number error

Many Thanks in advance for any help on this
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top