atari_SLM.h 523 B

12345678910111213141516171819202122232425262728
  1. #ifndef _ATARI_SLM_H
  2. #define _ATARI_SLM_H
  3. /* Atari SLM laser printer specific ioctls */
  4. #define SLMIOGSTAT 0xa100
  5. #define SLMIOGPSIZE 0xa101
  6. #define SLMIOGMFEED 0xa102
  7. #define SLMIORESET 0xa140
  8. #define SLMIOSPSIZE 0xa181
  9. #define SLMIOSMFEED 0xa182
  10. /* Status returning structure (SLMIOGSTAT) */
  11. struct SLM_status {
  12. int stat; /* numeric status code */
  13. char str[40]; /* status string */
  14. };
  15. /* Paper size structure (SLMIO[GS]PSIZE) */
  16. struct SLM_paper_size {
  17. int width;
  18. int height;
  19. };
  20. #endif /* _ATARI_SLM_H */