Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Network printer in DOS (Users)

posted by mbbrutman Homepage, Washington, USA, 01.03.2012, 06:19

I think your netcat parameters are mostly correct. The error message is telling you that the target does not have port 9100 open for TCP/IP. There was probably one ARP packet sent, one ARP packet received, a TCP/IP packet to open the connection, and a TCP/IP reset received to tell you that 9100 was invalid.

I tried this against my recent Brother laser printer which is network connected. The first attempt was slightly off - I needed to add carriage return characters. That problem can be solved by using the -bin option to preserve the CR/LF pairs in the file, or by using the -telnet_nl option.

An important thing to note is that not all printers have the smarts to listen on port 9100 and accept raw input. I paid a little extra for a printer that has Postscript (BrotherScript), PCL6 and some old Epson emulation.

-Mike

---
mTCP - TCP/IP apps for vintage DOS machines!
http://www.brutman.com/mTCP

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum