PDF scaling

  • Follow


Hi,

Acroread has a "fit to page" option in its print dialog. How can I 
achieve the same thing with free software?

Thanks,
Jase
0
Reply Jason 12/6/2010 7:46:44 PM

On 12/06/2010 04:46 PM, Jason wrote:
> Hi,
>
> Acroread has a "fit to page" option in its print dialog. How can I
> achieve the same thing with free software?
>
> Thanks,
> Jase

I have the same option when printing to PDF in Firefox.
Firefox is free software.
0
Reply Magno 12/6/2010 7:51:36 PM


Magno wrote:

> On 12/06/2010 04:46 PM, Jason wrote:
>> Hi,
>>
>> Acroread has a "fit to page" option in its print dialog. How can I
>> achieve the same thing with free software?
>>
>> Thanks,
>> Jase
> 
> I have the same option when printing to PDF in Firefox. Firefox is free
> software.

Thanks, but you may have misunderstood. I have a PDF file already, which 
I want to print scaled to fit the page.

Cheers,
Jase
0
Reply Jason 12/6/2010 8:00:39 PM

On 12/06/2010 05:00 PM, Jason wrote:
> Magno wrote:
>
>> On 12/06/2010 04:46 PM, Jason wrote:
>>> Hi,
>>>
>>> Acroread has a "fit to page" option in its print dialog. How can I
>>> achieve the same thing with free software?
>>>
>>> Thanks,
>>> Jase
>>
>> I have the same option when printing to PDF in Firefox. Firefox is free
>> software.
>
> Thanks, but you may have misunderstood. I have a PDF file already, which
> I want to print scaled to fit the page.

So are you asking about any of the available free PDF readers?
If so... isn’t that an a little too basic feature like to even be asking 
about it?
0
Reply Magno 12/6/2010 8:15:39 PM

Jason wrote:
> Magno wrote:
> 
>> On 12/06/2010 04:46 PM, Jason wrote:
>>> Hi,
>>>
>>> Acroread has a "fit to page" option in its print dialog. How can I
>>> achieve the same thing with free software?
>>>
>>> Thanks,
>>> Jase
>> I have the same option when printing to PDF in Firefox. Firefox is free
>> software.
> 
> Thanks, but you may have misunderstood. I have a PDF file already, which 
> I want to print scaled to fit the page.
> 

well thats a function of the Gmome print thingy if you have gnome.

evince uses it here, and will scale to what you want.


> Cheers,
> Jase
0
Reply The 12/6/2010 8:23:54 PM

In message <idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:

> I have a PDF file already, which I want to print scaled to fit the page.

Use any Free Software PDF reader. I’m sure Okular can do it, for example.
0
Reply Lawrence 12/6/2010 10:26:53 PM

On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
 > In message <idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
 >
 >> I have a PDF file already, which I want to print scaled to fit the page.
 >
 > Use any Free Software PDF reader. I?m sure Okular can do it, for example.

I'm sure it can't. Nor does any PDF viewer I've used on Linux except
acroread. If you think I'm wrong, explain how to do it instead of
giving unsubstantiated opinions.

Bob T.
0
Reply Bob 12/6/2010 11:01:10 PM

On 12/06/2010 08:01 PM, Bob Tennent wrote:
> On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
>   >  In message<idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
>   >
>   >>  I have a PDF file already, which I want to print scaled to fit the page.
>   >
>   >  Use any Free Software PDF reader. I?m sure Okular can do it, for example.
>
> I'm sure it can't. Nor does any PDF viewer I've used on Linux except
> acroread. If you think I'm wrong, explain how to do it instead of
> giving unsubstantiated opinions.

I guess we are all talking about this.-
<http://uppix.net/6/9/9/18642ef808f75b5bc1a761bf847f6.png>

> Bob T.

Please use proper signatures.
0
Reply Magno 12/7/2010 1:07:49 AM

On Mon, 06 Dec 2010 22:07:49 -0300, Magno wrote:
 > On 12/06/2010 08:01 PM, Bob Tennent wrote:
 >> On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
 >>   >  In message<idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
 >>   >
 >>   >>  I have a PDF file already, which I want to print scaled to fit the page.
 >>   >
 >>   >  Use any Free Software PDF reader. I?m sure Okular can do it, for example.
 >>
 >> I'm sure it can't. Nor does any PDF viewer I've used on Linux except
 >> acroread. If you think I'm wrong, explain how to do it instead of
 >> giving unsubstantiated opinions.
 >
 > I guess we are all talking about this.-
 ><http://uppix.net/6/9/9/18642ef808f75b5bc1a761bf847f6.png>

Scaling to fit a window isn't the same as scaling to fit a printed page.

 >> Bob T.
 >
 > Please use proper signatures.

What's improper about my signature? Is Magno more proper than Bob T.?
0
Reply Bob 12/7/2010 1:30:58 AM

Jason <nospam@nospam.invalid> writes:

> Hi,
>
> Acroread has a "fit to page" option in its print dialog. How can I 
> achieve the same thing with free software?

Looking at "evince", I select file->print,
select the page handling tab,
then under page scaling, I select either
shrink to printable area, or fit to printable area.

I did not print a page.

Maybe you could try it and let us know how it works.
0
Reply despen 12/7/2010 1:41:02 AM

On 12/06/2010 10:30 PM, Bob Tennent wrote:
> On Mon, 06 Dec 2010 22:07:49 -0300, Magno wrote:
>   >  On 12/06/2010 08:01 PM, Bob Tennent wrote:
>   >>  On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
>   >>    >   In message<idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
>   >>    >
>   >>    >>   I have a PDF file already, which I want to print scaled to fit the page.
>   >>    >
>   >>    >   Use any Free Software PDF reader. I?m sure Okular can do it, for example.
>   >>
>   >>  I'm sure it can't. Nor does any PDF viewer I've used on Linux except
>   >>  acroread. If you think I'm wrong, explain how to do it instead of
>   >>  giving unsubstantiated opinions.
>   >
>   >  I guess we are all talking about this.-
>   ><http://uppix.net/6/9/9/18642ef808f75b5bc1a761bf847f6.png>
>
> Scaling to fit a window isn't the same as scaling to fit a printed page.
>   >>  Bob T.
>   >
>   >  Please use proper signatures.
>
> What's improper about my signature? Is Magno more proper than Bob T.?

I said signature, not nickname. ↓ (And I don’t use signature)
<http://lipas.uwasa.fi/~ts/http/signatur.html>
0
Reply Magno 12/7/2010 2:03:09 AM

Bob Tennent wrote:
> On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
>  > In message <idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
>  >
>  >> I have a PDF file already, which I want to print scaled to fit the page.
>  >
>  > Use any Free Software PDF reader. I?m sure Okular can do it, for example.
> 
> I'm sure it can't. Nor does any PDF viewer I've used on Linux except
> acroread. If you think I'm wrong, explain how to do it instead of
> giving unsubstantiated opinions.
> 

when you push the little button that says 'print' you set the scale in a 
little box,. just like windows.


Nothing to do with the app, everything to do with the print subsystem.

> Bob T.
0
Reply The 12/7/2010 2:04:57 AM

despen@verizon.net wrote:
> Jason <nospam@nospam.invalid> writes:
> 
>> Hi,
>>
>> Acroread has a "fit to page" option in its print dialog. How can I 
>> achieve the same thing with free software?
> 
> Looking at "evince", I select file->print,
> select the page handling tab,
> then under page scaling, I select either
> shrink to printable area, or fit to printable area.
> 
> I did not print a page.
> 
> Maybe you could try it and let us know how it works.

I think you used several three syllable words. That's one too far.
0
Reply The 12/7/2010 2:05:59 AM

On Tue, 07 Dec 2010 02:04:57 +0000, The Natural Philosopher wrote:
 > Bob Tennent wrote:
 >> On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
 >>  > In message <idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
 >>  >
 >>  >> I have a PDF file already, which I want to print scaled to fit the page.
 >>  >
 >>  > Use any Free Software PDF reader. I?m sure Okular can do it, for example.
 >> 
 >> I'm sure it can't. Nor does any PDF viewer I've used on Linux except
 >> acroread. If you think I'm wrong, explain how to do it instead of
 >> giving unsubstantiated opinions.
 >> 
 >
 > when you push the little button that says 'print' you set the scale in a 
 > little box,. just like windows.

With evince-0.6 on Centos 5.5, which is where I mostly do my printing,
there is no scaling option, but there is with acroread. There *is* on
evince-2.30 on Fedora 13 and of course on acroread, but not on xpdf or
okular as far as I can see.

 > Nothing to do with the app, everything to do with the print
 > subsystem.

Really? Perhaps some print subsystems have that capability and so do
some apps in case the print subsystem doesn't.

Bob T.
0
Reply Bob 12/7/2010 3:32:18 AM

In article <icbp4ygy1d.fsf@verizon.net>, despen@verizon.net wrote:
>Jason <nospam@nospam.invalid> writes:

>> Acroread has a "fit to page" option in its print dialog. How can I 
>> achieve the same thing with free software?
>
>Looking at "evince", I select file->print,
>select the page handling tab,
>then under page scaling, I select either
>shrink to printable area, or fit to printable area.
>
>I did not print a page.
>
>Maybe you could try it and let us know how it works.

Isn't this built into the cups system ? I can change most things there no 
matter where it's printed from. IIRC. :)

0
Reply bruce 12/7/2010 4:29:43 AM

In message <slrnifqqpm.pol.BobT@linus.cs.queensu.ca>, Bob Tennent wrote:

> On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
>
>  > In message <idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
>  >
>  >> I have a PDF file already, which I want to print scaled to fit the
>  >> page.
>  >
>  > Use any Free Software PDF reader. I?m sure Okular can do it, for
>  > example.
> 
> I'm sure it can't.

I just used Ghostscript to rescale an A3 PDF to an A4 PostScript image which 
I printed on one page with Okular.

So don’t say it can’t until you’ve tried it!
0
Reply Lawrence 12/7/2010 8:51:25 AM

On Tue, 07 Dec 2010 03:32:18 +0000, Bob Tennent wrote:

> On Tue, 07 Dec 2010 02:04:57 +0000, The Natural Philosopher wrote:
>  > Bob Tennent wrote:
>  >> On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
>  >>  > In message <idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
>  >>  >
>  >>  >> I have a PDF file already, which I want to print scaled to fit
>  >>  >> the page.
>  >>  >
>  >>  > Use any Free Software PDF reader. I?m sure Okular can do it, for
>  >>  > example.
>  >> 
>  >> I'm sure it can't. Nor does any PDF viewer I've used on Linux except
>  >> acroread. If you think I'm wrong, explain how to do it instead of
>  >> giving unsubstantiated opinions.
>  >> 
>  >> 
>  > when you push the little button that says 'print' you set the scale
>  > in a little box,. just like windows.
> 
> With evince-0.6 on Centos 5.5, which is where I mostly do my printing,
> there is no scaling option, but there is with acroread. There *is* on
> evince-2.30 on Fedora 13 and of course on acroread, but not on xpdf or
> okular as far as I can see.
> 
>  > Nothing to do with the app, everything to do with the print
>  > subsystem.
> 
> Really? Perhaps some print subsystems have that capability and so do
> some apps in case the print subsystem doesn't.
> 
> Bob T.

strange tone of some replies to a perfectly reasonable question: I think 
we should abandon usenet and move to global videoconferencing....

I don't know about your version of evince but I can set the page width to 
fit the page and then print to a file; the file seems then to have the 
desired formatting. 

I did a quick test, too quick, and it seemed to work. I believe I have 
done it before. 

but I am using evince 2.22.2 on Debian Squeeze.

Felmon
0
Reply felmon 12/7/2010 9:24:23 AM

Bob Tennent wrote:
> On Tue, 07 Dec 2010 02:04:57 +0000, The Natural Philosopher wrote:
>  > Bob Tennent wrote:
>  >> On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
>  >>  > In message <idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
>  >>  >
>  >>  >> I have a PDF file already, which I want to print scaled to fit the page.
>  >>  >
>  >>  > Use any Free Software PDF reader. I?m sure Okular can do it, for example.
>  >> 
>  >> I'm sure it can't. Nor does any PDF viewer I've used on Linux except
>  >> acroread. If you think I'm wrong, explain how to do it instead of
>  >> giving unsubstantiated opinions.
>  >> 
>  >
>  > when you push the little button that says 'print' you set the scale in a 
>  > little box,. just like windows.
> 
> With evince-0.6 on Centos 5.5, which is where I mostly do my printing,
> there is no scaling option, but there is with acroread. There *is* on
> evince-2.30 on Fedora 13 and of course on acroread, but not on xpdf or
> okular as far as I can see.
> 
>  > Nothing to do with the app, everything to do with the print
>  > subsystem.
> 
> Really? Perhaps some print subsystems have that capability and so do
> some apps in case the print subsystem doesn't.
> 

that's generally the case. yes.
The default gnome system certainly doe have that capability.
> Bob T.
0
Reply The 12/7/2010 1:00:06 PM

On Tue, 07 Dec 2010 21:51:25 +1300, Lawrence D'Oliveiro wrote:
 > In message <slrnifqqpm.pol.BobT@linus.cs.queensu.ca>, Bob Tennent wrote:
 >
 >> On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
 >>
 >>  > In message <idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
 >>  >
 >>  >> I have a PDF file already, which I want to print scaled to fit the
 >>  >> page.
 >>  >
 >>  > Use any Free Software PDF reader. I?m sure Okular can do it, for
 >>  > example.
 >> 
 >> I'm sure it can't.
 >
 > I just used Ghostscript to rescale an A3 PDF to an A4 PostScript image which 
 > I printed on one page with Okular.
 >
 > So don?t say it can?t until you?ve tried it!

And this is how you claim *okular* can scale printed output? I've got
news for you: if you send the gs-rescaled pdf to the printer, it will be
printed without using okular at all.  
0
Reply Bob 12/7/2010 2:55:52 PM

Lawrence D'Oliveiro writes:
> In message <slrnifqqpm.pol.BobT@linus.cs.queensu.ca>, Bob Tennent wrote:
> 
>> On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
>>
>>  > In message <idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
>>  >
>>  >> I have a PDF file already, which I want to print scaled to fit the
>>  >> page.
>>  >
>>  > Use any Free Software PDF reader. I?m sure Okular can do it, for
>>  > example.
>> 
>> I'm sure it can't.
> 
> I just used Ghostscript to rescale an A3 PDF to an A4 PostScript image
> which I printed on one page with Okular.
> 
> So don’t say it can’t until you’ve tried it!

Resizing from A3 to A4 is not the same as fitting to page. Or perhaps you 
could tell me which Ghostscript options will achieve fit-to-page in 
generality.

Thanks for the evince suggestion. Unfortunately, the situation is 
slightly complicated. I have a PDF, which I then crop by changing the 
MediaBox using grep. I want to print the cropped PDF fit-to-page. Acroread 
will fit the defined MediaBox to the page, whereas evince's fit-to-page 
works on the whole uncropped page and doesn't respect the specified 
MediaBox.

I'm crossposting to comp.text.pdf because this is starting to look like a 
question that depends on the finer details of the PDF format.

Cheers,
Jase
0
Reply Jason 12/7/2010 6:34:02 PM

On Tue, 07 Dec 2010 18:34:02 +0000, Jason wrote:

> I have a PDF, which I then crop by changing the MediaBox using grep. I
> want to print the cropped PDF fit-to-page. Acroread will fit the defined
> MediaBox to the page, whereas evince's fit-to-page works on the whole
> uncropped page and doesn't respect the specified MediaBox.

I made a suggestion earlier but mistakenly responded to the wrong person. 

I have evince 2.22.something and after a quick, and possibly inadequate, 
test, I believe it does what you want. (I am pretty sure I have used it 
for similar purposes in the recent past but memory is short.)

you re-scale and print to file. the file should now be a pdf with your 
desired dimensions.

Felmon
0
Reply felmon 12/7/2010 7:27:18 PM

The Natural Philosopher <tnp@invalid.invalid> writes:

> despen@verizon.net wrote:
>> Jason <nospam@nospam.invalid> writes:
>>
>>> Hi,
>>>
>>> Acroread has a "fit to page" option in its print dialog. How can I
>>> achieve the same thing with free software?
>>
>> Looking at "evince", I select file->print,
>> select the page handling tab,
>> then under page scaling, I select either
>> shrink to printable area, or fit to printable area.
>>
>> I did not print a page.
>>
>> Maybe you could try it and let us know how it works.
>
> I think you used several three syllable words. That's one too far.

I only count 1, used twice.
0
Reply despen 12/7/2010 10:33:17 PM

On 07/12/10 18:34, Jason wrote:
> Lawrence D'Oliveiro writes:
>> In message <slrnifqqpm.pol.BobT@linus.cs.queensu.ca>, Bob Tennent wrote:
>>
>>> On Tue, 07 Dec 2010 11:26:53 +1300, Lawrence D'Oliveiro wrote:
>>>
>>>  > In message <idjfd7$ctq$1@speranza.aioe.org>, Jason wrote:
>>>  >
>>>  >> I have a PDF file already, which I want to print scaled to fit the
>>>  >> page.
>>>  >
>>>  > Use any Free Software PDF reader. I?m sure Okular can do it, for
>>>  > example.
>>>
>>> I'm sure it can't.
>>
>> I just used Ghostscript to rescale an A3 PDF to an A4 PostScript image
>> which I printed on one page with Okular.
>>
>> So don’t say it can’t until you’ve tried it!
> 
> Resizing from A3 to A4 is not the same as fitting to page. Or perhaps you 
> could tell me which Ghostscript options will achieve fit-to-page in 
> generality.
> 
> Thanks for the evince suggestion. Unfortunately, the situation is 
> slightly complicated. I have a PDF, which I then crop by changing the 
> MediaBox using grep. I want to print the cropped PDF fit-to-page. Acroread 
> will fit the defined MediaBox to the page, whereas evince's fit-to-page 
> works on the whole uncropped page and doesn't respect the specified 
> MediaBox.

Have you tried using Heiko Oberdiek's pdfcrop to do the cropping?

///Peter
0
Reply Peter 12/7/2010 11:39:09 PM

In message <slrnifsino.s8.BobT@linus.cs.queensu.ca>, Bob Tennent wrote:

> And this is how you claim *okular* can scale printed output? I've got
> news for you: if you send the gs-rescaled pdf to the printer, it will be
> printed without using okular at all.

Sure, but some people are allergic to solutions that don’t involve at least 
some GUI steps.
0
Reply Lawrence 12/8/2010 2:56:12 AM

23 Replies
1365 Views

(page loaded in 0.008 seconds)

Similiar Articles:


















7/20/2012 9:24:55 AM


Reply: