Cette page est en cours de rédaction.
Apportez votre aide…
Ceci est une ancienne révision du document !
Présentation de graphtecprint
Créé par Vidar Madsen, graphtecprint permet d'utiliser sous linux, le plotter de découpe GRAPHTEC CC200-20 (Craft ROBO) et ses dérivés (QuicKutz Silhouette et la fameuse Xyron Wishblade). Il devrait fonctionner pour d'autres péripheriques Graphtec mais n'a été testé qu'avec une CC200-20. Graphtecprint a été developpé sous Linux, mais en théorie, il devrait fonctionner sur d'autres OS Unix-like, et peut-être même sous Windows (non testé!).
Compatibilité
- GRAPHTEC CC200-20,
- GRAPHTEC "Craft ROBO",
- QuicKutz Silhouette,
- Xyron Wishblade
Identification du materiel
En premier lieu, il faut un periphérique Graphtec ou compatible. Pour verifier ce point, utilisez la commande lsusb. Vous devriez obtenir ceci :
$ lsusb Bus 001 Device 003: ID **0b4d:110a**
Le nombre en gras peut être différent mais cela ne signifie pas que votre materiel ne fonctionnera pas.
ous pouvez également utiliser la commande “usb_printerid” livrée avec le paquet “foo2zjs” installé par défaut sur votre distribution.
$ sudo usb_printerid /dev/usb/lp1 GET_DEVICE_ID string: MANUFACTURER:Graphtec;MODEL:CC200-20;CLASS:PRINTER;DESCRIPTION:Graphtec CC200-20;
Installer les dépendances
Installez les paquets suivants :
- python
- python-gtk2
- python-glade2
- python-cairo
- pstoedit
- ghostscript
$ sudo apt-get install python python-gtk2 python-glade2 python-cairo pstoedit ghostscript
apt://python,python-gtk2,python-glade2,python-cairo,pstoedit,ghostscript
Téléchargement et installation de graphtecprint
Téléchargez l'archive graphtecprint-1.0.1.tar.gz
Ensuite, décompressez l'archive et déplacez les fichiers au bon emplacement :
$ tar xvzf graphtecprint-1.0.tar.gz $ cd graphtecprint-1.0 $ sudo cp graphtecprint /usr/local/bin/ $ sudo mkdir /usr/local/share/graphtecprint $ sudo cp *.png *.glade /usr/local/share/graphtecprint
Une solution alternative consiste à créer un sous-répertoire dans /opt :
$ tar xvzf graphtecprint-1.0.tar.gz $ cp -a graphtecprint-1.0 /opt/graphtecprint
Utilisation
The program was primarily tested to work with Inkscape, but in theory, all applications capable of printing PostScript to a file or a pipe should work. If you come across a program whose output does not work, feel free to inform the author. (Note that raster graphics from programs such as the GIMP can’t possibly work. Only vector graphics elements will be parsed by this program.)
To cut using Inkscape, open or edit your file of choice, then go to the File menu and select Print. In the Print dialog, select “Print using PostScript operators”. Under “Print destination”, type “| graphtecprint” (the first symbol is a pipe symbol). If you have installed graphtecprint under a directory that’s not in your path you must enter the full path instead, e.g. “| /opt/graphtecprint/graphtecprint”
If you’re using another application, see if it can print to a pipe directly. If so, the procedure should be very similar to the one above.
If the application can not print to a pipe, chose “Print to file” (most applications should offer this) and select an appropriate file name. Then, in a terminal window, run “graphtecprint < somefile.ps", substituting "somefile.ps" for the name of the file you just printed to.
If everything goes according to plan, you should now get the main dialog window. If not, check your program's terminal for error messages that may explain what went wrong.