Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #3017 > unrolled thread
| Started by | jbuhawe@asi-dev2.com |
|---|---|
| First post | 2017-03-23 23:41 -0700 |
| Last post | 2017-04-03 01:54 -0700 |
| Articles | 15 — 6 participants |
Back to article view | Back to comp.lang.postscript
PS File Creation jbuhawe@asi-dev2.com - 2017-03-23 23:41 -0700
Re: PS File Creation tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2017-03-24 16:47 -0400
Re: PS File Creation jbuhawe@asi-dev2.com - 2017-03-26 17:25 -0700
Re: PS File Creation tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2017-03-26 23:04 -0400
Re: PS File Creation Jovelyn Buhawe <jbuhawe@asi-dev2.com> - 2017-03-26 23:17 -0700
Re: PS File Creation tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2017-03-28 22:27 -0400
Re: PS File Creation Jovelyn Buhawe <jbuhawe@asi-dev2.com> - 2017-03-28 19:41 -0700
Re: PS File Creation tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2017-03-29 03:51 -0400
Re: PS File Creation Jovelyn Buhawe <jbuhawe@asi-dev2.com> - 2017-03-29 17:10 -0700
Re: PS File Creation Martin Leese <please@see.Web.for.e-mail.INVALID> - 2017-03-29 10:29 -0600
Re: PS File Creation Jovelyn Buhawe <jbuhawe@asi-dev2.com> - 2017-03-29 17:13 -0700
Re: PS File Creation jdaw1 <jdawiseman@gmail.com> - 2017-03-29 13:21 -0700
Re: PS File Creation Jovelyn Buhawe <jbuhawe@asi-dev2.com> - 2017-03-29 17:14 -0700
Re: PS File Creation Martin Leese <please@see.Web.for.e-mail.INVALID> - 2017-03-30 10:35 -0600
Re: PS File Creation Alan <alanrsargent@gmail.com> - 2017-04-03 01:54 -0700
| From | jbuhawe@asi-dev2.com |
|---|---|
| Date | 2017-03-23 23:41 -0700 |
| Subject | PS File Creation |
| Message-ID | <0d531a35-379b-4f8b-82bb-f0343c38af28@googlegroups.com> |
Hello All! I am trying to create an image using PS, but starting everything from scratch takes too long. May I ask if there's an available library for commonly used procedures for that that is open source or free? Thank you so much for your help!
[toc] | [next] | [standalone]
| From | tlvp <mPiOsUcB.EtLlLvEp@att.net> |
|---|---|
| Date | 2017-03-24 16:47 -0400 |
| Message-ID | <113r9bsqj2b29$.1syds0rr7zq8n.dlg@40tude.net> |
| In reply to | #3017 |
On Thu, 23 Mar 2017 23:41:11 -0700 (PDT), jbuhawe@asi-dev2.com wrote: > I am trying to create an image using PS, but starting everything from > scratch takes too long. May I ask if there's an available library for > commonly used procedures for that that is open source or free? I was trying to create a useful answer for you using English, but starting without knowing anything about the sort of image you want to create is too onerous. May I ask if any of the boilerplate images in the libraries that MS or Apple provide (Office images, icon images, favicon images) might come in handy? If so, edit away, then Print to PS. Thanks. HTH. Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
[toc] | [prev] | [next] | [standalone]
| From | jbuhawe@asi-dev2.com |
|---|---|
| Date | 2017-03-26 17:25 -0700 |
| Message-ID | <93bad17f-a292-44d1-8817-89f48c5c0d07@googlegroups.com> |
| In reply to | #3018 |
On Saturday, March 25, 2017 at 4:47:47 AM UTC+8, tlvp wrote: > On Thu, 23 Mar 2017 23:41:11 -0700 (PDT), jbuhawe@asi-dev2.com wrote: > > > I am trying to create an image using PS, but starting everything from > > scratch takes too long. May I ask if there's an available library for > > commonly used procedures for that that is open source or free? > > I was trying to create a useful answer for you using English, but starting > without knowing anything about the sort of image you want to create is too > onerous. May I ask if any of the boilerplate images in the libraries that > MS or Apple provide (Office images, icon images, favicon images) might come > in handy? If so, edit away, then Print to PS. Thanks. HTH. Cheers, -- tlvp > -- > Avant de repondre, jeter la poubelle, SVP. I am trying to be able to convert a certain file to PS. Like for example this file has a rectangle in it, I would like to extract its data and retrieve the length, width and color. I want to use these data to be able to interpret or convert into PS file. And to make the conversion faster, a library would be a better option than creating everything from scratch. I would like to ask if there's an available libray that I can use? I've searched PSLib is one, but so far it says it works on Ubuntu. I still have to try if it works in Windows PC. Can I use it in windows PC? Do you have any better suggestion? Thank you so much! Your help is greatly appreciated.
[toc] | [prev] | [next] | [standalone]
| From | tlvp <mPiOsUcB.EtLlLvEp@att.net> |
|---|---|
| Date | 2017-03-26 23:04 -0400 |
| Message-ID | <1l1tx7h80cs57$.1jr832sat3jrj$.dlg@40tude.net> |
| In reply to | #3019 |
On Sun, 26 Mar 2017 17:25:46 -0700 (PDT), jbuhawe@asi-dev2.com wrote:
> I am trying to be able to convert a certain file to PS. Like for example this file has a rectangle in it, I would like to extract its data and retrieve the length, width and color.
Sorry: "a certain file" -- is that a text file, with a mathematician's
description of a rectangle? or a jpg file, containing the graphical data
recorded in a photograph of a physical rectangle? or a programmer's file
(in GW-Basic, perhaps, or Pascal) giving commands for drawing a rectangle?
Or perhaps an SVG file, with a depiction of a rectangle?
The methods for trying "to convert ... to PS" will be very different, tout
selon le cas. Perhaps you might do well to consult the Adobe Blue Book
(Charles Geschke's {PostScript Language Tutorial and Cookbook}). for
explicit directions on constructing rectangles, and much more, /ab initio/.
(One edition bears ISBN: 0-201-10179-3, FWTW.) HTH. Cheers, -- tlvp
--
Avant de repondre, jeter la poubelle, SVP.
[toc] | [prev] | [next] | [standalone]
| From | Jovelyn Buhawe <jbuhawe@asi-dev2.com> |
|---|---|
| Date | 2017-03-26 23:17 -0700 |
| Message-ID | <7c834fa5-5f4a-4781-a9c7-054662f7ad37@googlegroups.com> |
| In reply to | #3020 |
On Monday, March 27, 2017 at 11:04:20 AM UTC+8, tlvp wrote:
> On Sun, 26 Mar 2017 17:25:46 -0700 (PDT), wrote:
>
> > I am trying to be able to convert a certain file to PS. Like for example this file has a rectangle in it, I would like to extract its data and retrieve the length, width and color.
>
> Sorry: "a certain file" -- is that a text file, with a mathematician's
> description of a rectangle? or a jpg file, containing the graphical data
> recorded in a photograph of a physical rectangle? or a programmer's file
> (in GW-Basic, perhaps, or Pascal) giving commands for drawing a rectangle?
> Or perhaps an SVG file, with a depiction of a rectangle?
>
> The methods for trying "to convert ... to PS" will be very different, tout
> selon le cas. Perhaps you might do well to consult the Adobe Blue Book
> (Charles Geschke's {PostScript Language Tutorial and Cookbook}). for
> explicit directions on constructing rectangles, and much more, /ab initio/.
>
> (One edition bears ISBN: 0-201-10179-3, FWTW.) HTH. Cheers, -- tlvp
> --
> Avant de repondre, jeter la poubelle, SVP.
I've already read half of the Blue book. I know the basics. But I want to know if there's an available library that I can use to create a PS file let's say I would like to create a program that would convert a PDF file to it's equivalent PS. How can I easily do that? I don't want to do the creation of shapes from scratch. Is there a library that I can use to make the programming faster?
[toc] | [prev] | [next] | [standalone]
| From | tlvp <mPiOsUcB.EtLlLvEp@att.net> |
|---|---|
| Date | 2017-03-28 22:27 -0400 |
| Message-ID | <ulg870gr5zpg.g6cayu74hdna.dlg@40tude.net> |
| In reply to | #3021 |
On Sun, 26 Mar 2017 23:17:39 -0700 (PDT), Jovelyn Buhawe hopes to ...: > convert a PDF file to it's equivalent PS. How can I easily do that? Ah, now *that* I can help you with, at least on a Windows system. Simply print that PDF to a PostScript printer (e.g., to an HP 8500 Color LaserJet in PS mode) -- being sure to check the "Print to file" check-box in the Print dialogue (so print to it, as they say, on the port FILE). The resulting file will be a PS rendition of your original PDF file. Others here may well point out that there are pdf2ps utilities available for other OS scenarios -- google will, too -- but I've never used any of those and, apart from encouraging you to try, can offer no useful advice. HTH. Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
[toc] | [prev] | [next] | [standalone]
| From | Jovelyn Buhawe <jbuhawe@asi-dev2.com> |
|---|---|
| Date | 2017-03-28 19:41 -0700 |
| Message-ID | <15424076-562c-4411-bab1-7beddc1152e2@googlegroups.com> |
| In reply to | #3022 |
On Wednesday, March 29, 2017 at 10:27:26 AM UTC+8, tlvp wrote: > On Sun, 26 Mar 2017 23:17:39 -0700 (PDT), Jovelyn Buhawe hopes to ...: > > > convert a PDF file to it's equivalent PS. How can I easily do that? > > Ah, now *that* I can help you with, at least on a Windows system. Simply > print that PDF to a PostScript printer (e.g., to an HP 8500 Color LaserJet > in PS mode) -- being sure to check the "Print to file" check-box in the > Print dialogue (so print to it, as they say, on the port FILE). The > resulting file will be a PS rendition of your original PDF file. > > Others here may well point out that there are pdf2ps utilities available > for other OS scenarios -- google will, too -- but I've never used any of > those and, apart from encouraging you to try, can offer no useful advice. > > HTH. Cheers, -- tlvp > -- > Avant de repondre, jeter la poubelle, SVP. How about PSLib library for PostScript programming? Any idea how to use it or install it in Windows environment? Thank you again for your help!
[toc] | [prev] | [next] | [standalone]
| From | tlvp <mPiOsUcB.EtLlLvEp@att.net> |
|---|---|
| Date | 2017-03-29 03:51 -0400 |
| Message-ID | <1tfxeg7to8bu0$.xkqlxjbknvor.dlg@40tude.net> |
| In reply to | #3023 |
On Tue, 28 Mar 2017 19:41:34 -0700 (PDT), Jovelyn Buhawe wrote: > How about PSLib library for PostScript programming? Any idea how to use it or install it in Windows environment? Sorry, there you're pushing into waters that are over my head, sorry. Best of luck, though. Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
[toc] | [prev] | [next] | [standalone]
| From | Jovelyn Buhawe <jbuhawe@asi-dev2.com> |
|---|---|
| Date | 2017-03-29 17:10 -0700 |
| Message-ID | <b35cbf0f-a85b-4478-8aa8-df1378b9ebf6@googlegroups.com> |
| In reply to | #3024 |
On Wednesday, March 29, 2017 at 3:51:03 PM UTC+8, tlvp wrote: > On Tue, 28 Mar 2017 19:41:34 -0700 (PDT), Jovelyn Buhawe wrote: > > > How about PSLib library for PostScript programming? Any idea how to use it or install it in Windows environment? > > Sorry, there you're pushing into waters that are over my head, sorry. > Best of luck, though. Cheers, -- tlvp > -- > Avant de repondre, jeter la poubelle, SVP. Thank you for your help though! I appreciate it!
[toc] | [prev] | [next] | [standalone]
| From | Martin Leese <please@see.Web.for.e-mail.INVALID> |
|---|---|
| Date | 2017-03-29 10:29 -0600 |
| Message-ID | <obgn7m$g8g$1@dont-email.me> |
| In reply to | #3022 |
tlvp wrote: > On Sun, 26 Mar 2017 23:17:39 -0700 (PDT), Jovelyn Buhawe hopes to ...: > >> convert a PDF file to it's equivalent PS. How can I easily do that? > > Ah, now *that* I can help you with, at least on a Windows system. ... > Others here may well point out that there are pdf2ps utilities available > for other OS scenarios -- google will, too -- but I've never used any of > those and, apart from encouraging you to try, can offer no useful advice. A pdf2ps utility is included as part of Ghostscript. This is available on several OSs, *including* Windows. Here is the Usage line from version 8.60: Usage: pdf2ps [-dASCII85DecodePages=false] [-dLanguageLevel=n] input.pdf output.ps The latest stable release is 9.21 released on March 16, 2017. -- Regards, Martin Leese E-mail: please@see.Web.for.e-mail.INVALID Web: http://members.tripod.com/martin_leese/
[toc] | [prev] | [next] | [standalone]
| From | Jovelyn Buhawe <jbuhawe@asi-dev2.com> |
|---|---|
| Date | 2017-03-29 17:13 -0700 |
| Message-ID | <3d7141ca-b96b-4486-9fd3-967cb7743a70@googlegroups.com> |
| In reply to | #3025 |
On Thursday, March 30, 2017 at 12:29:29 AM UTC+8, Martin Leese wrote: > tlvp wrote: > > > On Sun, 26 Mar 2017 23:17:39 -0700 (PDT), Jovelyn Buhawe hopes to ...: > > > >> convert a PDF file to it's equivalent PS. How can I easily do that? > > > > Ah, now *that* I can help you with, at least on a Windows system. > ... > > Others here may well point out that there are pdf2ps utilities available > > for other OS scenarios -- google will, too -- but I've never used any of > > those and, apart from encouraging you to try, can offer no useful advice. > > A pdf2ps utility is included as part of > Ghostscript. This is available on several > OSs, *including* Windows. Here is the Usage > line from version 8.60: > > Usage: pdf2ps [-dASCII85DecodePages=false] [-dLanguageLevel=n] input.pdf > output.ps > > The latest stable release is 9.21 released > on March 16, 2017. > -- > Regards, > Martin Leese > E-mail: please@see.Web.for.e-mail.INVALID > Web: http://members.tripod.com/martin_leese/ I will look into it. I am not that familiar with GhostScript for now. Thank you for your help!
[toc] | [prev] | [next] | [standalone]
| From | jdaw1 <jdawiseman@gmail.com> |
|---|---|
| Date | 2017-03-29 13:21 -0700 |
| Message-ID | <ab443e82-3e31-44ea-bcc0-5ac743731999@googlegroups.com> |
| In reply to | #3017 |
On a Mac, Preview can convert PS to PDF. On the internet, http://www.ps2pdf.com/convert.htm does the same.
[toc] | [prev] | [next] | [standalone]
| From | Jovelyn Buhawe <jbuhawe@asi-dev2.com> |
|---|---|
| Date | 2017-03-29 17:14 -0700 |
| Message-ID | <03600919-f196-4e0c-ba42-b46cfb35c9e3@googlegroups.com> |
| In reply to | #3026 |
On Thursday, March 30, 2017 at 4:21:36 AM UTC+8, jdaw1 wrote: > On a Mac, Preview can convert PS to PDF. > > On the internet, http://www.ps2pdf.com/convert.htm does the same. I am using Windows environment. Thank you for your help!
[toc] | [prev] | [next] | [standalone]
| From | Martin Leese <please@see.Web.for.e-mail.INVALID> |
|---|---|
| Date | 2017-03-30 10:35 -0600 |
| Message-ID | <objbuh$ejc$1@dont-email.me> |
| In reply to | #3026 |
jdaw1 wrote:
...
> On the internet, http://www.ps2pdf.com/convert.htm does the same.
Forgot about online converters; all you
need is a Web browser. This is really
useful if you only have a handful of files
to convert, and they don't contain anything
confidential.
The one above does the job using Ghostscript.
An alternative website, which can convert
pretty much anything to anything, is:
http://www.online-convert.com/
--
Regards,
Martin Leese
E-mail: please@see.Web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/
[toc] | [prev] | [next] | [standalone]
| From | Alan <alanrsargent@gmail.com> |
|---|---|
| Date | 2017-04-03 01:54 -0700 |
| Message-ID | <1db846f7-6dbe-4dcb-a80d-08510b59b59f@googlegroups.com> |
| In reply to | #3017 |
The xpdf utilities from FooLabs are very good, small and efficient.
http://www.foolabs.com/xpdf/download.html
Includes
pdftops [options] [PDF-file [PS-file]]
DESCRIPTION
Pdftops reads the PDF file, PDF-file, and writes a PostScript file, PS-
file. If PS-file is not specified, pdftops converts file.pdf to
file.ps (or file.eps with the -eps option). If PS-file is '-', the
PostScript is sent to stdout.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.postscript
csiph-web