| 1 | |
|---|
| 2 | The Paper Tape Project -- Userspace punch driver |
|---|
| 3 | ================================================ |
|---|
| 4 | |
|---|
| 5 | This is a linux ppdev driver for the FACIT 4070 Tape punch-75 CPS |
|---|
| 6 | paper tape puncher (parallel port). The file puncher.c implements |
|---|
| 7 | this driver. |
|---|
| 8 | After connecting the puncher to the computer and before switching |
|---|
| 9 | it on, you must run setoff-strobe[.c], otherwise it will directly |
|---|
| 10 | start punching like an idiot. |
|---|
| 11 | |
|---|
| 12 | The usage of puncher[.c] is quite simple: |
|---|
| 13 | |
|---|
| 14 | $ cat files-to-punch | ./puncher |
|---|
| 15 | |
|---|
| 16 | of course you need the ppdev driver in your linux kernel. Make sure |
|---|
| 17 | /dev/parport0 exists or search for ``#define PARPORT_DEVICE'' in |
|---|
| 18 | the file puncher.c and fix it so it matches your parport device. |
|---|
| 19 | |
|---|
| 20 | # modprobe ppdev |
|---|
| 21 | # chmod 777 /dev/parport0 |
|---|
| 22 | |
|---|
| 23 | Call ./puncher -h to get some help about the usage. The setoff-strobe |
|---|
| 24 | program does not accept any arguments. The usage of the puncher |
|---|
| 25 | binary is not very comfortable -- but there's a very nice interactive |
|---|
| 26 | perl frontend which is even capable of generating labels for your |
|---|
| 27 | paper tapes: |
|---|
| 28 | |
|---|
| 29 | $ ./puncher-frontend.pl files-to-punch |
|---|
| 30 | |
|---|
| 31 | It will manage the call of the puncher binary and make it possible |
|---|
| 32 | get nice progress output on stdout. |
|---|
| 33 | |
|---|
| 34 | Copyright (C) 2007, 2008 Sven Köppel |
|---|
| 35 | |
|---|
| 36 | The userspace driver is free software; you can redistribute it and/or |
|---|
| 37 | modify it under the terms of the GNU General Public License as published |
|---|
| 38 | by the Free Software Foundation; either version 3 of the License, or (at |
|---|
| 39 | your option) any later version. |
|---|
| 40 | |
|---|
| 41 | The driver is distributed in the hope that it will be useful, but WITHOUT |
|---|
| 42 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 43 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|---|
| 44 | for more details. |
|---|
| 45 | |
|---|
| 46 | You should have received a copy of the GNU General Public License along |
|---|
| 47 | with this program; if not, see <http://www.gnu.org/licenses/>. |
|---|