This is a discussion on Getting a job done: GNU/Linux saves. - Linux ; At work I recently received a pdf file, which was an export from some
Apple graphics program. This program deemed it necessary to
concatenate all its pages in the pdf export. Result: a pdf with one
long page, which cannot ...
At work I recently received a pdf file, which was an export from some
Apple graphics program. This program deemed it necessary to
concatenate all its pages in the pdf export. Result: a pdf with one
long page, which cannot be printed properly. As I was on my XP box at
work I started googling for freeware apps that could split the pdf in
single pages and then create one properly paginated pdf again.
However, I could not find such an application, so I decided to fire up
Debian Lenny in a virtual machine and get the job done there. This was
all it took:
First convert the pdf to an image:
$ convert file.pdf file.png
There should be five pages, so 6290/5=1258.
Us this to split the image in five equal parts:
$ convert file.png -crop 965x1258 +repage page_%d.pdf
And finally concatenate the resulting pdf files with:
$ convert page* out.pdf
This took about 5 minutes, including booting into Lenny. GNU/Linux
saved the day again :-)
--
I wanna, I wanna, I wanna, I wanna, I wanna really
really really wanna zigazig ha.
~ The Spice Girls
Re: Getting a job done: GNU/Linux saves.
On 2008-10-19, Clogwog was urged to write the following:
> "TomB" schreef in bericht
> news:8bDKk.40031$N11.4059@newsfe13.ams2...
>> At work I recently received a pdf file, which was an export from some
>> Apple graphics program. This program deemed it necessary to
>> concatenate all its pages in the pdf export. Result: a pdf with one
>> long page, which cannot be printed properly. As I was on my XP box at
>> work I started googling for freeware apps that could split the pdf in
>> single pages and then create one properly paginated pdf again.
>> However, I could not find such an application,
>
> [^ indicates up]
> Reprint that pdf with Bullzip virtual FREE PDF Printer, and your done!
> Your in full control!
> http://www.bullzip.com/products/pdf/info.php
>
I'm very amused right now. Please note the sentence "Result: a pdf
with one long page, which cannot be printed properly." in my original
post. Yet you manage to suggest to "reprint" the page. It doesn't
work. I tried it.
>> so I decided to fire up
>> Debian Lenny in a virtual machine and get the job done there. This was
>> all it took:
>>
>> First convert the pdf to an image:
>> $ convert file.pdf file.png
>>
>> Checking up:
>> $ identify file.png
>> out.png PNG 965x6290 965x6290+0+0 DirectClass 16-bit 744.885kb
>>
>> There should be five pages, so 6290/5=1258.
>> Us this to split the image in five equal parts:
>> $ convert file.png -crop 965x1258 +repage page_%d.pdf
>>
>> And finally concatenate the resulting pdf files with:
>> $ convert page* out.pdf
>>
>> This took about 5 minutes, including booting into Lenny. GNU/Linux
>> saved the day again :-)
>
> It took me less than 2 minutes, including booting, on my quadcore-8gigs RAM,
> Vista machine, Windows saved my day!
You don't have the file I'm talking about, so you cannot
give this comparison.
>
I do know how to use a top notch os. Only, it isn't called Microsoft
Windows Vista but GNU/Linux Debian Lenny.
Have a nice day.
--
Stupid men are often capable of things the clever would not
dare to contemplate...
~ Terry Pratchett
Re: Getting a job done: GNU/Linux saves.
"TomB" schreef in bericht
news:J4FKk.79283$wG3.1929@newsfe23.ams2...
> On 2008-10-19, Clogwog was urged to write the following:
>> "TomB" schreef in bericht
>> news:8bDKk.40031$N11.4059@newsfe13.ams2...
>>> At work I recently received a pdf file, which was an export from some
>>> Apple graphics program. This program deemed it necessary to
>>> concatenate all its pages in the pdf export. Result: a pdf with one
>>> long page, which cannot be printed properly. As I was on my XP box at
>>> work I started googling for freeware apps that could split the pdf in
>>> single pages and then create one properly paginated pdf again.
>>> However, I could not find such an application,
>>
>> [^ indicates up]
>> Reprint that pdf with Bullzip virtual FREE PDF Printer, and your done!
>> Your in full control!
>> http://www.bullzip.com/products/pdf/info.php
>>
>
> I'm very amused right now. Please note the sentence "Result: a pdf
> with one long page, which cannot be printed properly." in my original
> post. Yet you manage to suggest to "reprint" the page. It doesn't
> work. I tried it.
Liar!, reprint to .pdf, properties, lay-out, pageform, custom. size form >>
965x1258, you lintard twit!
>
>>> so I decided to fire up
>>> Debian Lenny in a virtual machine and get the job done there. This was
>>> all it took:
>>>
>>> First convert the pdf to an image:
>>> $ convert file.pdf file.png
>>>
>>> Checking up:
>>> $ identify file.png
>>> out.png PNG 965x6290 965x6290+0+0 DirectClass 16-bit 744.885kb
>>>
>>> There should be five pages, so 6290/5=1258.
>>> Us this to split the image in five equal parts:
>>> $ convert file.png -crop 965x1258 +repage page_%d.pdf
>>>
>>> And finally concatenate the resulting pdf files with:
>>> $ convert page* out.pdf
>>>
>>> This took about 5 minutes, including booting into Lenny. GNU/Linux
>>> saved the day again :-)
>>
>> It took me less than 2 minutes, including booting, on my quadcore-8gigs
>> RAM,
>> Vista machine, Windows saved my day!
>
> You don't have the file I'm talking about, so you cannot
> give this comparison.
>
>>
>
> I do know how to use a top notch os. Only, it isn't called Microsoft
> Windows Vista but GNU/Linux Debian Lenny.
>
BWAHAHAHAHAAAH!, your doomed to Linux hell, I pity you!
Re: Getting a job done: GNU/Linux saves (nothing)
"TomB" wrote in message
news:8bDKk.40031$N11.4059@newsfe13.ams2...
> At work I recently received a pdf file, which was an export from some
> Apple graphics program. This program deemed it necessary to
> concatenate all its pages in the pdf export. Result: a pdf with one
> long page, which cannot be printed properly. As I was on my XP box at
> work I started googling for freeware apps that could split the pdf in
> single pages and then create one properly paginated pdf again.
> However, I could not find such an application, so I decided to fire up
> Debian Lenny in a virtual machine and get the job done there. This was
> all it took:
>
> First convert the pdf to an image:
> $ convert file.pdf file.png
>
> Checking up:
> $ identify file.png
> out.png PNG 965x6290 965x6290+0+0 DirectClass 16-bit 744.885kb
>
> There should be five pages, so 6290/5=1258.
> Us this to split the image in five equal parts:
> $ convert file.png -crop 965x1258 +repage page_%d.pdf
>
> And finally concatenate the resulting pdf files with:
> $ convert page* out.pdf
>
> This took about 5 minutes, including booting into Lenny. GNU/Linux
> saved the day again :-)
Perhaps you can't tell the difference between an OS and a application but
Linux saved absolutlely nothing.
You used ImageMagik - the same application that I'm running on my Windows
machine. You could have done the *EXACT* same thing with Image Magik on
Windows without having to boot your little VM.
S:\Software\ImageMagic>dir conv* iden*
Volume in drive S is Jumbo
Volume Serial Number is 887B-A71F
On 2008-10-19, Clogwog was urged to write the following:
> "TomB" schreef in bericht
>> I'm very amused right now. Please note the sentence "Result: a pdf
>> with one long page, which cannot be printed properly." in my original
>> post. Yet you manage to suggest to "reprint" the page. It doesn't
>> work. I tried it.
>
> Liar!, reprint to .pdf, properties, lay-out, pageform, custom. size form >>
> 965x1258, you lintard twit!
You really like to call names, don't you?
Anyway, this *doesn't* work. Even when a custom page size is selected,
I still get:
- without rescaling: a single page output with whatever doesn't fit on
the specified page size being clipped off
- with rescaling: a single page output with the entire original page
scaled down to fit on whatever page size selected
I see no way to extract all five pages this way...
>> I do know how to use a top notch os. Only, it isn't called Microsoft
>> Windows Vista but GNU/Linux Debian Lenny.
>>
> BWAHAHAHAHAAAH!, your doomed to Linux hell, I pity you!
>
Hell ain't a bad place. Hell is from here to eternity.
--
Duct tape is like the force. It has a light side, and a dark side, and
it holds the universe together.
~ Carl Zwanzig
Re: Getting a job done: GNU/Linux saves (nothing)
On 2008-10-19, Ezekiel was urged to write the following:
> Perhaps you can't tell the difference between an OS and a application but
> Linux saved absolutlely nothing.
>
> You used ImageMagik - the same application that I'm running on my Windows
> machine. You could have done the *EXACT* same thing with Image Magik on
> Windows without having to boot your little VM.
It's ImageMagick ;-)
You are absolutely right. But the only reason we are able to run IM on
Windows machines is that the developers are nice enough to provide a
port, or to allow others to make a port by publishing the source code.
And that goes for a lot of open source apps that were originally
written for *nix. Another one I use frequently on my Windows box at
work is mplayer. I also have cygwin installed on my work PC, and use
that as file browser, cd/dvd-burner, and several other things.
Anyway, I happened to have ImageMagick installed on my Lenny VM and
not on my XP, so I choose to boot the VM over downloading and
installing the IM Windows build. I might have acted differently if
some apt-like tool was available under Windows :-p
> S:\Software\ImageMagic>dir conv* iden*
> Volume in drive S is Jumbo
> Volume Serial Number is 887B-A71F
>
> Directory of S:\Software\ImageMagic
>
> 12/08/2006 03:52 PM 4,685,824 convert.exe
>
> Directory of S:\Software\ImageMagic
>
> 12/08/2006 03:52 PM 4,632,576 identify.exe
> 2 File(s) 9,318,400 bytes
> 0 Dir(s) 69,573,218,304 bytes free
>
> S:\Software\ImageMagic>
Rest assured: I do believe you ;-)
--
Het minimumgewicht van de Belgische soldaat
zou honderdzestig kilo moeten zijn.
~ Kamagurka
Re: Getting a job done: GNU/Linux saves (nothing)
Ezekiel wrote:
> Perhaps you can't tell the difference between an OS and a application
> but Linux saved absolutlely nothing.
>
> You used ImageMagik - the same application that I'm running on my
> Windows machine. You could have done the *EXACT* same thing with
> Image Magik on Windows without having to boot your little VM.
He could have, but then he couldn't have posted a cola lie about Linux
saving... something.
In la-la land, Linux is now the kernel, GNU utilities, XWindows, and every
open source app ever written, regardless of platform.
Plus, according to resident "Linux Visionary" Rex Ballard, "Linux has the
potential to double the world's global output every 2 years for 10 years."
It's a miracle ^^^^^^^ snake oil OS.
Re: Getting a job done: GNU/Linux saves (nothing)
On Sun, 19 Oct 2008 11:19:05 -0400, DFS wrote:
> Ezekiel wrote:
>
>> Perhaps you can't tell the difference between an OS and a application
>> but Linux saved absolutlely nothing.
>>
>> You used ImageMagik - the same application that I'm running on my
>> Windows machine. You could have done the *EXACT* same thing with
>> Image Magik on Windows without having to boot your little VM.
>
> He could have, but then he couldn't have posted a cola lie about Linux
> saving... something.
>
> In la-la land, Linux is now the kernel, GNU utilities, XWindows, and every
> open source app ever written, regardless of platform.
>
> Plus, according to resident "Linux Visionary" Rex Ballard, "Linux has the
> potential to double the world's global output every 2 years for 10 years."
>
> It's a miracle ^^^^^^^ snake oil OS.
Hysterical.
TomB (or whomever he really is), laid a real egg on this post.
Not quite up to Rasker or Kelsey's standards of totally hosing a "Linux
saved the day" post, but good first attempt.
> He could have, but then he couldn't have posted a cola lie about
> Linux saving... something.
>
> In la-la land, Linux is now the kernel, GNU utilities, XWindows, and
> every open source app ever written, regardless of platform.
More than any of those things, UNIX is a _way of thinking_.
Take the average computer user and their thinking is "if I can't do it
with what I have on the system, I'll have to buy something else."
Take the person using *BSD or Linux for a long time and their thinking
is "How can I do this thing with what I have?"
Surprisingly, the latter form of thinking is far more productive. I am
sure that Windows supports command line pipelining, but that doesn't
mean that it's something that a Windows user is going to think of
using. Even with something like Cygwin installed and the GNU
utilities, pipelines are very costly under Windows. I wouldn't dream
of using them there. It'd be like running a ./configure script and
then putting a pot of coffee on; you'll have a nice cup of java before
you get your time to run "make". (Note that I'm talking about WinXP on
a single-core system from ~4 years ago; maybe Vista actually does these
things better? but I wouldn't hold my breath to try to find out, even
my part-time Windows-using girlfriend refuses to use Vista.)
--- Mike
--
My sigfile ran away and is on hiatus.
Re: Getting a job done: GNU/Linux saves (nothing)
On 2008-10-19, DFS was urged to write the following:
> In la-la land, Linux is now the kernel, GNU utilities, XWindows, and every
> open source app ever written, regardless of platform.
I stand corrected on this. I should've chosen my words more carefully.
Not GNU/Linux saved in this particular case, but open source software.
But definitely not the often-praised proprietary applications Windows
adepts constantly boast about, but which are actually not really
Windows as well...
--
Duct tape is like the force. It has a light side, and a dark side, and
it holds the universe together.
~ Carl Zwanzig
Re: Getting a job done: GNU/Linux saves (nothing)
On 2008-10-19, Michael B. Trausch was urged to write the following:
> On Sun, 19 Oct 2008 11:19:05 -0400
> "DFS" wrote:
>
>> He could have, but then he couldn't have posted a cola lie about
>> Linux saving... something.
>>
>> In la-la land, Linux is now the kernel, GNU utilities, XWindows, and
>> every open source app ever written, regardless of platform.
>
> More than any of those things, UNIX is a _way of thinking_.
>
> Take the average computer user and their thinking is "if I can't do it
> with what I have on the system, I'll have to buy something else."
>
> Take the person using *BSD or Linux for a long time and their thinking
> is "How can I do this thing with what I have?"
Exactly :-)
>
> Surprisingly, the latter form of thinking is far more productive. I am
> sure that Windows supports command line pipelining, but that doesn't
> mean that it's something that a Windows user is going to think of
> using. Even with something like Cygwin installed and the GNU
> utilities, pipelines are very costly under Windows. I wouldn't dream
> of using them there. It'd be like running a ./configure script and
> then putting a pot of coffee on; you'll have a nice cup of java before
> you get your time to run "make". (Note that I'm talking about WinXP on
> a single-core system from ~4 years ago; maybe Vista actually does these
> things better? but I wouldn't hold my breath to try to find out, even
> my part-time Windows-using girlfriend refuses to use Vista.)
As a matter of fact I think cygwin runs pretty smooth on my 5 yrs. old
P-IV with XP at work. It's not the real deal, but recently I quite
comfortably compiled libdvdread and lsdvd under cygwin.
--
Geography is just physics slowed down, with a couple
of trees stuck in it.
~ Terry Pratchett
Re: Getting a job done: GNU/Linux saves (nothing)
After takin' a swig o' grog, Ezekiel belched out
this bit o' wisdom:
> S:\Software\ImageMagic>dir conv* iden*
S drive. LOL. When you Windozers gonna leave DOS behind?
--
The revolution will not be televised.
Re: Getting a job done: GNU/Linux saves (nothing)
After takin' a swig o' grog, TomB belched out
this bit o' wisdom:
> On 2008-10-19, DFS was urged to write the following:
>
>> In la-la land, Linux is now the kernel, GNU utilities, XWindows, and every
>> open source app ever written, regardless of platform.
>
> I stand corrected on this. I should've chosen my words more carefully.
> Not GNU/Linux saved in this particular case, but open source software.
> But definitely not the often-praised proprietary applications Windows
> adepts constantly boast about, but which are actually not really
> Windows as well...
Even funnier, it was a command-line app.
--
Everybody has something to conceal.
-- Humphrey Bogart
Re: Getting a job done: GNU/Linux saves (nothing)
On Sun, 19 Oct 2008 16:40:45 -0400, Chris Ahlstrom scribbled down:
> After takin' a swig o' grog, Ezekiel belched out
> this bit o' wisdom:
>
>> S:\Software\ImageMagic>dir conv* iden*
>
> S drive. LOL. When you Windozers gonna leave DOS behind?
It's a network drive that's mounted locally as S: ('S' is for Server)
Easier than \\Server-name\Public\Software\....
--
Ubuntu Linux
17:18:33 up 5 min, 1 user, load average: 0.76, 0.49, 0.23
You have literary talent that you should take pains to develop.
Re: Getting a job done: GNU/Linux saves (nothing)
"Ezekiel" writes:
> "TomB" wrote in message
> news:8bDKk.40031$N11.4059@newsfe13.ams2...
>> At work I recently received a pdf file, which was an export from some
>> Apple graphics program. This program deemed it necessary to
>> concatenate all its pages in the pdf export. Result: a pdf with one
>> long page, which cannot be printed properly. As I was on my XP box at
>> work I started googling for freeware apps that could split the pdf in
>> single pages and then create one properly paginated pdf again.
>> However, I could not find such an application, so I decided to fire up
>> Debian Lenny in a virtual machine and get the job done there. This was
>> all it took:
>>
>> First convert the pdf to an image:
>> $ convert file.pdf file.png
>>
>> Checking up:
>> $ identify file.png
>> out.png PNG 965x6290 965x6290+0+0 DirectClass 16-bit 744.885kb
>>
>> There should be five pages, so 6290/5=1258.
>> Us this to split the image in five equal parts:
>> $ convert file.png -crop 965x1258 +repage page_%d.pdf
>>
>> And finally concatenate the resulting pdf files with:
>> $ convert page* out.pdf
>>
>> This took about 5 minutes, including booting into Lenny. GNU/Linux
>> saved the day again :-)
>
>
> Perhaps you can't tell the difference between an OS and a application but
> Linux saved absolutlely nothing.
>
Probably another Kelsey nym. He doesn't understand the difference
between OSS and Linux either.
Re: Getting a job done: GNU/Linux saves (nothing)
Ezekiel wrote:
> On Sun, 19 Oct 2008 16:40:45 -0400, Chris Ahlstrom scribbled down:
>
>> After takin' a swig o' grog, Ezekiel belched out
>> this bit o' wisdom:
>>
>>> S:\Software\ImageMagic>dir conv* iden*
>>
>> S drive. LOL. When you Windozers gonna leave DOS behind?
>
> It's a network drive that's mounted locally as S: ('S' is for Server)
Right. Hence the question: When you Windozers gonna leave DOS behind?
> Easier than \\Server-name\Public\Software\....
>
Yes? Maybe *shorter* but certainly not easier
Easy consists of several things. For example being able to recognize paths
easily.
And you're also gonna tell us that you have only one single server? Must be
a linux box
--
Howe's Law: Everyone has a scheme that will not work.
Re: Getting a job done: GNU/Linux saves (nothing)
"Peter Köhlmann" wrote in message
news:48fbad94$0$14058$9b4e6d93@newsspool3.arcor-online.net...
> Ezekiel wrote:
>
>> On Sun, 19 Oct 2008 16:40:45 -0400, Chris Ahlstrom scribbled down:
>>
>>> After takin' a swig o' grog, Ezekiel belched out
>>> this bit o' wisdom:
>>>
>>>> S:\Software\ImageMagic>dir conv* iden*
>>>
>>> S drive. LOL. When you Windozers gonna leave DOS behind?
>>
>> It's a network drive that's mounted locally as S: ('S' is for Server)
>
> Right. Hence the question: When you Windozers gonna leave DOS behind?
There's no reason not to have both. I could easily leave DOS drive letters
behind but most users can't. I normally use a console so Cygwin lets me
create mount points and what not. For a while now NTFS supported mounting
volumes onto the filesystem so I can basically do what I need to do.
The problem is that 100's of millions of existing users who have no interest
in learning a new naming convention. Just because something can be changed
doesn't mean is should be done.
>> Easier than \\Server-name\Public\Software\....
>>
>
> Yes? Maybe *shorter* but certainly not easier
> Easy consists of several things. For example being able to recognize paths
> easily.
Easy also means different things to different people. And the millions and
millions of existing 'consumers' have over the years learned to use drive
letters and for /them/ driver letters are easier.
> And you're also gonna tell us that you have only one single server? Must
> be
> a linux box
Two servers actually. (This is my house, not work.) One is a Win2003 server
that runs Active Directory and is the domain controller. The other server is
a (much newer and faster) machine running Ubuntu.
Linux thor 2.6.17-11-generic #2 SMP Fri May 18 23:39:08 UTC 2007 i686
GNU/Linux
zeke@thor:~$
Right now I'm in the process of virtualizing both servers. This weekend I
downloaded and messed around with VMware ESXi hypervisor. I'm most likely
going to install the ESXi hypervisor onto the machine that currently runs
Linux and then use that machine to virtualize both the domain controller and
the Ubuntu server.
> --
> Howe's Law: Everyone has a scheme that will not work.
>
Re: Getting a job done: GNU/Linux saves (nothing)
On Sun, 19 Oct 2008 23:44:20 +0200, Hadron wrote:
> "Ezekiel" writes:
>
>> "TomB" wrote in message
>> news:8bDKk.40031$N11.4059@newsfe13.ams2...
>>> At work I recently received a pdf file, which was an export from some
>>> Apple graphics program. This program deemed it necessary to
>>> concatenate all its pages in the pdf export. Result: a pdf with one
>>> long page, which cannot be printed properly. As I was on my XP box at
>>> work I started googling for freeware apps that could split the pdf in
>>> single pages and then create one properly paginated pdf again.
>>> However, I could not find such an application, so I decided to fire up
>>> Debian Lenny in a virtual machine and get the job done there. This was
>>> all it took:
>>>
>>> First convert the pdf to an image:
>>> $ convert file.pdf file.png
>>>
>>> Checking up:
>>> $ identify file.png
>>> out.png PNG 965x6290 965x6290+0+0 DirectClass 16-bit 744.885kb
>>>
>>> There should be five pages, so 6290/5=1258.
>>> Us this to split the image in five equal parts:
>>> $ convert file.png -crop 965x1258 +repage page_%d.pdf
>>>
>>> And finally concatenate the resulting pdf files with:
>>> $ convert page* out.pdf
>>>
>>> This took about 5 minutes, including booting into Lenny. GNU/Linux
>>> saved the day again :-)
>>
>>
>> Perhaps you can't tell the difference between an OS and a application but
>> Linux saved absolutlely nothing.
>>
>
>
> Probably another Kelsey nym. He doesn't understand the difference
> between OSS and Linux either.
It certainly has the mark of his incompetence all over it.
Chris Ahlstrom espoused:
> After takin' a swig o' grog, Ezekiel belched out
> this bit o' wisdom:
>
>> S:\Software\ImageMagic>dir conv* iden*
>
> S drive. LOL. When you Windozers gonna leave DOS behind?
>
Not DOS, CPM... it was CPM which introduced the drive letters, and DOS
was developed from CPM.
Drive letters are a 1970s anachronism, rather like the concept of the
"desktop".
After takin' a swig o' grog, Ezekiel belched out
this bit o' wisdom:
> On Sun, 19 Oct 2008 16:40:45 -0400, Chris Ahlstrom scribbled down:
>
>> After takin' a swig o' grog, Ezekiel belched out
>> this bit o' wisdom:
>>
>>> S:\Software\ImageMagic>dir conv* iden*
>>
>> S drive. LOL. When you Windozers gonna leave DOS behind?
>
> It's a network drive that's mounted locally as S: ('S' is for Server)
>
> Easier than \\Server-name\Public\Software\....
Not easier than not having to change to the S: drive and the actual
location of the executable, because the installer did not add yet
another entry to your %PATH%.
--
Stinginess with privileges is kindness in disguise.
-- Guide to VAX/VMS Security, Sep. 1984