ghostscript


What is this stuff?

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>


Hate these ads?



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)

Or use any RSS reader

Delivered by FeedBurner


LOD Communications, Inc.

Views for this page
Today This Week This Month This Year  Overall
1311154 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.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants

Your ad here - $48.00 yearly!

http://www.m3ipinc.com Security, firewalls, ids, audits, vulnerability assesments, BS7799, HIPAA, GLB, incident handling


http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering


UBB Computer Services Support for Openserver, Unixware and Linux. Windows integration with Unix/Linux servers. Hardware, Backup and Networking issues. Located near Sacramento CA, we provide onsite support throughout Northern CA and Nationwide via remote access. We are a SCO Authorized Partner and a Microlite BackupEdge Certified Reseller.



Twitter
  • Nov 21 07:55
    @loudmouthman: correct, but how do you prove ANYTHING like that is accurate? You can't. A text file is no better or worse than anything.
  • Nov 21 07:40
    @loudmouthman: well, a digital signature could prove it hadn't been altered. Text is no more insecure than anything else in that sense.




card_image








Change Congress


Related Posts