View previous topic :: View next topic |
Author |
Message |
driden91 Apprentice
Joined: 26 Jul 2004 Posts: 232 Location: paris
|
Posted: Fri Aug 27, 2004 1:00 pm Post subject: [gentoo] est ce que ca existe sous linux?? (non résolu) |
|
|
bonjour voila je vouidrais savoir si un logicielle permettant de creer des etiquette pour les imprimer sur les cd existe sous linux?? genre label creator????
car je voudrais creer une étiquette et ajouter une ligne lancant l'impression de celle ci dans un scripts de gravure
merci _________________ l'ange des tenebres vit la lumiere au fond de la nature humaine.... |
|
Back to top |
|
|
br0mGreV Apprentice
Joined: 28 Jul 2004 Posts: 265 Location: Paris, France
|
Posted: Fri Aug 27, 2004 1:14 pm Post subject: |
|
|
Je pense qu'il existe des classes de documents pour LaTeX qui permettent de faire Ca :
http://home.gna.org/latexfr/ ou http://www.gnu.org/non-gnu/latexfr/ (ils pointent sur le meme lien.
Je pense que ce sera ce qu'il y a de plus simple et de plus tunable pour toi.
D'ailleurs je pense a ca suite a la lecture du sujet LaTeX vs OO.... _________________ Rien n'est éternel, pas même les problèmes... |
|
Back to top |
|
|
moon69 Guru
Joined: 30 Aug 2003 Posts: 444
|
Posted: Fri Aug 27, 2004 3:26 pm Post subject: |
|
|
yop,
pour tes recherches de soft ya http://www.freshmeat.net
tu y trouveras ton bonheur |
|
Back to top |
|
|
dyurne Guru
Joined: 19 Aug 2003 Posts: 475 Location: Lille, France
|
Posted: Fri Aug 27, 2004 3:37 pm Post subject: |
|
|
emerge -s label te renvoit quelques softs qui devrait t'intéresser.
J'en ai testé aucun (un simple coup de marqueur me suffit ) mais si après différents tests tu venais poster ici lequel te semble le meilleur se serait sympa. _________________ - Ah bah nan...
- Si ! |
|
Back to top |
|
|
Prodigy44 Apprentice
Joined: 19 Sep 2003 Posts: 231 Location: Nantes, France
|
|
Back to top |
|
|
zarasoustra17 Guru
Joined: 01 Jul 2003 Posts: 382 Location: Marseille France
|
|
Back to top |
|
|
neysx Retired Dev
Joined: 27 Jan 2003 Posts: 795
|
Posted: Sat Aug 28, 2004 9:20 am Post subject: Re: [gentoo] est ce que ca existe sous linux?? (non résolu) |
|
|
driden91 wrote: | bonjour voila je vouidrais savoir si un logicielle permettant de creer des etiquette pour les imprimer sur les cd existe sous linux?? genre label creator????
car je voudrais creer une étiquette et ajouter une ligne lancant l'impression de celle ci dans un scripts de gravure
merci | Si tu veux créer une étiquette statique, tu peux utiliser glabels, ou même inkscape et la sortir dans un fichier .ps que tu imprimes dans ton script.
Par contre, si tu veux aussi modifier l'étiquette dans ton script, alors latex devient plus facile. Voici un exemple de fichier .tex que j'utilise quand un coup de feutre ne suffit pas. L'image de fond utilisée par le fichier est img1.eps, tu peux créer l'image avec gimp, utiliser un autre nom ou l'enlever. Code: | % cd dot tex
% Written by Xavier Neys, 2004
%
% Render with
% $ latex cd.tex && dvips -o cd.ps cd.dvi
%
\documentclass{slides}
\usepackage{vmargin}
\setpapersize{A4}
\setmarginsrb{0mm}{0mm}{0mm}{0mm}{0mm}{0mm}{0mm}{0mm}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{graphicx}
\usepackage{calc}
\usepackage{pstricks}
\usepackage{pst-text}
\usepackage{textcomp}
\usepackage{letterspace}
\pagestyle{empty}
% Label centers are exactly at (105mm,87mm) and (105mm,210mm)
% To take your printer margins into account, define these values
% to move the labels a negative x value shifts the centers to the left
% and a positive y value shifts the centers upwards
% Unit is 0.1mm
\newcounter{xoff}
\newcounter{yoff}
\setcounter{xoff}{0}
\setcounter{yoff}{0}
% Define position of label centers. Unit is 0.1mm
% Use exact positions, they will be shifted according to specified values
\newcounter{cx1}
\newcounter{cy1}
\newcounter{cx2}
\newcounter{cy2}
\setcounter{cx1}{1050+\value{xoff}}
\setcounter{cy1}{2100+\value{yoff}}
\setcounter{cx2}{1050+\value{xoff}}
\setcounter{cy2}{870+\value{yoff}}
% Define radius of hole and of label
\newcounter{irad}
\newcounter{lrad}
\setcounter{irad}{205}
\setcounter{lrad}{585}
% Define y-positions of TopTitle, SubTitle and Disc n of m (x-positions are same as label centers)
\newcounter{tty1}
\newcounter{tty2}
\setcounter{tty1}{\value{cy1}-\value{irad}-(\value{lrad}-\value{irad})/3}
\setcounter{tty2}{\value{cy2}-\value{irad}-(\value{lrad}-\value{irad})/3}
\newcounter{sty1}
\newcounter{sty2}
\setcounter{sty1}{\value{cy1}-\value{irad}-(\value{lrad}-\value{irad})/2-10}
\setcounter{sty2}{\value{cy2}-\value{irad}-(\value{lrad}-\value{irad})/2-10}
\newcounter{dny1}
\newcounter{dny2}
\setcounter{dny1}{\value{sty1}-80}
\setcounter{dny2}{\value{sty2}-80}
% Define positions of watermarks to recenter/clip picture as desired
\newcounter{wmcx1}
\newcounter{wmcy1}
\newcounter{wmcx2}
\newcounter{wmcy2}
\setcounter{wmcx1}{\value{cx1}-30}
\setcounter{wmcy1}{\value{cy1}+50}
\setcounter{wmcx2}{\value{cx2}-30}
\setcounter{wmcy2}{\value{cy2}+50}
% Define size of watermark
\newlength{\wmheight}
\setlength{\wmheight}{10.8cm}
% Define x-locations of CD-R / CD-RW
\newcounter{medx1}
\setcounter{medx1}{\value{cx1}+\value{irad}+(\value{lrad}-\value{irad})/2}
\newcounter{medx2}
\setcounter{medx2}{\value{cx2}+\value{irad}+(\value{lrad}-\value{irad})/2}
\begin{document}
\psset{unit=0.1mm}
\newfont{\innert}{cmbx10 scaled 620}
\newcommand{\LTY}{\innert{\letterspace to 1.2 \naturalwidth{www.gentoo.org}}}
\newcommand{\LTTM}{\fontfamily{ptm}\fontsize{6}{6}\selectfont\letterspace to 1.8 \naturalwidth{Linux{\texttrademark} est une marque déposée de Linus Torvalds}}
\newcommand{\ALLTM}{\fontfamily{ptm}\fontsize{6}{6}\selectfont\letterspace to 1.8 \naturalwidth{Vive forums.gentoo.org}}
\newcommand{\TTITLEA}{\fontfamily{pnc}\fontsize{16}{16}\fontseries{b}\selectfont\letterspace to 1.24 \naturalwidth{Gentoo 2004.2}}
\newcommand{\TTITLEB}{\fontfamily{pnc}\fontsize{16}{16}\fontseries{b}\selectfont\letterspace to 1.24 \naturalwidth{Gentoo 2004.2}}
\newcommand{\STITLEA}{\fontfamily{pnc}\fontsize{11}{12}\fontseries{m}\selectfont\letterspace to 1.1 \naturalwidth{Universal x86 LiveCD}}
\newcommand{\STITLEB}{\fontfamily{pnc}\fontsize{11}{12}\fontseries{m}\selectfont\letterspace to 1.1 \naturalwidth{Universal PPC LiveCD}}
\newcommand{\DISCNA}{\fontfamily{pnc}\fontsize{9}{10}\fontseries{m}\selectfont\letterspace to 1.1 \naturalwidth{Disc 1 of 1}}
\newcommand{\DISCNB}{\fontfamily{pnc}\fontsize{9}{10}\fontseries{m}\selectfont\letterspace to 1.1 \naturalwidth{Disc 1 of 1}}
\newcommand{\MEDIUMA}{\fontfamily{pcr}\fontsize{18}{15}\fontseries{b}\selectfont\letterspace to 1.1 \naturalwidth{CD-R}}
\newcommand{\MEDIUMB}{\fontfamily{pcr}\fontsize{18}{15}\fontseries{b}\selectfont\letterspace to 1.1 \naturalwidth{CD-R}}
\begin{pspicture}(2100,2970)
% Watermarks
\rput(\value{wmcx1},\value{wmcy1}){\includegraphics[height=\wmheight]{img1.eps}}
\rput(\value{wmcx2},\value{wmcy2}){\includegraphics[height=\wmheight]{img1.eps}}
% Inner circle texts (3x \LTY)
\pstextpath[c](0,12){\psarcn[linestyle=none,fillstyle=none](\value{cx1},\value{cy1}){\value{irad}}{60}{300}}{\LTY}
\pstextpath[c](0,12){\psarcn[linestyle=none,fillstyle=none](\value{cx1},\value{cy1}){\value{irad}}{300}{180}}{\LTY}
\pstextpath[c](0,12){\psarcn[linestyle=none,fillstyle=none](\value{cx1},\value{cy1}){\value{irad}}{180}{60}}{\LTY}
\pstextpath[c](0,12){\psarcn[linestyle=none,fillstyle=none](\value{cx2},\value{cy2}){\value{irad}}{60}{300}}{\innert{\LTY}}
\pstextpath[c](0,12){\psarcn[linestyle=none,fillstyle=none](\value{cx2},\value{cy2}){\value{irad}}{300}{180}}{\innert{\LTY}}
\pstextpath[c](0,12){\psarcn[linestyle=none,fillstyle=none](\value{cx2},\value{cy2}){\value{irad}}{180}{60}}{\innert{\LTY}}
% Outer top circle text
\pstextpath[c](2,-22){\psarcn[linestyle=none,fillstyle=none](\value{cx1},\value{cy1}){\value{lrad}}{180}{0}}{\LTTM}
\pstextpath[c](2,-22){\psarcn[linestyle=none,fillstyle=none](\value{cx2},\value{cy2}){\value{lrad}}{180}{0}}{\LTTM}
% Outer bottom circle text
\pstextpath[c](2, 12){\psarc [linestyle=none,fillstyle=none](\value{cx1},\value{cy1}){\value{lrad}}{180}{0}}{\ALLTM}
\pstextpath[c](2, 12){\psarc [linestyle=none,fillstyle=none](\value{cx2},\value{cy2}){\value{lrad}}{180}{0}}{\ALLTM}
% Main Title
\rput(\value{cx1},\value{tty1}){\TTITLEA}
\rput(\value{cx2},\value{tty2}){\TTITLEB}
% Sub Title
\rput(\value{cx1},\value{sty1}){\STITLEA}
\rput(\value{cx2},\value{sty2}){\STITLEB}
% Disc number
\rput(\value{cx1},\value{dny1}){\DISCNA}
\rput(\value{cx2},\value{dny2}){\DISCNB}
% Medium Type
\rput(\value{medx1},\value{cy1}){\MEDIUMA}
\rput(\value{medx2},\value{cy2}){\MEDIUMB}
% Cut out around labels
\pscustom[linestyle=none,fillstyle=none]
{
\gsave
\psframe[linestyle=none](0,0)(2100,2970)
\moveto(2100,0)
\pscircle[linestyle=dotted,linewidth=1,linecolor=black,fillstyle=none](\value{cx1},\value{cy1}){\value{lrad}}
\pscircle[linestyle=dotted,linewidth=1,linecolor=black,fillstyle=none](\value{cx2},\value{cy2}){\value{lrad}}
\fill[fillstyle=solid,fillcolor=white]
\grestore
}
\pscircle[linestyle=none,linecolor=black,linewidth=1,fillstyle=none](\value{cx1},\value{cy1}){\value{lrad}}
\pscircle[linestyle=none,linecolor=black,linewidth=1,fillstyle=none](\value{cx2},\value{cy2}){\value{lrad}}
% Cut out label centers
\pscircle[linestyle=none,linecolor=black,linewidth=1,fillstyle=solid,fillcolor=white](\value{cx1},\value{cy1}){\value{irad}}
\pscircle[linestyle=none,linecolor=black,linewidth=1,fillstyle=solid,fillcolor=white](\value{cx2},\value{cy2}){\value{irad}}
\end{pspicture}
\end{document} | Ton script devra juste remplacer les textes dans les \newcommand et lancer latex, dvips et lp.
Voici un exemple récent.
À toi de jouer... |
|
Back to top |
|
|
br0mGreV Apprentice
Joined: 28 Jul 2004 Posts: 265 Location: Paris, France
|
Posted: Sat Aug 28, 2004 4:02 pm Post subject: |
|
|
Tu peux aussi :
- attendre que la technologie LighScribe soit commercialisé (début 2005)
- attendre qu'il existe des drivers sous linux pour gerer le bébé (dans longtemps)
- attendre que quelqu'un invente un systeme en ligne de commande qui genère l'image
et voila )
source :
Un graveur LightScribe pour portable : http://www.clubic.com/n/n13767.html
Graveurs compatibles LightScribe pour cet été :
http://www.clubic.com/n/n13161.html
Bon désolé _________________ Rien n'est éternel, pas même les problèmes... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|