Architecture & Stack
Built for Precision
PrintCatalog combines a modern web frontend with a high-performance Rust backend to solve the "Browser Print Problem."
The Browser Problem
Web browsers are designed for document viewing, not precision layout. When you print from a browser, your high-resolution photos are often downscaled, and the CSS box model can shift by fractions of a millimeter—ruining passport grids.
PrintCatalog bypasses the browser's window.print() entirely.
The GDI Solution
We use the Win32 GDI (Graphics Device Interface) through the Rust windows crate. This allows us to send raw pixel data directly to the printer's device context.
By using StretchDIBits with HALFTONE interpolation, we ensure the sharpest possible output directly from the original file data.
The Core Stack
Tauri v2
Rust Backend
React 19 Frontend
TailwindCSS 4
Win32 GDI
Framer Motion