Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hardware:printers:cr805_card_printer [2026/06/13 22:50] diamondhardware:printers:cr805_card_printer [2026/06/17 01:48] (current) – Updated cardprint url to the current one! enzi
Line 7: Line 7:
 - Recommended DPI: **600dpi** - Recommended DPI: **600dpi**
 - Image canvas: **2100px x 1344px** (3.5in x 2.24in @ 600dpi) - Image canvas: **2100px x 1344px** (3.5in x 2.24in @ 600dpi)
-- Image printed on card: **2023px x 1276px** (centered) +- Image printed on card: **2023px x 1276px** (centered, 3.372in x 2.127in  @ 600dpi
-  - Calculated margins: 38.5px x 34px+  - Calculated margins: 38.5px x 34px (0.06417in x 0.05667in @ 600dpi)
  
 ## Maintenance ## Maintenance
Line 38: Line 38:
 ## Printing over Web ## Printing over Web
  
-You may print cards over web using the [cardprinterd](https://codeberg.org/dma/cardprinterd) server. Access it at http://dma-printserve.local:2273.+You may print cards over web using the [cardprinterd](https://codeberg.org/dma/cardprinterd) server. Access it at http://dma-printserve.user.dma.computer:2273.
  
 No drivers are needed for this web UI. Simply make a PDF and feed it into the HTML form, and the print server will automatically print it using the Windows driver and [SumatraPDF](https://www.sumatrapdfreader.org/free-pdf-reader). No drivers are needed for this web UI. Simply make a PDF and feed it into the HTML form, and the print server will automatically print it using the Windows driver and [SumatraPDF](https://www.sumatrapdfreader.org/free-pdf-reader).
Line 47: Line 47:
  
 > **Note**: This option was removed on a later version of cardprinterd. The driver already automatically determines the orientation, and setting this only messes that up. > **Note**: This option was removed on a later version of cardprinterd. The driver already automatically determines the orientation, and setting this only messes that up.
 +
 +## Typst Template
 +
 +```typst
 +#let card(body) = page(
 +  width: 2.24in,
 +  height: 3.5in,
 +  margin: (x: 0.05667in, y: 0.06417in),
 +  rect(
 +    width: 2.127in,
 +    height: 3.372in,
 +    stroke: 0.1pt,
 +    radius: 0.125in,
 +    inset: 0in,
 +    body,
 +  ),
 +)
 +
 +#card[...]
 +```
  
 ## Links ## Links