mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
A landscape print job was a page wider than tall, and `lp` on macOS puts each page on the paper as it is: on upright Letter it printed unturned, cut off on the right (checked with cupsfilter through an AirPrint driver). Saving the PDF and printing it from Preview worked because Preview turns the page. `file.print` takes `forPrinter`: a page wider than tall is written upright, the art turned a quarter anticlockwise as a printer driver turns a landscape job. Page by page, so auto-rotated jobs that mix wide and tall artboards print right too. The desktop print service asks for it (`PrintService::turns_landscape`); saved PDFs, PostScript, the preview and the browser's print dialog keep landscape pages as they are. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>