Convert printer control language(pcl) vector image (.hpp)

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
troyd1
Posts: 73
Joined: 2007-07-29T17:13:19-07:00

Convert printer control language(pcl) vector image (.hpp)

Post by troyd1 »

I have a vector image font file with the extension of hpp. I want to convert it to a .jpg. Any suggestions on how I would do this?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Convert printer control language(pcl) vector image (.hpp

Post by magick »

For some image formats, ImageMagick relies on external delegate libraries or programs. For PCL / HPP, ImageMagick requires the PCL program from GhostPCL.
troyd1
Posts: 73
Joined: 2007-07-29T17:13:19-07:00

Re: Convert printer control language(pcl) vector image (.hpp

Post by troyd1 »

I am using windows xp version 6.7.0.0 q16.

I have ghostscript 9.01 installed which I believe has ghostpcl.

I tried convert image.hpp image.jpg and got the following error:

Magick: no decode delegate for this image format 'image.hpp' @ error/constitute.
c/ReadImage/532.
Magick: missing an image filename 'tmp.jpg' @ error/convert.c/ConvertImageCommand/3015.

I assume it does not know what to do with an hpp file, is that correct?

Please advise on how to proceed.

Thanks
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Convert printer control language(pcl) vector image (.hpp

Post by magick »

GhostPCL is not part of the Ghostscript distribution. Its a separate distribution. You can check from the Command Prompt (MS-DOS) window. Does the command
  • pcl6
work? Or does it return an error?
troyd1
Posts: 73
Joined: 2007-07-29T17:13:19-07:00

Re: Convert printer control language(pcl) vector image (.hpp

Post by troyd1 »

Ok, I did not have ghostpcl installed. I am not sure how to install it, but I changed the exe in the distribution to be pcl6.exe. I copied all the files from the distribution into the folder that I am trying to do the convert in. I also installed the urwfonts. I did pcl6 tiger.px3 and it popped up the tiger image with the distribution. I tried convert tiger.px3 tiger.jpg and it gave me the same error as before. I tried pcl6 image.hpp and it just comes back to the prompt and does not render. Please advise.
troyd1
Posts: 73
Joined: 2007-07-29T17:13:19-07:00

Re: Convert printer control language(pcl) vector image (.hpp

Post by troyd1 »

Any suggestions?
troyd1
Posts: 73
Joined: 2007-07-29T17:13:19-07:00

Re: Convert printer control language(pcl) vector image (.hpp

Post by troyd1 »

I did more searching and it appears an hpp is short for an hppcl extension. Any suggestions on how to convert these to a jpg?
Post Reply