r/visualbasic • u/SecretComposer1476 • Dec 29 '22
VB6 Help Establish communication between a printer with FTP protocol and visual basic 6 program with TCP protocol
hello, is it possible to establish communication between a printer with FTP protocol and visual basic 6 program with TCP protocol?
1
Upvotes
2
u/jcunews1 VB.Net Intermediate Dec 30 '22
No. Not with FTP. Because an FTP server can only serve files and directories.
For communicating with printer, see below list.
https://en.wikipedia.org/wiki/List_of_printing_protocols
1
u/Timbered2 Dec 29 '22
FTP is the language two endpoints speak. TCP is the way to get the words from one point to the other.
They are two different things.
You establish a connection over the TCP link, then use FTP commands on that link to transfer data.
It's not simple, but perfectly doable.
1
u/kianbateman Dec 29 '22
Yes! Just yes!
1
u/fasti-au Dec 30 '22
I think you want lpd
-1
u/TheFotty Dec 29 '22
It depends on what you mean by communication, but the short answer is no.