home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
cbm
/
nduk-v40.lha
/
V40
/
include
/
prefs
/
printertxt.i
< prev
next >
Wrap
Text File
|
1993-10-15
|
2KB
|
93 lines
IFND PREFS_PRINTERTXT_I
PREFS_PRINTERTXT_I SET 1
**
** $VER: printertxt.i 38.2 (1.7.91)
** Includes Release 40.15
**
** File format for text printer preferences
**
** (C) Copyright 1991-1993 Commodore-Amiga, Inc.
** All Rights Reserved
**
;---------------------------------------------------------------------------
IFND EXEC_TYPES_I
INCLUDE "exec/types.i"
ENDC
;---------------------------------------------------------------------------
ID_PTXT equ "PTXT"
ID_PUNT equ "PUNT"
DRIVERNAMESIZE equ 30 ; Filename size
DEVICENAMESIZE equ 32 ; .device name size
STRUCTURE PrinterTxtPrefs,0
STRUCT pt_Reserved,4*4 ; System reserved
STRUCT pt_Driver,DRIVERNAMESIZE ; printer driver filename
UBYTE pt_Port ; printer port connection
UWORD pt_PaperType
UWORD pt_PaperSize
UWORD pt_PaperLength ; Paper length in # of lines
UWORD pt_Pitch
UWORD pt_Spacing
UWORD pt_LeftMargin ; Left margin
UWORD pt_RightMargin ; Right margin
UWORD pt_Quality
LABEL PrinterTxtPrefs_SIZEOF
; constants for PrinterTxtPrefs.pt_Port
PP_PARALLEL equ 0
PP_SERIAL equ 1
; constants for PrinterTxtPrefs.pt_PaperType
PT_FANFOLD equ 0
PT_SINGLE equ 1
; constants for PrinterTxtPrefs.pt_PaperSize
PS_US_LETTER equ 0
PS_US_LEGAL equ 1
PS_N_TRACTOR equ 2
PS_W_TRACTOR equ 3
PS_CUSTOM equ 4
PS_EURO_A0 equ 5 ; European size A0: 841 x 1189
PS_EURO_A1 equ 6 ; European size A1: 594 x 841
PS_EURO_A2 equ 7 ; European size A2: 420 x 594
PS_EURO_A3 equ 8 ; European size A3: 297 x 420
PS_EURO_A4 equ 9 ; European size A4: 210 x 297
PS_EURO_A5 equ 10 ; European size A5: 148 x 210
PS_EURO_A6 equ 11 ; European size A6: 105 x 148
PS_EURO_A7 equ 12 ; European size A7: 74 x 105
PS_EURO_A8 equ 13 ; European size A8: 52 x 74
; constants for PrinterTxtPrefs.pt_PrintPitch
PP_PICA equ 0
PP_ELITE equ 1
PP_FINE equ 2
; constants for PrinterTxtPrefs.pt_PrintSpacing
PS_SIX_LPI equ 0
PS_EIGHT_LPI equ 1
; constants for PrinterTxtPrefs.pt_PrintQuality
PQ_DRAFT equ 0
PQ_LETTER equ 1
STRUCTURE PrinterUnitPrefs,0
LONG pu_Reserved,4*4 ; System reserved
LONG pu_UnitNum ; Unit number for OpenDevice()
ULONG pu_OpenDeviceFlags ; Flags for OpenDevice()
STRUCT pu_DeviceName,DEVICENAMESIZE ; Name for OpenDevice()
LABEL PrinterUnitPrefs_SIZEOF
;---------------------------------------------------------------------------
ENDC ; PREFS_PRINTERTXT_I