RE: "Document Name" when printing

2003-10-18 Thread Andreas L. Delmelle
> -Original Message- > From: Clay Leeds [mailto:[EMAIL PROTECTED] > > Excellent idea. I've never used that fo tag (I'm sure there are many > I've never used! I should go take another look at the spec.). It could > be as simple as "if fo:title[.!=''] 'PrintJobName' = fo:title; else > 'PrintJ

RE: "Document Name" when printing

2003-10-09 Thread Andreas L. Delmelle
> -Original Message- > From: Michael Reiche [mailto:[EMAIL PROTECTED] > > H clipped from the specs at w3c: > > "The fo:title formatting object is used to associate a title with a > given page-sequence. This title may be used by an interactive User Agent > to identify the pages. For

RE: "Document Name" when printing

2003-10-08 Thread Andreas L. Delmelle
> -Original Message- > From: Michael Reiche [mailto:[EMAIL PROTECTED] > > On Tue, 2003-10-07 at 23:53, Clay Leeds wrote: > > It would be great if there were a flag/arg that could be added to the > > COMMAND LINE to enable some type of identification to be appended (like > > the date/time st

Re: "Document Name" when printing

2003-10-08 Thread Clay Leeds
Excellent idea. I've never used that fo tag (I'm sure there are many I've never used! I should go take another look at the spec.). It could be as simple as "if fo:title[.!=''] 'PrintJobName' = fo:title; else 'PrintJobName'='FOP Document'" or something. It could also be toggled with a arg/flag (

Re: "Document Name" when printing

2003-10-08 Thread Michael Reiche
On Tue, 2003-10-07 at 23:53, Clay Leeds wrote: > It would be great if there were a flag/arg that could be added to the > COMMAND LINE to enable some type of identification to be appended (like > the date/time stamp like '200310061500' might be good--or since it's a > flag/arg, append the filenam

Re: "Document Name" when printing

2003-10-07 Thread Clay Leeds
Andreas L. Delmelle wrote: From: Clay Leeds [mailto:[EMAIL PROTECTED] Thanks again for all of your collective (not to mention quick!) help on this. Maestro, If mine is included, you're welcome of course. (No replies? Admittedly, perhaps I do leave little to add ;) ) Don't worry... I don't think t

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] > > > If Glen judges that it would hardly be worth the effort, I can understand > perfectly that there are more important issues... So if need be, I'll just > enter a patch one of the coming days. > On second though

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Clay Leeds [mailto:[EMAIL PROTECTED] > > Thanks again for all of your collective (not to mention quick!) help on > this. > Maestro, If mine is included, you're welcome of course. (No replies? Admittedly, perhaps I do leave little to add ;) ) Considering your

Re: "Document Name" when printing

2003-10-07 Thread Clay Leeds
Glen Mazza wrote: --- Clay Leeds <[EMAIL PROTECTED]> wrote: It would be great if there were a flag/arg that could be added to the COMMAND LINE to enable some type of identification to be appended (like the date/time stamp like '200310061500' might be good--or since it's a flag/arg, append the fi

Re: "Document Name" when printing

2003-10-07 Thread Glen Mazza
--- Clay Leeds <[EMAIL PROTECTED]> wrote: > It would be great if there were a flag/arg that > could be added to the > COMMAND LINE to enable some type of identification > to be appended (like > the date/time stamp like '200310061500' might be > good--or since it's a > flag/arg, append the filena

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Clay Leeds [mailto:[EMAIL PROTECTED] > > It would be great if there were a flag/arg that could be added to the > COMMAND LINE to enable some type of identification to be appended (like > the date/time stamp like '200310061500' might be good--or since it's a > fl

Re: "Document Name" when printing

2003-10-07 Thread Clay Leeds
Glen Mazza wrote: Not at all-just updated maintenance and trunk to state "FOP Document" instead of "Java Printing". Thanks for the quick pointer on how to do so. File names are not presently available within the AWTPrintRenderer in order to display them--OTOH, I don't think we want to get into

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] > > ( I see Glen, in the meantime has beaten me to it :) ) > > Just tried the following: > > - added a member variable to PrintStarter: > > line 90 -> private String pjname; ^^^ Sorry, too

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] > > [...] I have been browsing around in the > source, and pinpointed *the* class which needs to be modified (maintenance > branch, but seems to be the same for HEAD, if I'm correct): > > org.apache.fop.apps.PrintSt

Re: "Document Name" when printing

2003-10-07 Thread Glen Mazza
--- Eric Galluzzo <[EMAIL PROTECTED]> wrote: > > The name of a printer job can be set via the > java.awt.print.PrinterJob.setJobName( String ) > method. This would need > to be done within whatever class creates the printer > job and prints it. > > Hmmm, this is probably a really unhelpfu

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Eric Galluzzo [mailto:[EMAIL PROTECTED] > > Clay Leeds wrote: > > > Is there any way to control the document name when printing from the > > command line (fop-0.20.5, java 1.4.1_01-b01 running under Windows XP > > Pro). > > > > Any ideas that don't involve ge

Re: "Document Name" when printing

2003-10-07 Thread Eric Galluzzo
Clay Leeds wrote: Is there any way to control the document name when printing from the command line (fop-0.20.5, java 1.4.1_01-b01 running under Windows XP Pro). At present it displays "Java Printing". I'd like to *at least* have an option for appending a serial number printing (Java Printing_

Re: "Document Name" when printing

2003-10-07 Thread Glen Mazza
--- Clay Leeds <[EMAIL PROTECTED]> wrote: > Is there any way to control the document name when > printing from the > command line (fop-0.20.5, java 1.4.1_01-b01 running > under Windows XP > Pro). I'm unsure what you mean--are you referring to the -print render type? I don't think so here... G