Re: [Phpvideopro-developers] some questions
Brought to you by:
izzy
From: Peter B. <pb...@bi...> - 2002-02-05 20:29:28
|
Hi, --On Tuesday, February 05, 2002 03:27:34 PM +0100 Itzchak Rehberg <izz...@qu...> wrote: >> I have interest in >> * Copy entry >=20 >=20 > You mean: create a new entry based upon an existing one, e.g. > Entering (and saving) "Indiana Jones I" and then, since most data > are equivalent, start over with the same set for "Indiana Jones > II"? Well, good thing. Yes. >> * generating CD labels with "cdlabelgen" (in this case I can do >> some support) >=20 >=20 > Can you give me some details? That's a function I want to have as > well. What can you do about it, and what do I have to provide for > it? An example: I could "post" certain fields to some target php > page, let's call it label.php, via the <Form> stuff. Could you then > provide the label.php script which just generates the output > (probably two images of fixed size, one for the top and one for the > back of the tape), and then opens a new window and displays either > these images for printing, or an error message if needed? For the > beginning, we could start with some defaults. Lateron, we should > provide the possibility of configuration (what details should be > printed, what templates to use etc). "cdlabelgen" generates a Postscript output to stdout depending on some command line options: # cdlabelgen usage: /usr/bin/cdlabelgen -c <category> -s <subcategory> [-i <item1%item2%etc> -f<itemsfile> -e <cover_epsfile> -S <cover_eps_scaleratio> -E <tray_epsfile> -T <tray_eps_scaleratio> -d <date> -D -o <outputfile> -t <template> -b -w -h] Currently I'm using this with source of a txt file Input:=20 Title : Wie ich den Krieg gewann Length: 106 Year : 1966 Format: VCD Video : 1152 MPEG-1 CBR 352x288 PAL Audio : 224 MPEG-1 Layer II Stereo Actors: John Lennon Command: cdlabelgen -c 'Wie ich den Krieg gewann' -s ' ' -i 'Wie ich den Krieg gewann%%(P) 1966%%Darsteller: John Lennon%%L=E4nge: 106 min%%Format: VideoCD 2.0%Video: 1152 kBit/s MPEG-1 CBR 352x288 PAL%Audio: 224 kBit/s MPEG-1 Layer II Stereo' -D Don't know how to put it in phpVP, but perhaps it's enough if a commandline is generated using some definable placeholders. Then one can copy this line to shell, and got the PS output which can be sent directly to printer. Peter >=20 > Thanx 4 input! >=20 > </izzy> >=20 >=20 > --=20 > Itzchak Rehberg > http://www.qumran.org/homes/izzy/ > "We have joy, we have fun, we boot Linux on our SUN..." >=20 >=20 > _______________________________________________ > Phpvideopro-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpvideopro-developers >=20 > =20 |