home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / apps / dtp / pgsmodst / atariprt / prtequ.h < prev    next >
Text File  |  1991-05-23  |  2KB  |  67 lines

  1. .macro CODE
  2.     .text
  3. .endm
  4.  
  5. .macro SECTION name,type,model
  6.     \type
  7. .endm
  8.  
  9.  
  10. *
  11. pdrvrnm        equ    0
  12. device        equ    pdrvrnm+4    ;who to send to
  13. pdl        equ    device+2    ;does it drive a page description language
  14. ptype        equ    pdl+1        ;type of output device (b/w, color,etc..)
  15. pman        equ    ptype+1        ;can it print manual feed?
  16. pmanual        equ    pman+1        ;print manual feed
  17. pmult        equ    pmanual+1    ;can it automatically print mulitiple copies?
  18. unused1        equ    pmult+1        ;unused byte
  19.  
  20. pcopies        equ    unused1+1    ;number of copies to print
  21. pxdpi        equ    pcopies+2    ;x resolution
  22. pydpi        equ    pxdpi+2        ;y resolution
  23. pxover        equ    pydpi+2        ;percentage of x overlap of dots
  24. pyover        equ    pxover+2    ;percentage of y overlap of dots
  25. pminlft        equ    pyover+2    ;pixels from left edge to start printing
  26. pminrht        equ    pminlft+2
  27. pmintop        equ    pminrht+2        ;pixels from top to start printing
  28. pminbot        equ    pmintop+2    ;pixels from bottom to end printing
  29. pmaxw        equ    pminbot+2    ;maximum # pixels across
  30. pmaxh        equ    pmaxw+4        ;maximum # pixels down
  31. prowht        equ    pmaxh+4        ;smallest height of print head
  32. pdensity    equ    prowht+2    ;print density
  33. sendout        equ    pdensity+2    ;ptr to routine to send a byte in d0
  34.  
  35. pblockx        equ    sendout+4    ;x offset to print block at
  36. pblocky        equ    pblockx+4    ;y offset to print block at
  37. pblockw        equ    pblocky+4    ;width in bytes of block to print
  38. pblockh        equ    pblockw+4    ;height of block to print
  39. pblockptr    equ    pblockh+4    ;handle to block to print
  40. pblockoff    equ    pblockptr+4
  41. pblockplane    equ    pblockoff+4
  42.  
  43.  
  44.  
  45. *
  46. * printer type's are
  47. *
  48. PRT_PALET    equ    0    ;N/A        ;RGB pallet only!
  49. PRT_BW        equ    1    ;implemented
  50. PRT_RGB        equ    2    ;N/A
  51. PRT_RGBW    equ    3    ;N/A
  52. PRT_CMY        equ    4    ;implemented
  53. PRT_CMYK    equ    5    ;implemented
  54.  
  55. * for special devices
  56. PRT        equ    1
  57.  
  58. * for normal devices
  59. PARALLEL    equ    1
  60. SERIAL        equ    2
  61. DISK        equ    4
  62.  
  63. * for both
  64. ASCENDING    equ    16
  65. DESCENDING    equ    32
  66. COLLATE        equ    256
  67.