08-05-2017
Hmmmmm.......well jgt, with your enormous contribution to this forum you would have already tried the obvious so this is probably just 'second opinion' rather than a solution.
Octal 174 is the pipe '|' character in most ascii sets, hex 7C, dec 124.
Try using a suitable (hex) editor to find any instances of 7C in the file and whether it finds one on line 277.
Make a backup copy of the file and then delete line 277 and retype it in manually to ensure any hidden/unprintable characters are removed. Do you get the same error? If a hidden character has been removed I would at least expect a different error even if it still doesn't work.
Any make/compiler that reports wrong line numbers by omitting comment lines is about as much use as a chocolate teapot so my opinion is that the error line number would be correct (unless it's inserting some other source file and including the line count in that).
If you look at the code (you didn't post the whole file) do you reckon that the '-' after the '=' is correct? I guess that it's just creating a switch option on a command line.
Last edited by hicksd8; 08-05-2017 at 06:24 AM..
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all
I am using HPUX11.0
i want to install perl 5.6.0 and ghostscript 5.03..
can anyone help me to get it download from any free ftp or http link...
i searched perl.com and ghostscript.com but in vain....
the procuct are to be installed with the above mentioned version...
please... (1 Reply)
Discussion started by: Prafulla
1 Replies
2. UNIX for Dummies Questions & Answers
I need to know how to convert 132 columns text file to Postcript by using ghostscript. What I want to do is to fax a 132 columns
report (text file) with efax and I was told to use ghostscript to change the type and szie of font so the lines will not wrap.
Thanks ;) (1 Reply)
Discussion started by: falcon2460
1 Replies
3. HP-UX
Hi everyone,
I'm new here but I hope there's someone who can help me with this error when running ghostscript/gs:
/usr/lib/dld.sl: Unresolved symbol: jpeg_resync_to_restart (code) from gs
Abort(coredump)
I've managed to install Ghostscript 8.56 including all dependencies successfully... (0 Replies)
Discussion started by: bgail
0 Replies
4. UNIX for Dummies Questions & Answers
I am trying to use Ghostscript oin AIX to print pdf's and it seems I have downloaded it and all dependencys fine - install went fine, when I type any gs commnad except gs -h it just hangs..Here is what it says before the hang:
GNU Ghostscript 5.50 (2000-2-13)
Copyright (C) 1998 Aladdin... (6 Replies)
Discussion started by: capeme
6 Replies
5. UNIX for Dummies Questions & Answers
I am attempting to update to ghostscript version 8.54 on my SCO 5.0.7 box. When I run ./configure, I get the following error
configure: error: no acceptable C compiler found in $PATH
Could someone please help me? (0 Replies)
Discussion started by: kberger82
0 Replies
GSLP(1) Ghostscript GSLP(1)
NAME
gslp - Format and print text using ghostscript
gsbj - Format and print text for BubbleJet printer using ghostscript
gsdj - Format and print text for DeskJet printer using ghostscript
gsdj500 - Format and print text for DeskJet 500 BubbleJet using ghostscript
gslj - Format and print text for LaserJet printer using ghostscript
SYNOPSIS
gslp -12BclqRr -b<header> -f<font> -F<hfont> -L<lines> -p<outfile> -T<n> --add-to-space <units> --add-to-width <units> --columns <n>
--detect --first-page <n> --kern <file.afm> --last-page <n> --(heading|footing)-(left|center|right) <string> --margin-(top|bot-
tom|left|right) <inches> --no-eject-(file|formfeed) --spacing <n> [gs options] [files]
gsbj [options] [files]
gsdj [options] [files]
gsdj500 [options] [files]
gslj [options] [files]
DESCRIPTION
This utility provides functionality approximately equivalent to the Unix enscript(1) program. It prints plain text files using a single
font. It currently handles tabs and formfeeds, but not backspaces. It will line-wrap when using fixed-pitch fonts. It will also do kern-
ing and width adjustment.
The default device (-sDEVICE=) and resolution (-r) are as follows:
gslp epson 180
gsbj bj10e 180
gsdj deskjet 300
gsdj500 djet500 300
gslj laserjet 300
By default the current date is formatted as the center header.
OPTIONS
Standard switches implemented:
-12BclqRr -b<header> -f<font> -F<hfont> -L<lines> -p<outfile>
Sun switches implemented:
-T<n> set tab width
Switches ignored:
-GghKkmow -# -C -d -J -n -P -S -s -t -v
Switches added:
--add-to-space <units>
add the given number of 1/72" units to the width of each space (may be negative)
--add-to-width <units>
add the given number of 1/72" units to the width of each character (may be negative)
--columns <n>
print in <n> columns
--detect
treat the file as PostScript if it starts with %!
--first-page <n>
start printing at page <n>
--kern <file.afm>
kern using information from the given .AFM file
--last-page <n>
stop printing after page <n>
--(heading|footing)-(left|center|right) <string>
set the heading/footing fields; use -B first to clear
--margin-(top|bottom|left|right) <inches>
set a margin
--no-eject-(file|formfeed)
end-of-file/FF only starts a new column, not a new sheet
--spacing <n>
use double (n=2), triple (n=3), etc. spacing
Also, the string %# in a heading or footing is replaced with the page #.
SEE ALSO
gs(1)
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 GSLP(1)