Questions tagged [postscript]
PostScript is a Turing-complete page description programming language, designed and developed by Adobe. There are three major releases: PostScript Level 1, released in 1984. PostScript Level 2 (1991) contained several important improvements. PostScript 3 (1997) is the latest version.
postscript
1,072
questions
0
votes
0
answers
40
views
How to add Overprint Fill on text in PostScript file
I have a ghost command that gets PGB PDF as input and generates CMYK PDF. What I need to achive is to make the text overprinted, so when I open the PDF in Adobe Acrobat -> Use print production ->...
0
votes
0
answers
33
views
GhostScript PANTONE Colors Name
I am using GhostScript to convert a PDF to a TIFFSep1 and I also use a postscript script to handle halftones. Everything works fine but I can't get the script to recognize the pantone colors because ...
1
vote
0
answers
22
views
In Postscript, does loading a dictionary to run a procedure have the same overhead as doing a lookup of the procedure name in the dict?
/myDict<<
/myProc {
(Hello world) =
}
>>def
myDict begin %A
myProc %A
end %A
myDict /myProc get exec %B
Given the above Postscript ...
0
votes
0
answers
50
views
how to insert image using hexadecimal in postscript file
In the following PostScript file resource, there is already an image which displays correctly, but I need to replace it with a new image. I have the new image in JPEG format, and I use this tool https:...
1
vote
0
answers
95
views
Ghostscript (ps2pdf) Not Handling UTF-8 Input File
I'm trying to use ps2pdf to convert a Postscript file to PDF, but the Postscript file has a UTF-8 character in it which is not rendered properly.
We have a website with a database, where users can ...
0
votes
0
answers
120
views
Why does Ghost script 10.02.01 rotate barcode elements 180 degrees counterclockwise?
When converting a postscript file to PDF using the following command line, the barcode elements are flipped 180 degrees counter clockwise, above the correct origin and overlaying text. The rest of the ...
0
votes
0
answers
36
views
Is it possible to export the width and height of a string to an external program writing native Postscript
I have a program that writes Postscript code to draw various diagrams using a Postscript graphics library. I would like to know in the main program what the actual size (height and length) of the text ...
0
votes
0
answers
22
views
Text overlaid with Ghostscript not visible
I am using the solution provided here to overlay text onto a PDF.
It works - partially: the text is there (I can copy it and it shows using pdftotext) but is not visible - there's probably lots of ...
0
votes
1
answer
73
views
How approximate {X[z],Y[z]} functions as Bézier cubic
A user has smooth mathematical functions X[z] and Y[z] which define a smooth path over a range of z. My use case is that these functions define an Archimedes spiral, but the question can be more ...
1
vote
1
answer
80
views
PostScript circles: how accurate, how improve?
The PostScript command arc can draw circles, and part circles. Adobe Distiller draws angles ≤90° as a single Bézier cubic. How accurate is this; how can it be made more accurate?
Similar content to ...
0
votes
0
answers
36
views
Debug option INITDEBUG, output format
Ghostscript has the debug option INITDEBUG which outputs this:
END PROCS 0 1523912 211486 1330832 36164 true 662 3 <0>
gs_std_e.ps 0 1523912 217533 1330832 38644 true 670 3 <0>
gs_il1_e.ps ...
0
votes
0
answers
53
views
how to extract location state from postscript?
I am writing a quiz generator, started using HTML which turns out to be hard to deterministically decide where things will be. So I am going to use postscript.
When I write out a question, and the box ...
2
votes
1
answer
122
views
make two-sided pdf layout with multiple pages per sheet
Say I have the attached pdf with eight A6 (i.e., 105 x 74.25 mm) pages (marked, e.g., A A' B B' C C' D D'), I want to make a pdf with two A5 (i.e., 210 x 148.5 mm) page that can be two-sided printed. ...
0
votes
0
answers
72
views
how to make Accessibiity pdf from postscript file
I came to knew from one thread "ghostscript ps pdfmark command /BDC for content tagging (PDF/UA and WCAG 2.0)" that it is possible to create Accessibility PDF from postscript file. is there ...
1
vote
1
answer
159
views
Ghostscript: Stop image rotating when converting PDF to Image
I am using Ghostscript 10.02.0 to convert a PDF to a PNG with the following command:
gs -o ./test.png -dNumRenderingThreads=1 -sDEVICE=png16m -r72 -dLastPage=1 -dFitPage -dDEVICEWIDTHPOINTS=125 -...