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

推荐订阅源

G
Google Developers Blog
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
人人都是产品经理
人人都是产品经理
美团技术团队
Blog — PlanetScale
Blog — PlanetScale
S
SegmentFault 最新的问题
博客园 - 【当耐特】
V
V2EX
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
量子位
罗磊的独立博客
月光博客
月光博客
N
Netflix TechBlog - Medium
大猫的无限游戏
大猫的无限游戏
博客园_首页
P
Proofpoint News Feed
Jina AI
Jina AI
云风的 BLOG
云风的 BLOG
博客园 - 司徒正美
腾讯CDC

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.