Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all,

 

Is it possible to print through sockets?

I've a printer that allows socket connection to print, it receives data printing at one port and send its status (jam,online,offline,etc...) in another one.

 

I tried to make a connection with a TcpClient from (System.Net.Sockets) and send the data to the printer but it doesn't worked, thus it connected sucessfully.

 

The printer has it own programming language commands to print text and barcodes, it receives a sequence of escape characteres and commands to print the labels correctly.

 

Any idea will be appreciated

 

Thanks is advance,

 

Tiago Teixeira

Posted

Hi,

 

In fact, i can connect, because i dont get any error when i attemp to connect it or i even don't get any erro when i send something, but the printer doesn't respond to the commands.

 

It uses TCP packets because in the manual it only refers to TCP/IP Protocol.

 

For much data i send to the printer it doesn't returns nothing.

 

Printer has another mode to print that is LPR or FTP, whats this?

FTP maybe file tranfer protocol? but how can i send i file in the correct format to the printer?

LPR i don't know what is!

 

any ideas?

Thanks

Tiago Teixeira

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...