mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
The four versions are: - EX-1000 and 7 other early printers (including FX-80, the only Epson available OOTB for Windows 1.03), have ESC i and ESC j. - 9-pin ESC/P, a superset of EX-1000 besides ESC i and ESC j. - 24-pin ESC/P in 360 DPI instead of 240. - ESC/P 2 with raster graphics. As for paper, four sizes: Letter, A4, Legal, B4. The former ones are mainly for EX-800, the latter two are sideways and meant for EX-1000. I did some other minor changes, like converting a bunch of defines to enum.
55 lines
1.3 KiB
C
55 lines
1.3 KiB
C
/*
|
|
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
* running old operating systems and software designed for IBM
|
|
* PC systems and compatibles from 1981 through fairly recent
|
|
* system designs based on the PCI bus.
|
|
*
|
|
* This file is part of the 86Box distribution.
|
|
*
|
|
* Define the various paper sizes for printers.
|
|
*
|
|
* Authors: Jasmine Iwanek, <jasmine@iwanek.co.uk>
|
|
*
|
|
* Copyright 2025 Jasmine Iwanek
|
|
*/
|
|
#ifndef EMU_PRT_PAPERSIZES_H
|
|
#define EMU_PRT_PAPERSIZES_H
|
|
|
|
/* Standard U.S. Letter */
|
|
#define LETTER_PAGE_WIDTH 8.5
|
|
#define LETTER_PAGE_HEIGHT 11.0
|
|
|
|
/* Standard U.S. Legal */
|
|
#define LEGAL_PAGE_WIDTH 8.5
|
|
#define LEGAL_PAGE_HEIGHT 14.0
|
|
|
|
/* Standard U.S. Ledger */
|
|
#define LEDGER_PAGE_WIDTH 11.0
|
|
#define LEDGER_PAGE_HEIGHT 17.0
|
|
|
|
/* Standard A0 */
|
|
#define A0_PAGE_WIDTH 33.125
|
|
#define A0_PAGE_HEIGHT 46.75
|
|
|
|
/* Standard A1 */
|
|
#define A1_PAGE_WIDTH 23.375
|
|
#define A1_PAGE_HEIGHT 33.125
|
|
|
|
/* Standard A2 */
|
|
#define A2_PAGE_WIDTH 16.5
|
|
#define A2_PAGE_HEIGHT 23.375
|
|
|
|
/* Standard A3 */
|
|
#define A3_PAGE_WIDTH 11.75
|
|
#define A3_PAGE_HEIGHT 16.5
|
|
|
|
/* Standard A4 */
|
|
#define A4_PAGE_WIDTH 8.25
|
|
#define A4_PAGE_HEIGHT 11.75
|
|
|
|
/* Standard B4 */
|
|
#define B4_PAGE_WIDTH 9.875
|
|
#define B4_PAGE_HEIGHT 13.875
|
|
|
|
#endif /*EMU_PLAT_FALLTHROUGH_H*/
|