Sponsored Content
Operating Systems Linux Red Hat How to print postscript files? Post 302699919 by aixlover on Wednesday 12th of September 2012 02:59:38 PM
Old 09-12-2012
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!
 

8 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

postscript reader for hp-unix

sorry, it is a dumb question, but i could not find any answer in anything else. does anybody know whether there is any postscript file reader for HP-Unix? :) (1 Reply)
Discussion started by: sskb
1 Replies

3. 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

4. Programming

How do I print(save) words to postscript?

It should be pretty simple but I'm just new to IDL and am workling through the command line and scripts(program.pro). If I want to save words to the bottom of a .ps file that I am putting a few plots in what should written in my code. set_plot works for plots but apparently not words. Print... (0 Replies)
Discussion started by: luked
0 Replies

5. Shell Programming and Scripting

manipulate postscript via sed

dear all, on solaris10 for x86 i am trying to modify the creation date of a postscript file with sed in a csh script. sed is driving me crazy though...i think due to the spaces in the string i am trying to substitute?? part of the postscript file: %!PS-Adobe-3.0... (3 Replies)
Discussion started by: lada niva
3 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. UNIX for Dummies Questions & Answers

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... (3 Replies)
Discussion started by: abhisheksunkari
3 Replies

8. 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
GSinterface(1)						      General Commands Manual						    GSinterface(1)

NAME
GSinterface - LP interface script for using ghostscript under lpsched SYNOPSIS
GSinterface [request-id] [user] [title] [copies] [options] [files] DESCRIPTION
This shell script is intended to be uses as an LP interface script on Solaris 2.6 and later systems. It allows print queues to be config- ured under LP using Ghostscript to render for the printer. Configuration under lpsched is performed via the lpadmin(1M) command. # lpadmin -p printer -v /dev/... -I"postscript,pdf" -Tunknown -i /usr/sfw/share/ghostscript/interfaces/GSinterface -o GS_DEVICE=(gs-device-type) [-o OutputFile=(file/device)] [-o PAPERSIZE=(size)] [-o RESOLUTION=XxY] [-o banner-type=(ascii|postscript)] [-o GS_OPTIONS="-sIjsServer=... -sIjsParams=..."] Valid values for the GS_DEVICE setting can be obtained from Ghostscript by running: "gs -h". This will dump a variety of information about Ghostscript's usage and compile time configuration. The "Available devices:" section lists the formats that Ghostscript will render to. You will need to match one of these formats to the format that your printer takes as input. EXAMPLES
To configure a Canon Bublejet 800c (NeWSprinter CL+) printer connected to an ECP parallel port: # lpadmin -p printer -v /dev/ecpp0 -I"postscript,pdf" -Tunknown -i /usr/sfw/share/ghostscript/interfaces/GSinterface -o GS_DEVICE=bjc800 # accept printer # enable printer To configure an HP DeskJet 990 printer connected via a USB interface using IJS support: # lpadmin -p printer -v /dev/usb/lp1 -I"postscript,pdf" -Tunknown -i /usr/sfw/share/ghostscript/interfaces/GSinterface -o GS_DEVICE=ijs -o GS_OPTIONS="-sIjsServer=hpijs -sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel='DESKJET 990' -DIjsUseOutputFD" # accept printer # enable printer SEE ALSO
gs(1) Ghostscript 15 October 2002 GSinterface(1)
All times are GMT -4. The time now is 04:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy