#include "stdio.h"
#include "boolean.h"
#include "pr.h"
#include "prdev.h"
#include "vprdev.h"

printobj physical_printer = {
	0,			/* nlpt */
	NULL,			/* prn  */
	NULL,			/* lpt */
	physical_printer_open,  /* open */
	physical_printer_printf, /* print */
	physical_printer_flush, /* flush */
	physical_printer_newline, /* newline */
	physical_printer_ready,  /* ready */
	physical_printer_init,   /* init */
	physical_printer_close,  /* close */
	physical_printer_final,  /* final */
	physical_write_translated, /* translated */
	physical_printer_eject,   /* eject */
	physical_test,		/* test */
	physical_printer_clear,	/* clear */
			    };

#ifndef NOVIRTUAL
printobj virtual_printer = {
	0,			/* nlpt */
	NULL,			/* prn  */
	NULL,			/* lpt */
	virtual_printer_open,  /* open */
	virtual_printer_printf, /* print */
	virtual_printer_flush, /* flush */
	virtual_printer_newline, /* newline */
	virtual_printer_ready,  /* ready */
	virtual_printer_init,   /* init */
	virtual_printer_close,  /* close */
	virtual_printer_final,  /* final */
	virtual_write_translated, /* translated */
	virtual_printer_eject,   /* eject */
	virtual_test,		/* test */
	virtual_printer_clear,	/* clear */
			    };

#endif
printobj * current_printer = &physical_printer;

