Copying to an IP addressed printer

J

Joe Beda

I have an application that needs to send data to a printer to load
images in the printer's memory.

I have been successful in the past with
COPY filename.xxx /B \\computername\printername

Now, I need to send the same data to a printer that is not attached to
a computer but is on the network simply as an ip address.

What would be the syntax to send the same data to an IP address??

Thanks,
Joe
 
A

Alan Morris [MSFT]

the network card on the printer needs to support NetBios name resolution or
Samba. HP and Lexmark network cards do not support this. Intel and Xerox
network cards do support this. There are several around that will work
You will need to read the manual to determine the proper syntax.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
 
K

Klaus Jorgensen

Joe Beda wrote :
I have an application that needs to send data to a printer to load
images in the printer's memory.

I have been successful in the past with
COPY filename.xxx /B \\computername\printername

Now, I need to send the same data to a printer that is not attached to
a computer but is on the network simply as an ip address.

What would be the syntax to send the same data to an IP address??

Many non-GDI printers accepts an FTP connection, so sending a file to
the printer is simply a matter of writing a small script:

----sendftp.bat------
@set dest=%temp%\sendftp.txt
@echo open %1 >"%dest%"
@echo user >>"%dest%"
@echo pass >>"%dest%"
@echo bin >>"%dest%"
@echo put %2 >>"%dest%"
@echo close >>"%dest%"
@echo quit >>"%dest%"
@ftp -s:"%dest%" >nul
@del "%dest%"
 

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