> -----Original Message-----
> From: tien hai nguyen [mailto:[EMAIL PROTECTED]
>
> I can print on my printer in a shell like this :
> lp toto.xml
>
> But I can't print on my printer wiht fop
> my command is like this :
>
> fop -xml toto.xml -xsl toto.xsl -print
>
> and I have a printing error :
> [ERROR] java.io.IOException: Unable to print:
> java.awt.print.PrinterException:
> No print service found.
>

Hi,

Are there other java programs you can test to see whether the problem is
with FOP?

Can you try sending PostScript or PCL output directly to the printer, using
code like here :
http://xml.apache.org/fop/output.html#general-direct-output



Cheers,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to