Network printer in DOS (Users)
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:
- Network printer in DOS - Laaca, 27.02.2012, 20:14 (Users)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Network printer in DOS - bretjohn, 28.02.2012, 01:48
- Network printer in DOS - Laaca, 28.02.2012, 06:50
- Network printer in DOS - Arjay, 28.02.2012, 07:50
- Network printer in DOS - Laaca, 28.02.2012, 15:44
- Network printer in DOS - Arjay, 28.02.2012, 21:20
- Network printer in DOS - mbbrutman, 01.03.2012, 06:19
- Network printer in DOS - Rugxulo, 02.03.2012, 06:37
- Network printer in DOS - Laaca, 28.02.2012, 15:44
- Network printer in DOS - bretjohn, 28.02.2012, 19:35
- Network printer in DOS - Arjay, 28.02.2012, 07:50
- Network printer in DOS - Laaca, 28.02.2012, 06:50
- Network printer in DOS - bretjohn, 28.02.2012, 01:48
Mix view