groff
[Top][All Lists]
Advanced

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

Re: Dynamic Paperlength for PS or PDF device


From: Wim Stockman
Subject: Re: Dynamic Paperlength for PS or PDF device
Date: Wed, 14 Dec 2022 11:19:53 +0100

Hi,
If anybody is interested I put a little demo application using my dynamic
paper length approach.
It's on github https://github.com/wimstockman/receipt_demo
Kind Regards,
Wim Stockman

Op za 10 dec. 2022 om 19:54 schreef Wim Stockman <wim.stockman@gmail.com>:

> Hi,
> Thanks for all the suggestions.
> But I think my question is misunderstood. I needed to let grops know how
> long my groff page is....
> Not knowing in advance what the length of my groff page would be. ...
> So that's why i use the
> ".tm \\n[nl]"  macro from groff to output the exact length of the groff
> page and then rerun groff with the correct length for grops :-)
>
> Have a great World Cup.
> Sadly my country Belgium was a complete disaster :-)
>
> Wim Stockman
>
> Op za 10 dec. 2022 om 15:09 schreef John Gardner <gardnerjohng@gmail.com>:
>
>> >
>> > May as well be precise with 21c and 29.7c?
>>
>>
>> Shit, did I really give A4 in Freedom Units™? My bad.
>>
>> I'm pinning this on sheet sleep deprivation and football fever. Staying up
>> to 2:00am AEDT to watch the World Cup, then another at 6:00am—several
>> times
>> a week—has me running on fumes. I have 4.5 hours of sleep planned before a
>> 5:30am start, because I sure as shit aren't gonna miss England taking on
>> France. (I swear if France win, I'm gonna cry…)
>>
>> I'll be wearing my Napalm Death shirt, because it's the closest thing my
>> wardrobe has to patriotic English attire…)
>> 🏴󠁧󠁢󠁥󠁮󠁧󠁿
>>
>> On Sat, 10 Dec 2022 at 20:52, Ralph Corderoy <ralph@inputplus.co.uk>
>> wrote:
>>
>> > Hi John,
>> >
>> > > .\" A4 portrait
>> > > .pagesize 8.3i 11.7i
>> > ...
>> > > .\" A4 landscape
>> > ...
>> > > .pagesize 11.7i 8.3i
>> >
>> > May as well be precise with 21c and 29.7c?
>> >
>> > --
>> > Cheers, Ralph.
>> >
>> >
>>
>


reply via email to

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