Hello Thomas,
thanks for your explanations. I'll have a look at both hints. Are there
any samples for solution 1 which i can modify to my needs?
[EMAIL PROTECTED] schrieb:
> Hi Mork,
>
> Mork0075 <[EMAIL PROTECTED]> wrote on 08/25/2007 12:06:21 PM:
>
>
>> I think of the following: i want to print 100 label, 4 per each A4 page.
>> As i understand you, i should create 25 pdfs file (each with 4 label)
>> and then merge it to one large pdf. This create 25 "useless" pdfs, i
>> have to handle their references and delete them later and so on. I
>> really nice solution would something like that:
>>
>> document.addNewPage("<svg ...");
>> document.addNewPage("<svg...");
>>
>
> We don't have this right now. I would suggest two possible
> solutions both of which involve FOP (Apache's implementation
> of XSL).
>
> 1) You can build an XSL (Formatting Objects) Document that
> embeds your SVG documents (either directly or through
> image refs). Then if you run FOP on that document you
> can get one PDF.
>
> 2) You can grab the source for the PDF transcoder from the
> FOP project. With that you can modify it to be a bit
> more like Batik's 'PrintTranscoder'. At this level adding
> a new page is as simple as calling 'nextPage()' on the
> PDFDocumentGraphics2D (which is what the PDFTranscoder
> uses to render the document to PDF).
>
> Number 1 involves essentially no coding but is a bit more
> round about and you would have to learn a bunch about XSL to
> get what you want (that said it might be useful for what you
> are trying to do).
>
> Number 2 involves coding but is probably the simpler of the
> two. You will need to figure out how to build the jar files
> that we need so it's a bit more cumbersome from that point of
> view.
>
> If you did #2 it would be a potentially nice thing to
> consider contributing back (although that would require
> an Apache CLA).
>
>
>> and then transcode one large document into a pdf file.
>>
>> Ruud Steltenpool schrieb:
>>
>>> if you mean "artifacts" as in 'visual disturbances i invite you to
>>> give examples.
>>>
>>> If you mean "hassle", i think it's quite easy, though it needs a
>>> download indeed.
>>>
>>>
>>>> this means that i have to create perhaps 10 single pdf files and then
>>>> merge them together. Isnt there a nicer solution without so much
>>>> artefacts?
>>>>
>>>> Ruud Steltenpool schrieb:
>>>>
>>>>> use pdftk
>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail:
>>>
> [EMAIL PROTECTED]
>
>>>
>> T
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]