What you've tried isn't available on Unix, only on Windows to a certain
degree. You can, however, use "-print" on the command-line which uses
the Java2D/AWT-Renderer to print on the default printer. But you can't
specify the printer this way. The usual tip for what you're trying to do
is documented here:
http://xmlgraphics.apache.org/fop/0.20.5/output.html#general-direct-output
i.e. use the "lp" command-line tool to send a PS or PCL file to an
LPR-enabled printer.

One day I'm going to reimplement an LPR client like I already did once 
(Too bad I don't own the code). Then we could do things like you want
directly.

On 02.05.2006 10:56:56 Markus Gamperl wrote:
> Dear experts!
> 
> I'm using apache fop 0.20.5 with JRE 1.4.2 on sun solaris 5.9! We are
> producing pdfs with apache fop - this works well.
> But now we should also print the pdfs automatically. I have got three HP
> printers which are connected via printer servers to the LAN.
> 
> How can I print to the printers directly? I have tried the following:
> 
> fop.sh -xml file.xml -xsl file.xsl -pcl \\IP of printer
> 
> This doesn't work so far...
> 
> Any ideas?


Jeremias Maerki


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

Reply via email to