home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD2.img
/
d4xx
/
d487
/
pprint
/
source
/
settings.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-05-10
|
1KB
|
53 lines
/************************************************************************
* *
* settings.h *
* *
*-----------------------------------------------------------------------*
* *
* Some definitions for printer settings. *
* *
************************************************************************/
#ifndef SETTINGS_H
#define SETTINGS_H
#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif
struct Settings
{
USHORT LMarg;
USHORT RMarg;
USHORT Tabsize;
USHORT PageLen;
USHORT PageWidth;
SHORT Style;
SHORT Numb;
BOOL Cond;
BOOL LetterQ;
BOOL LSpace6;
};
#define STYLE_ELITE 0
#define STYLE_PICA 1
#define STYLE_PROP 2
#define ELITE_ON "\x1b[2w"
#define ELITE_OFF "\x1b[1w"
#define CONDENSED_ON "\x1b[4w"
#define CONDENSED_OFF "\x1b[3w"
#define LETTERQ_ON "\x1b[2\"z"
#define LETTERQ_OFF "\x1b[1\"z"
#define PROPORTIONAL_ON "\x1b[2p"
#define PROPORTIONAL_OFF "\x1b[1p"
#define LINESP6_ON "\x1b[1z"
#define LINESP6_OFF "\x1b[0z"
#define PINIT "\x1b[0m\x1b[0w\x1b[1v\x1b[1p\x1b[0q"
#define DSETNAME "PPrint.settings"
#endif /* SETTINGS_H */