You may need to use FOP's PostScript extensions to add printer-specific media selection code to the PostScript output. Most printers don't inspect the DSC comments to determine the page size (although the operating system may) and instead rely on PostScript commands. Please consult the printer's manual for the necessary info.
The PostScript extensions are described here: http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPostScript On 10.01.2008 22:22:02 Alexander Lohse wrote: > Hi Jeremias, > > thanks, this seems to be working ... kind of ... > > The error message is gone, BUT the Xerox Phaser is still behaving in > the same strange way: > A message appears on the printer asking for LETTER-Format paper, after > quite a while it prints anyways on the ISO-A4 as wanted/needed and > configured in the PrintRequestAttributeSet ... :-( > > Anyone here any idea, where this behaviour might come from? > > Best regards, > > Alex > > Am 10.01.2008 um 15:12 schrieb Jeremias Maerki: > > > That's only used for building fop-transcoder-allinone.jar which is a > > special case. The necessary class is in xmlgraphics-commons-1.3svn.jar > > which needs to be in the classpath. > > > > On 10.01.2008 14:55:12 Alexander Lohse wrote: > >> Ahh, I just found that the necessary class can be found in "build/ > >> transcoder-dependencies" ... These are not joined into fop.jar? > >> > >> Regards, > >> > >> Alex > >> > >> Am 10.01.2008 um 11:17 schrieb Jeremias Maerki: > >> > >>> Done: http://svn.apache.org/viewvc?rev=610739&view=rev > >>> > >>> On 10.01.2008 01:00:39 Alexander Lohse wrote: > >>>> That would be great! ... Can you give a short message when you have > >>>> testable version? > >>>> > >>>> Thanks, > >>>> > >>>> Alex > >>>> > >>>> Am 09.01.2008 um 21:35 schrieb Jeremias Maerki: > >>>> > >>>>> Indeed, the BoundingBox is currently not generated. There's no > >>>>> magic > >>>>> setting > >>>>> to enable this. Implementing this is fairly simple, however. > >>>>> Maybe I > >>>>> have time in the next few days. > >>>>> > >>>>> On 08.01.2008 22:51:56 Alexander Lohse wrote: > >>>>>> Hi, > >>>>>> > >>>>>> on Mac OS X 10.5 the printing queue complains about "No % > >>>>>> %BoundingBox: > >>>>>> comment in header!" when sending a FOP-generated PS-File. > >>>>>> > >>>>>> The file will eventually print anyways, but some printers (namely > >>>>>> XEROX Phaser 8400) show a message about missing paper ... It will > >>>>>> print after a while (maybe some fallback mechanism) but things > >>>>>> seem > >>>>>> to > >>>>>> take very long. > >>>>>> > >>>>>> Any ideas on this? > >>>>>> > >>>>>> Can this %%BoundingBox some be created, maybe some param/setting > >>>>>> I am > >>>>>> missing? > >>>>>> > >>>>>> I am using a SVN-Trunk checkout from about 6 weeks ago. The PS- > >>>>>> File > >>>>>> is > >>>>>> sent through standard java-printing api, selecting specific trays > >>>>>> and > >>>>>> media-sizes. > >>>>>> > >>>>>> Thank you in advance, > >>>>>> > >>>>>> Alex > >>>>>> ______________________________________________________________ > >>>>>> > >>>>>> Alexander Lohse • Entwicklungsleitung & Projektmanagement > >>>>>> Tel +49 38374 752 11 • Fax +49 38374 752 23 > >>>>>> http://www.humantouch.de > >>>>>> > >>>>>> Human Touch Medienproduktion GmbH > >>>>>> Am See 1 • 17440 Klein Jasedow • Deutschland > >>>>>> > >>>>>> Geschäftsführung: > >>>>>> Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath > >>>>>> (Senior) > >>>>>> Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 > >>>>>> > >>>>> > >>>>> > >>>>> Jeremias Maerki > >>>>> > >>>>> > >>>>> --------------------------------------------------------------------- > >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>>> > >>>> > >>>> ______________________________________________________________ > >>>> > >>>> Alexander Lohse • Entwicklungsleitung & Projektmanagement > >>>> Tel +49 38374 752 11 • Fax +49 38374 752 23 > >>>> http://www.humantouch.de > >>>> > >>>> Human Touch Medienproduktion GmbH > >>>> Am See 1 • 17440 Klein Jasedow • Deutschland > >>>> > >>>> Geschäftsführung: > >>>> Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath > >>>> (Senior) > >>>> Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 > >>> > >>> > >>> > >>> Jeremias Maerki > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >> > >> ______________________________________________________________ > >> > >> Alexander Lohse • Entwicklungsleitung & Projektmanagement > >> Tel +49 38374 752 11 • Fax +49 38374 752 23 > >> http://www.humantouch.de > >> > >> Human Touch Medienproduktion GmbH > >> Am See 1 • 17440 Klein Jasedow • Deutschland > >> > >> Geschäftsführung: > >> Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath > >> (Senior) > >> Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: fop-users- > >> [EMAIL PROTECTED] > >> > > > > > > > > > > Jeremias Maerki > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > ______________________________________________________________ > > Alexander Lohse • Entwicklungsleitung & Projektmanagement > Tel +49 38374 752 11 • Fax +49 38374 752 23 > http://www.humantouch.de > > Human Touch Medienproduktion GmbH > Am See 1 • 17440 Klein Jasedow • Deutschland > > Geschäftsführung: > Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior) > Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
