Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send .txt file to a PrintServer

Status
Not open for further replies.

kiwiCoder

Technical User
Aug 2, 2001
45
NZ
Hi there, we have used PPLB to create txt files and send to a printer via parallel port but now the printers are attached via a print server and I cannot use the same VB6 code to send the text file. Has anyone done this or have any ideas. For some reason the port is seen as Ne00: instead of the actual port name IP_192.168.1.9

Cheers

If you love your job you never have to work again.
 
you might be able to use the "NET USE" command
this would be done as the machine boots up in the Autoexec or something.
but for testing it you can go to the Command prompt and just type it in.
Anyway you have to share the printer on the network in order to see it.

net use lpt1 \\servername\printershare
copy myfile.txt lpt1

or
copy maytag-file.txt \\Smallbserver\SATOCL608

net use lpt1 Ne00 <this might work


DougP, MCP, A+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top