FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Find out number of pages in a file (doc,docx,txt,pdf,ppt .etc)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Find out number of pages in a file (doc,docx,txt,pdf,ppt .etc) [message #170783 is a reply to message #170782] Thu, 25 November 2010 20:52 Go to previous messageGo to previous message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma:
Senior Member
On 25-11-10 21:25, Luuk wrote:
> On 25-11-10 21:02, Amit Prakash Pawar wrote:
>> On Nov 26, 12:56 am, Luuk<L...@invalid.lan> wrote:
>>> On 25-11-10 20:40, Amit Prakash Pawar wrote:
>>>
>>>> Hi,
>>>
>>>> I am uploading all types of files. After upload i want to calculate
>>>> number of pages of uploaded file?
>>>> The document could be DOC ,Docx, TXT ,PDF,PPT (with images or with out
>>>> images) etc.
>>>
>>>> How to calculate number of pages?
>>>
>>>> Any Api available?
>>>
>>> For PDF and TXT you can use this url:http://tinyurl.com/33sz3ue
>>>
>>> It was found as 1st reference when googling for:
>>> "php doc number of pages"
>>>
>>> The reset of the file formats seems to be Microsoft related...?
>>>
>>> --
>>> Luuk
>>
>>
>> Is it any way to upload files to google doc and
>> find out page numbers?
>
> search for "upload files to google" or something
> and find out....
>
> But it had nothing to do with PHP,
> but maybe, i dont know the google-api, it can be done with PHP
>
> Another way to do it:
> 1) Hire a blonde
> 2) Get a printer
> 3) Teach her how to print the docs
> 4) Let her count the number of pages
>
> watch it, point 3 is the difficult part....
>
> ;-)
>
>
>
>

The (more) correct answer to your question is, of course, that the
number of pages of ANY files depends on the page-size, and format, in
which it is printed.

So, without knowing this info, its impossible to tell you how many pages
a file has....

--
Luuk
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Loading missing extensions in Windows
Next Topic: URL-String-concatenation within a Loop in cURL: [a easy one]
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 18 15:39:45 GMT 2024

Total time taken to generate the page: 0.04322 seconds