/****************************************************************************** * * uniVerse include file for GETPU/SETPU keys * * Module include/c_getpu.h * * (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved * This is unpublished proprietary source code of Ardent Software Inc. * The copyright notice above does not evidence any actual or intended * publication of such source code. * ******************************************************************************/ #define PU_FIRSTWRITEKEY 1 /* First READ/WRITE key */ #define PU_MODE 1 /* Printer mode (0 for terminal) */ #define PU_WIDTH 2 /* Device width (columns) */ #define PU_LENGTH 3 /* Device length (lines) */ #define PU_TOPMARGIN 4 /* Top margin (lines) */ #define PU_BOTMARGIN 5 /* Bottom margin (lines) */ #define PU_LEFTMARGIN 6 /* Left margin (columns) */ #define PU_SPOOLFLAGS 7 /* Spool option flags */ #define PU_DEFERTIME 8 /* Spool defer time (mins after m'night) */ #define PU_FORM 9 /* Spool form type (string) */ #define PU_BANNER 10 /* Spool banner (string) */ #define PU_LOCATION 11 /* Spool location (string) */ #define PU_COPIES 12 /* Number of copies to spool */ #define PU_DISKNUMBER 13 /* Spool disk number */ #define PU_PAGING 14 /* Pause at page end (terminal only) */ #define PU_PAGENUMBER 15 /* Set page number */ #define PU_DISABLE 16 /* Disable or enable this print unit */ #define PU_CONNECT 17 /* Connect two print units */ #define PU_DEVICENO 18 /* Logical device number (modes 2,4,5) */ #define PU_PRIORITY 19 /* Spool job priority 0 - 255 */ #define PU_USEROPTS 20 /* Text string of user options to pass through */ #define PU_RELEASE 21 /* Allow print unit to be reused. */ #define PU_NLSMAP 22 /* Set/Read print unit NLS map. */ #define PU_FONTBOLD 23 /* Print text in bold font. */ #define PU_FONTITALIC 24 /* Print text in italic font. */ #define PU_FONTNAME 25 /* Font name to be used in GDI mode. */ #define PU_FONTSIZE 26 /* Font size to be used in GDI mode. */ #define PU_GDI 27 /* Request GDI mode printing. */ #define PU_LINESPACE 28 /* Line spacing to be used in GDI mode. */ #define PU_RAW 29 /* Request raw mode printing. */ #define PU_TABSIZE 30 /* Tab stop spacing to be used in GDI mode. */ #define PU_LASTWRITEKEY 30 /* Last READ/WRITE key */ #define PU_FIRSTREADKEY 1001 /* First READ-ONLY key */ #define PU_COLUMNSLEFT 1001 /* Cols left before new line needed */ #define PU_LINESLEFT 1002 /* Lines left before new page needed */ #define PU_HEADERLINES 1003 /* Lines taken by current header */ #define PU_FOOTERLINES 1004 /* Lines taken by current footer */ #define PU_DATALINES 1005 /* Lines between current header and footer */ #define PU_DATACOLUMNS 1006 /* Cols between left margin and dev width */ #define PU_ASSIGN 1007 /* Assign highest available print unit */ #define PU_LASTREADKEY 1007 /* Last READ-ONLY key */ #define PU_DISCONNECT 10000 /* 'magic' number for a disconnected print unit */ /* END-CODE */