
Hi everybody, I have a canadian users manual. The first part of it is written in english and the second part is written in french but up side down. It's a great idea for a paper booklet, but I dont want to print. Does anybody knows a way to get a pdf whole document mirrored horizontaly (please, rather not page by page :-) ) ? Thanks, Regards, Patrick

Hi, 2006-06-12 14:42 -0500, Patrick Serru:
Hi everybody,
I have a canadian users manual. The first part of it is written in english and the second part is written in french but up side down. It's a great idea for a paper booklet, but I dont want to print. Does anybody knows a way to get a pdf whole document mirrored horizontaly (please, rather not page by page :-) ) ?
How about entering (in console):
pdf2ps SOURCE.pdf pstops '1:0@1H' SOURCE.ps TARGET.ps ps2pdf TARGET.ps
After this the horizontally mirrored document can be found in TARGET.pdf. Kind regards, Kimmo

Le Lundi 12 Juin 2006 14:33, K. Elo a écrit :
Hi,
2006-06-12 14:42 -0500, Patrick Serru:
Hi everybody,
I have a canadian users manual. The first part of it is written in english and the second part is written in french but up side down. It's
a
great idea for a paper booklet, but I dont want to print. Does anybody knows a way to get a pdf whole document mirrored horizontaly (please, rather not page by page :-) ) ?
How about entering (in console):
pdf2ps SOURCE.pdf pstops '1:0@1H' SOURCE.ps TARGET.ps ps2pdf TARGET.ps
After this the horizontally mirrored document can be found in TARGET.pdf.
Kind regards, Kimmo
Thank you, Kimmo, I am a bit embarrassed because it is not spécialy a KDE topic on a KDE mailing list... The commands: pdf2ps "Quick Start Guide.pdf" ~/tmp.ps pstops '1:0@1H' ~/tmp.ps ~/tmp3.ps ps2pdf ~/tmp3.ps ~/tmp3.pdf worked fine. But I badely explained because my nead was not a mirroring but a 180 deg rotation, sorry for that... Having a look at "man:pstops", I sow that it talks about rotation but I did not understand much of this manual )-: . I have the solution, and had it with KDE and its adapted tools. I maid a mistake in my "self responding" mail writting «leaves the english pages "normal"»: all the pages are correctly rotated. Regards, Patrick

Hi Patrick, 2006-06-12 16:28 -0500, Patrick Serru:
Le Lundi 12 Juin 2006 14:33, K. Elo a écrit :
Hi,
2006-06-12 14:42 -0500, Patrick Serru:
Hi everybody,
I have a canadian users manual. The first part of it is written in english and the second part is written in french but up side down. It's
a
great idea for a paper booklet, but I dont want to print. Does anybody knows a way to get a pdf whole document mirrored horizontaly (please, rather not page by page :-) ) ?
How about entering (in console):
pdf2ps SOURCE.pdf pstops '1:0@1H' SOURCE.ps TARGET.ps ps2pdf TARGET.ps
After this the horizontally mirrored document can be found in TARGET.pdf.
Kind regards, Kimmo
Thank you, Kimmo,
I am a bit embarrassed because it is not spécialy a KDE topic on a KDE mailing list...
The commands: pdf2ps "Quick Start Guide.pdf" ~/tmp.ps pstops '1:0@1H' ~/tmp.ps ~/tmp3.ps ps2pdf ~/tmp3.ps ~/tmp3.pdf
worked fine. But I badely explained because my nead was not a mirroring but a 180 deg rotation, sorry for that... Having a look at "man:pstops", I sow that it talks about rotation but I did not understand much of this manual )-: .
Well, I was thinking about this mirroring issue, because I found it a bit odd. If you want to turn the whole thing upside down, then just use:
pstops 'U' ~/tmp.ps ~/tmp3.ps
This should turn the pages up-side down, which is what you want, isn't it. Greetings, Kimmo

Le Mardi 13 Juin 2006 00:26, K. Elo a écrit :
Hi Patrick,
2006-06-12 16:28 -0500, Patrick Serru:
Le Lundi 12 Juin 2006 14:33, K. Elo a écrit : ... The commands: pdf2ps "Quick Start Guide.pdf" ~/tmp.ps pstops '1:0@1H' ~/tmp.ps ~/tmp3.ps ps2pdf ~/tmp3.ps ~/tmp3.pdf
worked fine...
Well, I was thinking about this mirroring issue, because I found it a bit odd. If you want to turn the whole thing upside down, then just use: pstops 'U' ~/tmp.ps ~/tmp3.ps This should turn the pages up-side down, which is what you want, isn't it.
Greetings, Kimmo --
Hi Kimmo, hi everybody, Thank you for the attention you paid to my question. Yes, that's what I want (and have). The temporary files being allways here, I immediately tryed the proposed command and obtain... 56 white pages \-: Strange. The output document tmp3.ps is 82Mo and KGostView need time to refresh the pages but finaly displays it empty. Did you try that on your system ? I tryed to get the version with the command 'pstops --version'** and with yast => package psutils p17-868. I tryed this command too: ~> pstops '1:0@1U' ~/tmp.ps ~/tmp3.ps but KGostView continue displaying tmp3.ps with empty pages. I dowloaded http://ftp.gnu.org/gnu/groff/groff-1.19.2.tar.gz, and installed it but the result is allways the same. Could it comes from my x86_64 running Suse 10.0 architecture ? Sincerly, Patrick ** Funny: the short help given by pstops when typing an error appears more explicit to me than the "man" pages!

Hi again, 2006-06-13 08:56 -0500, Patrick Serru:
Hi Kimmo, hi everybody,
Thank you for the attention you paid to my question. Yes, that's what I want (and have). The temporary files being allways here, I immediately tryed the proposed command and obtain... 56 white pages \-: Strange. The output document tmp3.ps is 82Mo and KGostView need time to refresh the pages but finaly displays it empty. Did you try that on your system ? I tryed to get the version with the command 'pstops --version'** and with yast => package psutils p17-868. I tryed this command too: ~> pstops '1:0@1U' ~/tmp.ps ~/tmp3.ps but KGostView continue displaying tmp3.ps with empty pages.
I dowloaded http://ftp.gnu.org/gnu/groff/groff-1.19.2.tar.gz, and installed it but the result is allways the same. Could it comes from my x86_64 running Suse 10.0 architecture ?
Well, actually I noticed this same behaviour (pstops U ... restulting in empty pages (pdf2ps wotks just fine)) with my x86_64 at my working place. At home with my SL 10.0 i386 this worked just fine (and I posted my first answer after having tested the case at home). I will test the case once again at home and if the output is fine, it seems to be a bug in the x86_64 version... Kind regards, Kimmo

Hi, 2006-06-13 08:56 -0500, Patrick Serru:
Hi Kimmo, hi everybody,
Thank you for the attention you paid to my question. Yes, that's what I want (and have). The temporary files being allways here, I immediately tryed the proposed command and obtain... 56 white pages \-: Strange. The output document tmp3.ps is 82Mo and KGostView need time to refresh the pages but finaly displays it empty. Did you try that on your system ? I tryed to get the version with the command 'pstops --version'** and with yast => package psutils p17-868. I tryed this command too: ~> pstops '1:0@1U' ~/tmp.ps ~/tmp3.ps but KGostView continue displaying tmp3.ps with empty pages.
I dowloaded http://ftp.gnu.org/gnu/groff/groff-1.19.2.tar.gz, and installed it but the result is allways the same. Could it comes from my x86_64 running Suse 10.0 architecture ?
Well, the bug (?) seems to be present in the i386, too (both U, L and R results in blank pages :( ). But you can achieve the same results as with 'pstops 'U'...' with:
pstops 'V' ~/tmp.ps ~/tmp2.ps pstops 'H' ~/tmp2.ps ~/tmp3.ps
Hope this helps! Kind regards, Kimmo
participants (2)
-
K. Elo
-
Patrick Serru