home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / jËzyki_programowania / amigae / e_v3.2a / modulessrc / prefs / printertxt.e < prev    next >
Text File  |  1977-12-31  |  1KB  |  57 lines

  1. OPT MODULE
  2. OPT EXPORT
  3.  
  4. CONST ID_PTXT=$50545854,
  5.       ID_PUNT=$50554E54,
  6.       DRIVERNAMESIZE=30,
  7.       DEVICENAMESIZE=$20
  8.  
  9. OBJECT printertxtprefs
  10.   reserved[4]:ARRAY OF LONG
  11.   driver[30]:ARRAY
  12.   port:CHAR
  13.   papertype:INT  -> This is unsigned
  14.   papersize:INT  -> This is unsigned
  15.   paperlength:INT  -> This is unsigned
  16.   pitch:INT  -> This is unsigned
  17.   spacing:INT  -> This is unsigned
  18.   leftmargin:INT  -> This is unsigned
  19.   rightmargin:INT  -> This is unsigned
  20.   quality:INT  -> This is unsigned
  21. ENDOBJECT     /* SIZEOF=63 */
  22.  
  23. CONST PP_PARALLEL=0,
  24.       PP_SERIAL=1,
  25.       PT_FANFOLD=0,
  26.       PT_SINGLE=1,
  27.       PS_US_LETTER=0,
  28.       PS_US_LEGAL=1,
  29.       PS_N_TRACTOR=2,
  30.       PS_W_TRACTOR=3,
  31.       PS_CUSTOM=4,
  32.       PS_EURO_A0=5,
  33.       PS_EURO_A1=6,
  34.       PS_EURO_A2=7,
  35.       PS_EURO_A3=8,
  36.       PS_EURO_A4=9,
  37.       PS_EURO_A5=10,
  38.       PS_EURO_A6=11,
  39.       PS_EURO_A7=12,
  40.       PS_EURO_A8=13,
  41.       PP_PICA=0,
  42.       PP_ELITE=1,
  43.       PP_FINE=2,
  44.       PS_SIX_LPI=0,
  45.       PS_EIGHT_LPI=1,
  46.       PQ_DRAFT=0,
  47.       PQ_LETTER=1
  48.  
  49. OBJECT printerunitprefs
  50. -> Um, this was wrong
  51.   reserved[4]:ARRAY OF LONG
  52.   unitnum:LONG
  53.   opendeviceflags:LONG
  54.   devicename[$20]:ARRAY
  55. ENDOBJECT     /* SIZEOF=44 */
  56.  
  57.