Trevor PaughSystems engineer
Trevor PaughProject Chronicles

Chronicles / Eboda Gymnast

Print

Milestone

Ctrl+P or Menu, Print opens the app's own options dialog, with page ranges, fit or actual size, and auto-rotate, and then the Windows print dialog. Pages are rastered by the rendering engine at the printer's resolution and sent through the Windows graphics layer, all behind the platform module so the Rust core stays free of Windows APIs. Verified overnight in the real executable through Print to PDF. Review asked for one fix: the shortcut pressed inside the app's own dialogs let the embedded browser print its window instead.

Print is the sixth of the version-one verbs and the one a personal Acrobat gets judged on first.

How it works

The shortcut or the menu opens the app’s own options: all pages, the current page, or a range written the usual way; fit to the paper or actual size; and auto-rotate. Then the ordinary Windows print dialog takes over. Each page is rastered by the rendering engine at the printer’s own resolution and handed to the Windows graphics layer. All of that sits behind the platform module, so the Rust core still contains no Windows-specific code.

The choice

Three routes were on the table. The embedded browser can print its own window, but gives no page-range control and poor fidelity. Shelling out to an external viewer would mean leaning on the very thing the owner is replacing. Rastering through the graphics layer gives control and fidelity and keeps the dependency inside the app. The manager chose the third.

Verified

Checked overnight in the real executable through Print to PDF with a government form, a rotated page, and a four-by-six card. The reviewer asked for one fix, the shortcut leaking through the app’s own dialogs to the embedded browser’s print, and approved the second round. Next, under the owner’s blanket go, the builder started on fetching missing fonts.