If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: "David H. Funte" <none>
Subject: Re: Another Ghostscript question
Date: Thu, 8 Mar 2001 09:11:40 -0600
References: <9864jb$uug$1@slb5.atl.mindspring.net> <20010307161523.E11929@jpradley.jpr.com> <986bao$mfl$1@slb2.atl.mindspring.net> <20010307175738.I11929@jpradley.jpr.com>
Problem solved...I can't believe the answer..
gs -q -sDEVICE=ljet4 -sPAPERSIZE=letter -dNOPAUSE -sOutputfile=xxx
mom1.ps -c quit
gs -q -sDEVICE=ljet4 -sPAPERSIZE=letter -dNOPAUSE -sOutputFile=xxx
mom1.ps -c quit
One of these lines works, and the other doesn't. Notice the "F" in the
"OutputFile" flag. It must be upper case - or else it does not work. The
program does accept it as a valid flag, but it ignores it later on in the
code. Technically, I messed up by not entering the flag precisely, but the
program should have warned me.
The program DOES validate command flags. gs -lskdjg produces an error
that -lskdjg is an invalid flag. But this one flag is half screwed up.
This is why I stopped putting upper case letters in my command line flags
years ago. It always spelled trouble.
I've ignored that Skunkware CD for years - mainly because the name smelled
like trouble. (get it? I crack me up)
Thank for your help....Now I get to finish my project.
Jean-Pierre Radley <jpr@jpr.com> wrote in message
news:20010307175738.I11929@jpradley.jpr.com...
> David H. Funte <none> propounded (on Wed, Mar 07, 2001 at
04:00:00PM -0600):
> |
> | >
> | > #!/bin/sh
> | > case $# in
> | > 0) gs -q -sDEVICE=djet500 -dNOPAUSE -sOutputFile=- - -c quit |
lp -og -s;;
> | > *) gs -q -sDEVICE=djet500 -dNOPAUSE -sOutputFile=- $@ -c quit |
lp -og -s;;
> | > esac
> | >
> |
> | I found the problem.
> |
> |
gs -sOutputfile=file.name -sDEVICE=ljet4 -q -sPAPERSIZE=letter -dNOPAUSE --
> | mom1.ps -c quit
>
> Uh, did you try my script, using 'jpeg2ps <input.jpeg | jp-script'?
>
>
> --
> JP
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 1 | 3 | 11 | 154 | 938 |
/Bofcusm/1032.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Add your comments