Paper Sizes

This commit is contained in:
Jasmine Iwanek
2025-08-03 22:06:33 -04:00
parent 60d8ea389f
commit b2067d7946
3 changed files with 58 additions and 4 deletions

View File

@@ -64,12 +64,13 @@
#include <86box/printer.h>
#include <86box/prt_devs.h>
#include "cpu.h"
#include <86box/prt_papersizes.h>
#define FULL_PAGE 1 /* set if no top/bot margins */
/* Default page values (for now.) */
#define PAGE_WIDTH 8.5 /* standard U.S. Letter */
#define PAGE_HEIGHT 11
#define PAGE_WIDTH LETTER_PAGE_WIDTH
#define PAGE_HEIGHT LETTER_PAGE_HEIGHT
#define PAGE_LMARGIN 0.25 /* 0.25" left and right */
#define PAGE_RMARGIN 0.25
#if FULL_PAGE