You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Raúl Carazo <rc...@bilbomatica.es> on 2002/01/14 11:49:32 UTC

PS printing

    I'd like to generate a PS file (or much better, to send it to the printer) and not a pdf report. I use the RENDER_PS, but the format seem to bo incorrect... Do I have to transform it ??

    Thank you


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Siete buoni, se potete

RE: PS printing

Posted by Raúl Carazo <rc...@bilbomatica.es>.
    Yes, I know, but we haven't (and we don't want to have) Acrobat on
server, so I'm searching another solution. Maybe it's impossible (in fact, I
think that printing a pdf report without Acrobat is a bit strange... But
maybe with PS...)

    Anyway, thank you every much!

    Salve

----- Original Message -----
From: Jeremias Maerki <je...@outline.ch>
To: <fo...@xml.apache.org>
Sent: Tuesday, January 15, 2002 5:15 PM
Subject: Re: PS printing


If I were you I'd still try if the command line of Acrobat Reader works
for you. For this, I found the following tip in the mailing list
archive:
http://marc.theaimsgroup.com/?l=fop-dev&m=99302073007101&w=2

I've just tried out printing a PDF on the command line using Ghostview's
gsprint. It worked great. You could also try that. Command line options
are described here:
http://www.cs.wisc.edu/~ghost/gsview/gsprint.htm

I hope it helps...

On Tue, 15 Jan 2002 16:14:26 +0100 Raúl Carazo wrote:
>     Ok!! The problem is that I'd like to send a pdf-report, but without
> installing Acrobat on server...
>
>     I mean: I'm creating a pdf-report with FOP, and works... Now, I'd like
> to create a PS file, or a PS data-flow and to send it to the printer, but
> with the layout of the pdf-report... I've tried with PCL, but it sets
> Courier (I'm using Verdana) and set the page in vertical mode.
>
>     Ah! I don't want to see the printer window for setting the measures or
> the orientation, or anything... I want it to print.
>
>     I don't know if it is possible. If not, I use the pdf-reports (they
are
> fantastic, and I think quite enough), but...
>
>
> ----- Original Message -----
> From: Jeremias Maerki <je...@outline.ch>
> To: <fo...@xml.apache.org>
> Sent: Monday, January 14, 2002 4:36 PM
> Subject: Re: PS printing
>
>
> Now, I get it! Thanks. It seems as I suspected: The problems probably
> come from the tables. If you are on Unix, try Acrobat Reader 4.05 on the
> command-line ("-toPostScript" and friends) to generate PostScript from
> PDF and print it via LPR. If you are on Windows, try the command-line
> options of Acrobat Reader to directly print a PDF to a printer. Or you
> can try GhostScript. Everything should be in the mailing list archives:
>
> http://marc.theaimsgroup.com/?l=fop-dev
>
> Another good source of information is the FAQ:
> http://www.owal.co.uk:8090
>
>
> On Mon, 14 Jan 2002 16:23:19 +0100 Raúl Carazo wrote:
> >     Excuse me...
> >
> >     I'm using xsl with tables, stylesheet and an image. But what I can't
> see
> > is the data.
> >
> >     The PDF I generate is correct, but is not a file, but a data-flow to
> the
> > browser. I can see it and print it correctly (even if I want to save it,
I
> > can. But this isn't the idea).
> >
> >     But if I change it for RENDER_PS and I make the file (or I send it
to
> > the printer), I can't print it (the format is not correct), and if I
> > transform it in a PDF (with Acrobat Distiller), the image is correctly
set
> > and some of the characters (lines, even an underline) are correct.
> >
> >     Where can I found the files for past e-mails?
> >
> >     And thank you very much!!
> >
> >     Salve
> >

Cheers,
OUTLINE AG
Jeremias Märki

mailto:jeremias.maerki@outline.ch

Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: PS printing

Posted by Jeremias Maerki <je...@outline.ch>.
If I were you I'd still try if the command line of Acrobat Reader works
for you. For this, I found the following tip in the mailing list
archive:
http://marc.theaimsgroup.com/?l=fop-dev&m=99302073007101&w=2

I've just tried out printing a PDF on the command line using Ghostview's
gsprint. It worked great. You could also try that. Command line options
are described here:
http://www.cs.wisc.edu/~ghost/gsview/gsprint.htm

I hope it helps...

On Tue, 15 Jan 2002 16:14:26 +0100 Raúl Carazo wrote:
>     Ok!! The problem is that I'd like to send a pdf-report, but without
> installing Acrobat on server...
> 
>     I mean: I'm creating a pdf-report with FOP, and works... Now, I'd like
> to create a PS file, or a PS data-flow and to send it to the printer, but
> with the layout of the pdf-report... I've tried with PCL, but it sets
> Courier (I'm using Verdana) and set the page in vertical mode.
> 
>     Ah! I don't want to see the printer window for setting the measures or
> the orientation, or anything... I want it to print.
> 
>     I don't know if it is possible. If not, I use the pdf-reports (they are
> fantastic, and I think quite enough), but...
> 
> 
> ----- Original Message -----
> From: Jeremias Maerki <je...@outline.ch>
> To: <fo...@xml.apache.org>
> Sent: Monday, January 14, 2002 4:36 PM
> Subject: Re: PS printing
> 
> 
> Now, I get it! Thanks. It seems as I suspected: The problems probably
> come from the tables. If you are on Unix, try Acrobat Reader 4.05 on the
> command-line ("-toPostScript" and friends) to generate PostScript from
> PDF and print it via LPR. If you are on Windows, try the command-line
> options of Acrobat Reader to directly print a PDF to a printer. Or you
> can try GhostScript. Everything should be in the mailing list archives:
> 
> http://marc.theaimsgroup.com/?l=fop-dev
> 
> Another good source of information is the FAQ:
> http://www.owal.co.uk:8090
> 
> 
> On Mon, 14 Jan 2002 16:23:19 +0100 Raúl Carazo wrote:
> >     Excuse me...
> >
> >     I'm using xsl with tables, stylesheet and an image. But what I can't
> see
> > is the data.
> >
> >     The PDF I generate is correct, but is not a file, but a data-flow to
> the
> > browser. I can see it and print it correctly (even if I want to save it, I
> > can. But this isn't the idea).
> >
> >     But if I change it for RENDER_PS and I make the file (or I send it to
> > the printer), I can't print it (the format is not correct), and if I
> > transform it in a PDF (with Acrobat Distiller), the image is correctly set
> > and some of the characters (lines, even an underline) are correct.
> >
> >     Where can I found the files for past e-mails?
> >
> >     And thank you very much!!
> >
> >     Salve
> >

Cheers,
OUTLINE AG
Jeremias Märki

mailto:jeremias.maerki@outline.ch

Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


RE: PS printing

Posted by Raúl Carazo <rc...@bilbomatica.es>.
    Ok!! The problem is that I'd like to send a pdf-report, but without
installing Acrobat on server...

    I mean: I'm creating a pdf-report with FOP, and works... Now, I'd like
to create a PS file, or a PS data-flow and to send it to the printer, but
with the layout of the pdf-report... I've tried with PCL, but it sets
Courier (I'm using Verdana) and set the page in vertical mode.

    Ah! I don't want to see the printer window for setting the measures or
the orientation, or anything... I want it to print.

    I don't know if it is possible. If not, I use the pdf-reports (they are
fantastic, and I think quite enough), but...


----- Original Message -----
From: Jeremias Maerki <je...@outline.ch>
To: <fo...@xml.apache.org>
Sent: Monday, January 14, 2002 4:36 PM
Subject: Re: PS printing


Now, I get it! Thanks. It seems as I suspected: The problems probably
come from the tables. If you are on Unix, try Acrobat Reader 4.05 on the
command-line ("-toPostScript" and friends) to generate PostScript from
PDF and print it via LPR. If you are on Windows, try the command-line
options of Acrobat Reader to directly print a PDF to a printer. Or you
can try GhostScript. Everything should be in the mailing list archives:

http://marc.theaimsgroup.com/?l=fop-dev

Another good source of information is the FAQ:
http://www.owal.co.uk:8090


On Mon, 14 Jan 2002 16:23:19 +0100 Raúl Carazo wrote:
>     Excuse me...
>
>     I'm using xsl with tables, stylesheet and an image. But what I can't
see
> is the data.
>
>     The PDF I generate is correct, but is not a file, but a data-flow to
the
> browser. I can see it and print it correctly (even if I want to save it, I
> can. But this isn't the idea).
>
>     But if I change it for RENDER_PS and I make the file (or I send it to
> the printer), I can't print it (the format is not correct), and if I
> transform it in a PDF (with Acrobat Distiller), the image is correctly set
> and some of the characters (lines, even an underline) are correct.
>
>     Where can I found the files for past e-mails?
>
>     And thank you very much!!
>
>     Salve
>

Cheers,
Jeremias Märki

mailto:jeremias.maerki@outline.ch

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: PS printing

Posted by Jeremias Maerki <je...@outline.ch>.
Now, I get it! Thanks. It seems as I suspected: The problems probably
come from the tables. If you are on Unix, try Acrobat Reader 4.05 on the
command-line ("-toPostScript" and friends) to generate PostScript from
PDF and print it via LPR. If you are on Windows, try the command-line
options of Acrobat Reader to directly print a PDF to a printer. Or you
can try GhostScript. Everything should be in the mailing list archives:

http://marc.theaimsgroup.com/?l=fop-dev

Another good source of information is the FAQ:
http://www.owal.co.uk:8090


On Mon, 14 Jan 2002 16:23:19 +0100 Raúl Carazo wrote:
>     Excuse me...
> 
>     I'm using xsl with tables, stylesheet and an image. But what I can't see
> is the data.
> 
>     The PDF I generate is correct, but is not a file, but a data-flow to the
> browser. I can see it and print it correctly (even if I want to save it, I
> can. But this isn't the idea).
> 
>     But if I change it for RENDER_PS and I make the file (or I send it to
> the printer), I can't print it (the format is not correct), and if I
> transform it in a PDF (with Acrobat Distiller), the image is correctly set
> and some of the characters (lines, even an underline) are correct.
> 
>     Where can I found the files for past e-mails?
> 
>     And thank you very much!!
> 
>     Salve
> 

Cheers,
Jeremias Märki

mailto:jeremias.maerki@outline.ch

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


RE: PS printing

Posted by Raúl Carazo <rc...@bilbomatica.es>.
    Excuse me...

    I'm using xsl with tables, stylesheet and an image. But what I can't see
is the data.

    The PDF I generate is correct, but is not a file, but a data-flow to the
browser. I can see it and print it correctly (even if I want to save it, I
can. But this isn't the idea).

    But if I change it for RENDER_PS and I make the file (or I send it to
the printer), I can't print it (the format is not correct), and if I
transform it in a PDF (with Acrobat Distiller), the image is correctly set
and some of the characters (lines, even an underline) are correct.

    Where can I found the files for past e-mails?

    And thank you very much!!

    Salve



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: PS printing

Posted by Jeremias Maerki <je...@outline.ch>.
Raúl,

"...the PS file is not correct..." does not help me much to find out
what problems you have. My best guess is you're using tables and the
PostScript renderer is messing up the layout.

The PostScript renderer has worked for some people. But even I (who made
the PostScript renderer in the first place) am currently generating PDF
and converting it to PostScript using Adobe Acrobat Reader on Unix.
Others use GhostScript to convert PDF to PostScript. So it's probably
best if you did the same. I remember discussions on the mailing list
concerning direct printing of PostScript files. You might have to search
the archives.


On Mon, 14 Jan 2002 15:51:09 +0100 Raúl Carazo wrote:
>     I have an application that generate a pdf report. But if I change
> RENDER_PDF with RENDER_PS, the PS file is not correct... I think if I can
> generate a PS file, it's because it's possible to generate PS files, so I
> hope to see them...
>     Where can I know if it is possible? Anyone has tried to create a PS file
> directly for printing it?
> 
>     Salve
> 
> ----- Original Message -----
> From: Jeremias Maerki <je...@outline.ch>
> To: <fo...@xml.apache.org>
> Sent: Monday, January 14, 2002 1:07 PM
> Subject: Re: PS printing
> 
> 
> What exactly do you think is incorrect? It can very well be, that the
> PostScript renderer does not work well on every occasion, a lot of
> features are still missing.
> 
> On Mon, 14 Jan 2002 11:49:32 +0100 Raúl Carazo wrote:
> > I'd like to generate a PS file (or much better, to send it to the
> > printer) and not a pdf report. I use the RENDER_PS, but the format seem
> > to bo incorrect... Do I have to transform it ??

Cheers,
Jeremias Märki

mailto:jeremias.maerki@outline.ch

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


RE: PS printing

Posted by Raúl Carazo <rc...@bilbomatica.es>.
    I have an application that generate a pdf report. But if I change
RENDER_PDF with RENDER_PS, the PS file is not correct... I think if I can
generate a PS file, it's because it's possible to generate PS files, so I
hope to see them...
    Where can I know if it is possible? Anyone has tried to create a PS file
directly for printing it?

    Salve

----- Original Message -----
From: Jeremias Maerki <je...@outline.ch>
To: <fo...@xml.apache.org>
Sent: Monday, January 14, 2002 1:07 PM
Subject: Re: PS printing


What exactly do you think is incorrect? It can very well be, that the
PostScript renderer does not work well on every occasion, a lot of
features are still missing.

On Mon, 14 Jan 2002 11:49:32 +0100 Raúl Carazo wrote:
> I'd like to generate a PS file (or much better, to send it to the
> printer) and not a pdf report. I use the RENDER_PS, but the format seem
> to bo incorrect... Do I have to transform it ??

Cheers,
Jeremias Märki

mailto:jeremias.maerki@outline.ch

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: PS printing

Posted by Jeremias Maerki <je...@outline.ch>.
What exactly do you think is incorrect? It can very well be, that the
PostScript renderer does not work well on every occasion, a lot of
features are still missing.

On Mon, 14 Jan 2002 11:49:32 +0100 Raúl Carazo wrote:
> I'd like to generate a PS file (or much better, to send it to the
> printer) and not a pdf report. I use the RENDER_PS, but the format seem
> to bo incorrect... Do I have to transform it ??

Cheers,
Jeremias Märki

mailto:jeremias.maerki@outline.ch

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org