Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | |
| 2 | #ifndef _ATARI_SLM_H |
| 3 | #define _ATARI_SLM_H |
| 4 | |
| 5 | /* Atari SLM laser printer specific ioctls */ |
| 6 | |
| 7 | #define SLMIOGSTAT 0xa100 |
| 8 | #define SLMIOGPSIZE 0xa101 |
| 9 | #define SLMIOGMFEED 0xa102 |
| 10 | |
| 11 | #define SLMIORESET 0xa140 |
| 12 | |
| 13 | #define SLMIOSPSIZE 0xa181 |
| 14 | #define SLMIOSMFEED 0xa182 |
| 15 | |
| 16 | /* Status returning structure (SLMIOGSTAT) */ |
| 17 | struct SLM_status { |
| 18 | int stat; /* numeric status code */ |
| 19 | char str[40]; /* status string */ |
| 20 | }; |
| 21 | |
| 22 | /* Paper size structure (SLMIO[GS]PSIZE) */ |
| 23 | struct SLM_paper_size { |
| 24 | int width; |
| 25 | int height; |
| 26 | }; |
| 27 | |
| 28 | #endif /* _ATARI_SLM_H */ |