惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Hackread – Cybersecurity News, Data Breaches, AI and More
宝玉的分享
宝玉的分享
月光博客
月光博客
爱范儿
爱范儿
阮一峰的网络日志
阮一峰的网络日志
酷 壳 – CoolShell
酷 壳 – CoolShell
Recent Announcements
Recent Announcements
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
U
Unit 42
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Martin Fowler
Martin Fowler
N
Netflix TechBlog - Medium
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
V
Visual Studio Blog
腾讯CDC
IT之家
IT之家

KittenLabs

Casiomania Marantz UD5007 power supply replacement AnotterKiosk GPD Pocket 4 Speaker DSP IP-over-Toslink FX3 LVDS Frame grabber Extreme Pi Boot Optimization WiFi auth with OsmoHLR/SIM cards Windows 11 tweaks & usability improvements Using custom domains as a Fediverse redirect 25GBit/s on macOS & iOS Router overclocking Real gaming router Manage RDP certificates on Windows using SSH 20 port USB-C charger Reviving a dead Gigabyte MJ11-EC1 mainboard NVMe BIOS Option ROM 2.5GbE PCIe NIC mod board Blinkekatze ThinkPad T41/T43 USB-C HomeSwitch 4 DC UPS (Lithium) OLED nametag Thermal camera macro Blåmba PC104 ISA adapter Palm IIIc USB-C OtterCast Gigaset DECT debug adapter M.2 NVMe -> miniPCIe
LPT printer emulator
By Manawyrm | Wednesday, April 26, 2023 · 2023-04-26 · via KittenLabs

ESP32 virtual parallel port printer

ESP32 devboard, connected with wires to a LPT breakout ESP32 devboard, wires to a LPT breakout, different angle

What is it?

Old computers, machines and test equipment often expect printers to be directly connected via a parallel port / LPT / IEEE 1284. In the modern day, this is impractical. Having a single printer for each device is expensive, takes up a lot of space and they need to be in physical proximity.
It might also be preferrable to get a virtual printout as a .pdf file instead of a physical piece of paper.

With this firmware, a regular ESP32 devboard can be connected directly to a parallel port and will act like / emulate a physical printer. The resulting print jobs/data are then sent over WiFi to any TCP/IP socket.

This socket is directly compatible with the LPR interface on many network printers, so many of these ESP32 emulators can be configured to work with a single real network printer. Alternatively, CUPS can be configured to receive data from such a socket and generate PDF files (or forward the job to a different, local printer).

This project has been used to print from an IBM ThinkPad T41, an Abit Socket 7 mainboard and an airplane wheel vibration calibrator.

In operation

This video shows a ThinkPad T41 in the BIOS setup menu. Pressing the “Print Screen” key in text-mode actually does what the name implies and will print the current screen contents over the LPT1 interface.
CUPS then receives the printed data and converts it into a PDF file in real time.