/*	Convergent Technologies - System V - May 1983	*/
/*	"@(#)lprio.h	1.3"	*/

/*
 * Line Printer Type Devices I/O Control
 */

struct lprio {
	short	ind;
	short	col;
	short	line;
};

/* ioctl commands */
#define	LPR	('l'<<8)
#define	LPRGET	(LPR|01)
#define	LPRSET	(LPR|02)
#define LPRGOPTS (LPR|03)
#define LPRSOPTS (LPR|04)
#define	LPRGETV	(LPR|05)
#define	LPRSETV	(LPR|06)

/* arg word defs for LPRGOPTS & LPRSOPTS */
/* bits 0-2 are reserved for internal flags */

#define LPNOBS	0x004		/* use '\r' instead of '\b' */
#define LPRAW	0x008		/* raw parallel output */
#define	LPCAP	0x010		/* convert everything to capitals (sortof) */
#define	LPNOCR	0x020		/* no carriage return required */
#define LPNOFF	0x040		/* convert FF to N/L */
#define LPNONL	0x080		/* convert '\n' to ?? */
