detail
USR369 converted the HTML duplicate-inventory report to PDF by a plain path and got 5 pages with huge default margins and no visual grouping -- confirmed no print standard existed anywhere (STANDARDS-REG.md does not mention print at all; no PRINT-STANDARD.md or similar). Built backend/standards/print.css: light theme (white bg, black text -- deliberate deviation from the dark-theme UI standard, documented as intentional since dark backgrounds are bad practice for print), @page margin 0.5in/0.6in, and the key missing pattern -- .item-card, a bordered box per distinct finding/group with page-break-inside:avoid so a group never splits across a page break, which is what was needed to see "this item has 4 matches" at a glance. Confirmed wkhtmltopdf is available on this server; confirmed via an actual "not supported using unpatched qt" warning that --footer-center/--footer-font-size/--footer-spacing do not work on this build (page numbers not solved, flagged). Rebuilt the duplicate-inventory report itself through the new standard as a real, self-contained HTML file and converted with wkhtmltopdf --page-size Letter -- went from 5 loose pages to 2 tightly-organized ones. Verified by rendering the actual PDF to PNG and looking at it (pdftoppm), not just trusting that the CSS applied. Wrote SOP-PRINT-FORMAT.md documenting the standard, the exact wkhtmltopdf command, and the known footer-flag limitation. Registered in SOP-INDEX.md.