groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Problem with ps2pdf and A4 format


From: Alejandro Lopez-Valencia
Subject: Re: [Groff] Problem with ps2pdf and A4 format
Date: Fri, 28 Feb 2003 08:25:19 -0500

At 09:24 p.m. 26/02/2003 +0100, Thomas Baruchel wrote:
Brest, le mercredi 26 février

Hi,

I use groff 1.17, with -ma4 macro and here is my deps/DESC file
>  broken 7
>  paperlength 841890

A wild shot, but you mention in a newer post about your inability to add anything more to an already full hard-drive; what about changing 'broken' to 0 and see if that helps?

or US letter or anything I don't want to know). I tried to insert
by myself in the grops output the line:

  %%DocumentMedia: A4 595 842 0 () ()

that I found in a2ps output (or enscript, don't remember), but the
result is the same than previsouly.

What do I wrong ?

You are not doing anything wrong, PS RIPs for PDF rendering tend to be quite dumb. If you are familiar with the idea of specials, (as used for example with TeX and DVIPS), you could accomplish what you want by using a grops escape such as:

\X'ps: exec << /PageSize A4 /ImagingBBox null >> setpagedevice'

probably embedded in a header. Big WARNING, I haven't tested this.


--
Alejandro Lopez-Valencia                         tora no shinden
python -c "print('ZHJhZHVsQDAwN211bmRvLmNvbQ=='.decode('base64'))"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]