I apologize the I believe this is not the right forum, so any answers of the form "try the blahblah list" will be most welcome. In the meantime, this is the least irrelevant list I know of! I want to rotate a postscript document, any suggestions? That is, the document appears on screen to be "sideways" and I want to rotate the image 90 degrees, so that it's upright. I suspect that I can use ghostscript, but I don't know how. None of the results of "apropos postscript" seemed to help and "man gs" assumes you want to know how to use ghostscript, not learn how postscript works. TIA Simon "You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions." Naguib Mahfouz __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
On Wednesday 12 October 2005 18:36, Simon Roberts wrote: <...>
I want to rotate a postscript document, any suggestions?
That is, the document appears on screen to be "sideways" and I want to rotate the image 90 degrees, so that it's upright. I suspect that I can use ghostscript, but I don't know how. None of the results of "apropos postscript" seemed to help and "man gs" assumes you want to know how to use ghostscript, not learn how postscript works. <...>
Konqueror/KGhostView: View > Orientation Acrobat Reader: Icon on the left of the Adobe icon. -- Robert "roach" Spencer Pietermaritzburg South Africa
Hello, On Oct 13 00:59 roach wrote (shortened):
On Wednesday 12 October 2005 18:36, Simon Roberts wrote:
I want to rotate a postscript document ... Konqueror/KGhostView: View > Orientation
As far as I know this rotates only the view but not the PostScript document itself. The intention of "View > Orientation" is to adjust the orientation of the view to the orientation in the PostScript document. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
On Thu, 2005-10-13 at 08:49 +0200, Johannes Meixner wrote:
Hello,
On Oct 13 00:59 roach wrote (shortened):
On Wednesday 12 October 2005 18:36, Simon Roberts wrote:
I want to rotate a postscript document ... Konqueror/KGhostView: View > Orientation
As far as I know this rotates only the view but not the PostScript document itself. The intention of "View > Orientation" is to adjust the orientation of the view to the orientation in the PostScript document.
What happens if you print the document to a pdf file and change the orientation to landscape? -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
That works, thanks!
Cheers,
Simon
--- Ken Schneider
On Thu, 2005-10-13 at 08:49 +0200, Johannes Meixner wrote:
Hello,
On Oct 13 00:59 roach wrote (shortened):
On Wednesday 12 October 2005 18:36, Simon Roberts wrote:
I want to rotate a postscript document ... Konqueror/KGhostView: View > Orientation
As far as I know this rotates only the view but not the PostScript document itself. The intention of "View > Orientation" is to adjust the orientation of the view to the orientation in the PostScript document.
What happens if you print the document to a pdf file and change the orientation to landscape?
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
"You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions." Naguib Mahfouz __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2005-10-12 at 09:36 -0700, Simon Roberts wrote:
I want to rotate a postscript document, any suggestions?
The gimp.
That is, the document appears on screen to be "sideways" and I want to rotate the image 90 degrees, so that it's upright. I suspect that I can use ghostscript, but I don't know how. None of the results of "apropos postscript" seemed to help and "man gs" assumes you want to know how to use ghostscript, not learn how postscript works.
Perhaps "pstops" could do. Ah, no, changing the orientation doesn't rotate... - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD4DBQFDTbFKtTMYHG2NR9URAqWYAJ48sL38PEP7vAgE7SnzUeJS1WEGygCYkdP4 3x5owoEoTrQGGnBz2g4+PQ== =9mlV -----END PGP SIGNATURE-----
Carlos, Simon, On Wednesday 12 October 2005 17:58, Carlos E. R. wrote:
The Wednesday 2005-10-12 at 09:36 -0700, Simon Roberts wrote:
I want to rotate a postscript document, any suggestions?
The gimp.
GIMP is a raster image processor. PostScript is (mostly) structured graphics. To use GIMP to manipulate a PostScript document requires GIMP to render the PostScript document (at a specific resolution). Once that's done, you're in raster land, and there's no going back. On the other hand, it's one of PostScript's most basic capabilities to apply a standard transformation matrix to any existing document or any portion thereof. So in practice, it's a trivial to rotation, scale, reflect, shear (including anamorphically, if so desired).
That is, the document appears on screen to be "sideways" and I want to rotate the image 90 degrees, so that it's upright. I suspect that I can use ghostscript, but I don't know how. None of the results of "apropos postscript" seemed to help and "man gs" assumes you want to know how to use ghostscript, not learn how postscript works.
Perhaps "pstops" could do. Ah, no, changing the orientation doesn't rotate...
My reading of the man page suggests rotation by 90% increments _is_ possible. To wit: ... The optional parameters L, R, U, H and V rotate the page left, right, or upside-down, and flip (mirror) page horizontally or vertically. ... (From the paragraph immediately following the "pagespec" syntax specification.)
-- Cheers, Carlos Robinson
Randall Schulz
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2005-10-12 at 20:09 -0700, Randall R Schulz wrote:
The gimp.
GIMP is a raster image processor. PostScript is (mostly) structured graphics. To use GIMP to manipulate a PostScript document requires GIMP to render the PostScript document (at a specific resolution). Once that's done, you're in raster land, and there's no going back.
I know, I know. But if the intention is to rotate a single ps file and print it, it would work. I havent tried vector graphics :-?
On the other hand, it's one of PostScript's most basic capabilities to apply a standard transformation matrix to any existing document or any portion thereof. So in practice, it's a trivial to rotation, scale, reflect, shear (including anamorphically, if so desired).
I thought so, but I couldn't find out that yesterday O:-)
Perhaps "pstops" could do. Ah, no, changing the orientation doesn't rotate...
My reading of the man page suggests rotation by 90% increments _is_ possible. To wit:
You are right! - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDTwRPtTMYHG2NR9URAhmtAJ4uCY1mxNFgb0q3oYh/jUUF+TwF/wCfevg+ h19yMPIN8emNHYeHG/pj3Dw= =CVyf -----END PGP SIGNATURE-----
On Wednesday 12 October 2005 12:36 pm, Simon Roberts wrote:
I apologize the I believe this is not the right forum, so any answers of the form "try the blahblah list" will be most welcome. In the meantime, this is the least irrelevant list I know of!
I want to rotate a postscript document, any suggestions?
That is, the document appears on screen to be "sideways" and I want to rotate the image 90 degrees, so that it's upright. I suspect that I can use ghostscript, but I don't know how. None of the results of "apropos postscript" seemed to help and "man gs" assumes you want to know how to use ghostscript, not learn how postscript works.
TIA Simon =========
Taken a look at Scribus? end of line
I want to rotate a postscript document, any suggestions?
That is, the document appears on screen to be "sideways" and I want to rotate the image 90 degrees, so that it's upright.
Simon "psnup -l infile.ps http://infile.ps outfile.ps http://outfile.ps" or "psnup -r infile.ps http://infile.ps outfile.ps http://outfile.ps" is what you need. Mark
Aha! wonderful thank you.
Cheers,
Simon
--- Mark Keir
I want to rotate a postscript document, any suggestions?
That is, the document appears on screen to be "sideways" and I want
to
rotate the image 90 degrees, so that it's upright.
Simon
"psnup -l infile.ps http://infile.ps outfile.ps http://outfile.ps" or "psnup -r infile.ps http://infile.ps outfile.ps http://outfile.ps" is what you need.
Mark
"You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions." Naguib Mahfouz __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/
Hello, On Oct 12 09:36 Simon Roberts wrote (shortened):
I want to rotate a postscript document
If you like to print it, there should be a "landscape" option in the printing dialog tools or see the "CUPS Software Users Manual" - "Setting the Orientation". If you like to get a PostScript file as result use the psutils and read "man pstops" carefully. Have in mind that the PostScript coordinate system is the usual mathematical coordinate system - i.e. for a PostScript document with the usual positive coordinate values the origin of the coordinate system (0,0) is the lower left corner of the page. Therefore when you rotate the PostScript coordinate system 90 degrees to the left, positive x coordinate values become negative values so that you must also move it in x direction to get the content back "on the page" (i.e. move it into the range of positive x coordinate values). In the past I had described it in the Administration Manual but it was removed - seems to have been too complicated ;-) Search the Web (e.g. with Google) for the Suse Linux 9.0 Administration Manual (prefer a PDF to have correct images) and look for "pstops" in the printer chapter. Note that the psutils produce somewhat problematic PostScript code so that activating special features of a PostScript printer would no longer work. Only plain printing with the PostScript printer's defaults will work. On the CUPS mailing list the reason was explained: ---------------------------------------------------------------- The culprit is the pstops utility from the PSUtils package. It inserts a procset into the PS job just after the header comments which - among other tings - defines the setpagedevice operator as a noop. Thus, any defaults defined by your printer's PPD or given as options in the print command are just ignored. The only chance you'd have is with printers that need things like media size, duplexing or the like to be specified by PJL commands or with native IPP printers that natively support these attributes via the IPP interface. ---------------------------------------------------------------- Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
participants (8)
-
BandiPat
-
Carlos E. R.
-
Johannes Meixner
-
Ken Schneider
-
Mark Keir
-
Randall R Schulz
-
roach
-
Simon Roberts