/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:38:00 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:09 _$11$DUA933:[BUILD.SDL]STARDEFFL.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $LPDEF ***/ #ifndef __LPDEF_LOADED #define __LPDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /*+ */ /* LINE PRINTER CHARACTERISTICS DEFINITIONS */ /*- */ #define LP$M_CR 0x1 #define LP$M_MECHFORM 0x2 #define LP$M_PRINTALL 0x4 #define LP$M_DAVFU 0x8 #define LP$M_WRAP 0x10 #define LP$M_TRUNCATE 0x20 #define LP$M_TAB 0x40 #define LP$M_LOWER 0x80 #define LP$M_PASSALL 0x100 #define LP$M_FALLBACK 0x200 #define LP$M_SIXELS 0x400 #define LP$M_BITMAPPED 0x800 #define LP$M_POLLED 0x1000 #define LP$M_BIDIRECTIONAL 0x2000 #define LP$M_PAGE_L 0xFF000000 #define LP$_LP11 1 #define LP$_LA11 2 #define LP$_LA180 3 #define LP$_PC_PRINTER 8 union lpdef { __struct { unsigned lp$v_cr : 1; /* CARRIAGE RETURN NEEDED */ unsigned lp$v_mechform : 1; /* MECHANICAL FORM FEED */ unsigned lp$v_printall : 1; /* NON PRINTABLE CHAR. ACCEPT(DMF-32) */ unsigned lp$v_davfu : 1; /* DAVFU AVAIL. */ unsigned lp$v_wrap : 1; /* CHAR. WRAP MODE */ unsigned lp$v_truncate : 1; /* TRUNCATE output at carriage width */ unsigned lp$v_tab : 1; /* TAB needed */ unsigned lp$v_lower : 1; /* PRINTER HAS LOWER CASE */ unsigned lp$v_passall : 1; /* PASSALL MODE */ unsigned lp$v_fallback : 1; /* FALLBACK MODE */ unsigned lp$v_sixels : 1; /* HANDLES SIXELS */ unsigned lp$v_bitmapped : 1; /* HANDLES BIT MAPS */ unsigned lp$v_polled : 1; /* Printer will poll device */ unsigned lp$v_bidirectional : 1; /* Bidirectional USB printer */ unsigned lpdef$$_fill_2 : 10; /* SPARE UNUSED BITS */ unsigned lp$v_page_l : 8; /* PAGE LENGTH */ } lp$r_lpdef_bits; } ; #if !defined(__VAXC) && !defined(VAXC) #define lp$v_cr lp$r_lpdef_bits.lp$v_cr #define lp$v_mechform lp$r_lpdef_bits.lp$v_mechform #define lp$v_printall lp$r_lpdef_bits.lp$v_printall #define lp$v_davfu lp$r_lpdef_bits.lp$v_davfu #define lp$v_wrap lp$r_lpdef_bits.lp$v_wrap #define lp$v_truncate lp$r_lpdef_bits.lp$v_truncate #define lp$v_tab lp$r_lpdef_bits.lp$v_tab #define lp$v_lower lp$r_lpdef_bits.lp$v_lower #define lp$v_passall lp$r_lpdef_bits.lp$v_passall #define lp$v_fallback lp$r_lpdef_bits.lp$v_fallback #define lp$v_sixels lp$r_lpdef_bits.lp$v_sixels #define lp$v_bitmapped lp$r_lpdef_bits.lp$v_bitmapped #define lp$v_polled lp$r_lpdef_bits.lp$v_polled #define lp$v_bidirectional lp$r_lpdef_bits.lp$v_bidirectional #define lp$v_page_l lp$r_lpdef_bits.lp$v_page_l #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __LPDEF_LOADED */