Sponsored Content
Full Discussion: Creating a PostScript File
Top Forums UNIX for Dummies Questions & Answers Creating a PostScript File Post 302604037 by abhisheksunkari on Friday 2nd of March 2012 03:32:11 PM
Old 03-02-2012
Error Creating a PostScript File

Hi All,
I have a requirement, where i have create a pdf file in unix. I have gone through few links and understood that it could be done in 2 step manner.
- Create a .ps PostScript file.
- Pass .ps file to p2pdf command to create the pdf.

But i am having trouble creating the .ps file. I have learned that a2ps is the command to create it.
But in my setup, the shell does nt recognize the a2ps command, but it does have a man page.
Not sure what i am missing here, can someone please let me know what the problem is?

Also is there a better way to create a pdf file in unix.

Thank you in advance,

Regards,
Abhishek S.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

postscript printing

How do I setup a printer queue to do postscript printing using UNIX commands? I setup a remote host/printer using the admintool (solaris), but it does not let me specify that this printer will print postscript. (1 Reply)
Discussion started by: pkappaz
1 Replies

2. UNIX for Dummies Questions & Answers

UNIX and PostScript

Hi! Iīm wondering if itīs possible to use PostScript in UNIX. I have a client that want to install a HP ColorPro GA in a UNIX network and I donīt have any experience about UNIX. Is UNIX using PostScrip by deafault, like a Mac or does he need to install some form of RIP? Best regards <Therapy> (2 Replies)
Discussion started by: <Therapy>
2 Replies

3. UNIX for Dummies Questions & Answers

Printing Chinese postscript file

G'day, I've a Solaris 9 box & I've configured a HP Laserjet for postscript printing. When my client prints an English postscript file, it gets printed fine. But when he sends a Chinese postscript file, there is no output at the printer. Is there anything I need to set for Chinese... (0 Replies)
Discussion started by: Albert J.
0 Replies

4. Solaris

COnversion utility xhtml file to Postscript file

Hi, Can any suggest me some utility to convert xhtml file to postscript file format? Also tell me from where to down load such utility.. With Regards, Dattatray (0 Replies)
Discussion started by: dattatray.b
0 Replies

5. UNIX for Dummies Questions & Answers

"convert" chops off part of postscript file?

I have images in PS that I want to convert to JPG (unfortunately, I need to use them in Powerpoint! :eek:). The problem is that the edges of the image get chopped off when I use: convert filename.ps filename.jpg So, for example, in my plots, the top and bottom labels for the x-axis are... (0 Replies)
Discussion started by: ramparts
0 Replies

6. Shell Programming and Scripting

setpagedevice (postscript)

Basically, I'd like to apply a printer tray selection on postscript files by means of a (Bash) shell script. What works on a Xerox DocuColor 5000, is this (exemplified for one tray): sed "s/BeginPageSetup/&\n<<\/MediaColor (red)>> setpagedevice/" -i page.ps Every attempt to do so on a... (0 Replies)
Discussion started by: dr.house
0 Replies

7. Shell Programming and Scripting

change text color in postscript file

Hi everyone, I have a program that produces postscript files on the fly The color of the files produced are in black and white I want to change the text color of postscript file as the file is being produced without having to manually go into the ps file and change it myself. Any Ideas?... (5 Replies)
Discussion started by: walforum
5 Replies

8. UNIX for Dummies Questions & Answers

Splitting a postscript file

Hi , I have a problem .. I have a post script file which has text as %%colur code :uyiu %% pagesize :9808 %%page: 1 1 %%color:78798- %%ufgfhre %%Page: 2 1 I need to create two files with this one post script file . the first file should have data till what is in %%Page: 1 1 ... (4 Replies)
Discussion started by: selvapraveen
4 Replies

9. AIX

Printing Postscript files through Infoprint Manager to a Postscript printer

Hello, I am runnning Infoprint Manager 4.3 on AIX 5.2 . There is no problem printing AFP files, but I have hit a snag trying to use "AIX DSS" or "Other Printer" actual destinations to send unconverted Postscript files to native Postscript printers. The files are big, and they print correctly,... (0 Replies)
Discussion started by: ahetzel
0 Replies

10. Red Hat

How to print postscript files?

Hi, I am looking for a quick answer. How to print postscript files by using gs command? Let's say the HP printer's hostname is pname and the document name is pfile. The OS is RHEL 4 with cups enabled. I've read gs man but didn't get it well. Thank you in advance! (1 Reply)
Discussion started by: aixlover
1 Replies
PS2PDF(1)                                                           Ghostscript                                                          PS2PDF(1)

NAME
ps2pdf - Convert PostScript to PDF using ghostscript ps2pdf12 - Convert PostScript to PDF 1.2 (Acrobat 3-and-later compatible) using ghostscript ps2pdf13 - Convert PostScript to PDF 1.3 (Acrobat 4-and-later compatible) using ghostscript SYNOPSIS
ps2pdf [options...] {input.[e]ps|-} [output.pdf|-] ps2pdf12 [options...] {input.[e]ps|-} [output.pdf|-] ps2pdf13 [options...] {input.[e]ps|-} [output.pdf|-] DESCRIPTION
The ps2pdf scripts are work-alikes for nearly all the functionality (but not the user interface) of Adobe's Acrobat(TM) Distiller(TM) prod- uct: they convert PostScript files to Portable Document Format (PDF) files. If the output filename is not specified, the output is placed is a file of the same name with a '.pdf' extension. Either the input filename or the output filename can be '-' to request reading from stdin or writing to stdout, respectively, when used as a filter. The three scripts differ as follows: - ps2pdf12 will always produce PDF 1.2 output (Acrobat 3-and-later compatible). - ps2pdf13 will always produce PDF 1.3 output (Acrobat 4-and-later compatible). - ps2pdf per se currently produces PDF 1.4 output. However, this may change in the future. If you care about the compatibility level of the output, use ps2pdf12 or ps2pdf13, or use the -dCompatibility=1.x switch in the command line. There are some limitations in ps2pdf's conversion. See the HTML documentation for more information. A large number of Adobe Distiller(TM) parameters which can be used to control the conversion are also documented there, including instructions for generating PDF/X and PDF/A documents. OPTIONS
The ps2pdf scripts use the same options as gs(1). EXAMPLES
Converting a figure.ps to figure.pdf: ps2pdf figure.ps A conversion with more specifics: ps2pdf -dPDFSETTINGS=/prepress figure.ps proof.pdf Converting as part of a pipe: make_report.pl -t ps | ps2pdf -dCompatibility=1.3 - - | lpr SEE ALSO
gs(1), ps2pdfwr(1), Ps2pdf.htm in the Ghostscript documentation BUGS
See http://bugs.ghostscript.com/ and the Usenet news group comp.lang.postscript. VERSION
This document was last revised for Ghostscript version 8.70. AUTHOR
Artifex Software, Inc. are the primary maintainers of Ghostscript. This manpage by George Ferguson. 8.70 31 July 2009 PS2PDF(1)
All times are GMT -4. The time now is 03:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy