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

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 example,

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 filename

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 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 stamp like

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... Glen

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). snip/ Any ideas that don't involve getting

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. snip/ Hmmm, this is probably a really unhelpful

RE: Document Name when printing

2003-10-07 Thread Andreas L. Delmelle
-Original Message- From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] snip/ [...] 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):

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 fast ;)

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: 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

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 filename if

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

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 thought, I

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