/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFFL.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $LPDEF ***/ #ifndef __LPDEF_LOADED #define __LPDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #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 #ifdef __NEW_STARLET typedef 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; } LPDEF; #if !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) */ #else /* __OLD_STARLET */ 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) #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) */ #endif /* #ifdef __NEW_STARLET */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __LPDEF_LOADED */