/*----------------------------------------------------------------------- | Module QCPRN.H | | | | Contains mode definitions for Printer Drivers. | | | | Ver 1.00 RA | -----------------------------------------------------------------------*/ #ifdef __cplusplus extern "C" { #endif #ifndef QC_PRN1 #define QC_PRN1 -16 /* QCPRN1 driver */ #define QC_PRN2 -17 /* QCPRN2 */ /* Driver Modes for QCPRN1 */ /* EPSON 9 PIN driver mode definitions */ #define EP80_LO -16 /* 60 x 72 dpi */ #define EP80_MED -17 /* 120 x 72 dpi */ #define EP80_HI -18 /* 240 x 216 dpi */ /* EPSON 24 PIN driver mode definitions */ #define LQ_LO -19 /* LQ 180x180 dpi */ #define LQ_MED -20 /* LQ 180X360 dpi */ #define LQ_HI -21 /* LQ 360x360 dpi */ /* HP LaserJet driver mode definitions */ /* Also applies to HP DeskJet B&W modes */ #define HPLJ_100 -22 /* HP LaserJet 100 dpi */ #define HPLJ_150 -23 /* HP LaserJet 150 dpi */ #define HPLJ_300 -24 /* HP LaserJet 300 dpi */ /* HP DeskJet 500C driver mode definitions */ #define HPDJ_C_100 -25 /* 100 dpi 8 color */ #define HPDJ_C_150 -26 /* 150 dpi 8 color */ #define HPDJ_C_300 -27 /* 300 dpi 8 color */ /* HP PaintJet driver mode definitions */ #define HPPJ_BW_90 -28 /* 90 dpi B&W */ #define HPPJ_BW_180 -29 /* 180 dpi B&W*/ #define HPPJ_C_90 -30 /* 90 dpi 8 color */ #define HPPJ_C_180 -31 /* 180 dpi 8 color */ #define HPPJXL_C_180 -32 /* 180 dpi 16 color, PaintJet XL only */ #define HPTJ -33 /* HP Thinkjet */ /* HPGL driver mode definitions */ /* HP 7475A PLOTTER */ #define HP_7475A_A -50 /* A size paper */ #define HP_7475A_B -51 /* B size paper */ #define HP_7475A_A4 -52 /* A4 size paper */ #define HP_7475A_A3 -53 /* A3 size paper */ /* HP 7550 PLOTTER */ #define HP_7550A_A -54 /* A size paper */ #define HP_7550A_B -55 /* B size paper */ #define HP_7550A_A4 -56 /* A4 size paper */ #define HP_7550A_A3 -57 /* A3 size paper */ /* HP 7440 PLOTTER */ #define HP_7440A_A -58 /* A4 size paper */ /* HP 7470 PLOTTER */ #define HP_7470A_A4 -59 /* A3 size paper */ /* HP 7475A FOR LASERJET 3 */ #define HPLJ_HPGL_A -60 #define HPLJ_HPGL_B -61 /* Postscript driver mode definitions */ #define PS_COURIER -62 #define PS_HELV -63 #define PS_TIMES -64 #define PS_SYM -65 #endif void getprndrivername(int drnum, char *drstring); int scaleprnfont(int grmode, int font, int basesize); int qcsetupprinter(unsigned prnport,unsigned orient, unsigned formfeed,unsigned quietmode, char *filename, unsigned *colormap,unsigned *comportparams, unsigned *sizeoverrides); int qcsave_screen(char *filename); int qcrestore_screen(char *filename); #ifdef __cplusplus } #endif