postscript

Overlaying or merging multiple .ps files

Hi I have used gmt to create several .ps files of x - y graphs with identical axes. I have several sets of data, each containing between 14 and 20 plots. Each plot is in a separate directory. I would like to overlay every .ps within a dataset, in order to show correlation between the plots. I know this is similar to the thread posted h...

Convert from PDF to Postscript using Java

Hi, I am having a J2EE based application, where I am using a reporting tool to generate outputs in PDF format. I need a utility/ tool in Java which can help me convert my PDF file to postscript format so that I can print it to a printer... My application will be running on a variety of OS (i.e. Windows / Linux / AIX) hence a platform in...

Capturing print jobs to be printed into an Image file

I am a novice to Windows printer driver, and would appreciate any pointers on the following. Enumerating as a printer (In the print menu, similar to print to PDF file) Capturing the print job and encode it into a JPG file (say) I am comfortable with JPG encoding, as I am thinking of using open source tools like ImageMagick. But I am ...

Weird problem, with ghostscript and pdf files.

Hello, am using ghostscript to create pdf file from postscript file. My PS file, doesn't have orientation instructions, so when I want to create landscape pdf file, I'm using ghostscript to rotate the page. The problem is, that ghostscript rotates only the first page, and when my pdf file is more than 1 page, the others, are not rotated ...

LaTeX font in Postscript document

Hello, I am starting off with Postscript, and would like to do something very simple: include a LaTeX symbol within my Postscript document. For example: %! /FontSize 12 def newpath 0 0 moveto ("Hello \LaTeX") show % This is where I would like % the rendering of \LaTeX % with actual LaTeX fo...

what is the best way to convert html to postscript? in java

hello what is the best way ( if there is any ) in java to convert html with css2 support to postscript file ? ...

How to select PostScript printer output tray

I'm having problems with PostScript, especially the setpagedevice operator. Goal: I want to set the pagesize, select the output tray and then do my PostScript thing. For example, for printing on A3 to tray 3, no duplex, I say <</DeferredMediaSelection true /PageSize [842 1191] /ImagingBBox null /MediaClass null>> setpagedevice ...

Create pdf file with ghostscript

Hello, I'm using SCO Unix, with old version of ghostscript (7.7). When I convert the postscript source file to pdf otput file, It's content is visible on the SCO machine. But when I copy the pdf file into windows, and open it with adobe acrobat, all I can see is a blank page. Does anybody have a solution to this? ...

Rotating text in postscript

I have the following postscript code: /outputtext { /data exch def /rot exch def /xfont exch def /Times-Roman findfont xfont scalefont setfont /y1 exch def /x1 exch def x1 y1 moveto rot rotate data show } def % x y fontsize rotation (text) outputtext 20 300 12 0 (text1) outputtext 20 400 12 90 (text2) ...

"Page description language" and "markup language"

What is the difference and relation between "Page description language", "markup language" and "Page description markup language"? Based on their wiki webpages, I just don't understand what is their difference. Why needs there be a markup adaption of the Page description language - "Page description markup language"? Examples: PostSc...

image not shown in dvi after latexing

Hi, I include several images of eps format in latex. After latex command, there are some of the images missing in the dvi file. Not sure if it is related to the image size, most of the images missing have size around 83kB while those shown up have a size less than 40kB. After conversion from dvi to ps, the images are all back. Just wond...

Converting .eps to .jpg

Our print team saves raster images as .eps files. We need to convert about 11000 .eps to .jpg. We are using ImageMagick (with Ghostprint) on Linux. The conversion occurs but the resulting .jpg is not the same size as the source .eps - It's about 1/2 the size. Probably a problem converting a vector to a raster. Any way to solve this? ...

How to display a PostScript file in a Python GUI application.

I would like to build a cross-platform GUI application in Python that displays PostScript files I generate, among some other stuff. What is the best way to accomplish this? Ideally I would be able to do things like zoom and pan the displayed graphic. Do any/some/all of the GUI toolkits have something I can drop in to do this, and if so...

printing to Postscript from vim

Hi, I have problem with printing to postscript from Vim. I'm, using utf-8 encoding with czech characters like 'ščřž' but in the output I get upside question mark instead of the correct characters. vim --version VIM - Vi IMproved 7.2 +iconv +multi_byte +postscript printer settings: set printoptions=paper:A4,duplex:off,collate:n,syn...

How to write outline data into .otf files?

I need to edit or completely replace outline data (bezier curves) of OpenType fonts. the input data is an EPS file that i have to write it into one specified glyph of an otf file with a certain scaling. (The glyph is specified by PostScript name OR Unicode value.) I need something like an encoder (or just a library of file structure of ...

What is the /F function in PostScript?

When coding a PDF file, what is the /F function for in a dictionary? ...

C++ library for Coordinate Transformation Matrices (CTM)?

I'm looking for a C++ library which allows for easy integration of Coordinate Transformation Matrices (CTM) in my application. You might know CTMs from PDF or PostScript. For one project we are using C++/Qt4 as a framework, which offers a QTransform class, which provides methods like .translate(double x, double y) or .rotate(double degr...

How to convert thousands of PDF files to a single Postscript file in a specified order

I've discovered multiple options for convert a few to serveral PDFs into Postscript, but many are command-line programs with command-line limitations (this application lives on .NET). Our application generates tens-of-thousands of PDFs that we need to send to a printer, except BEFORE the Postscript is printed we need to edit the Postscr...

Linux PDF/Postscript Optimizing

So I have a report system built using Java and iText. PDF templates are created using Scribus. The Java code merges the data into the document using iText. The files are then copied over to a NFS share, and a BASH script prints them. I use acroread to convert them to PS, then lpr the PS. The FOSS application pdftops is horribly ineff...

How to get Ghostscript to use embedded fonts in PDF

gs -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf I'm using (trying anyway) to use Ghostscript to reduce my PDF file size. The command above looks like it works, it reduces file size greatly, but then several of the fields are garbled. As for as I can track it down, ...