This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: [bulk] - Re: Inconsistent escaping of bash commands (depends on the first command)

Hi all,
my problem is similar to the escaping problem

I use generate and print print pdf from command line.
To print I use the windows gsprint program.

printer="-printer \\\\XXX\hplj-4700DTN"
opts="-all -ghostscript \"c:\\Programme\\gs\\gs8.63\\bin\\gswin32c.exe\""

[1] /cydrive/c/Programme/gs/gsview/gsprint.exe" $opts $printer \"$1\"


[2] cmd /C "c:\\Programme\\gs\\gsview\\gsprint.exe" $opts $printer \"$1\"

Both version work. But they don't find the fonts located under

[3] /usr/share/ghostscript/fonts


[4] c:\Programme\cygwin\usr\share\ghostscript\fonts

[4] is the contend of the Windows environment var GS_LIB

If I start the printing form a cmd shell (started from Windos) all the  font where found by gsprint.

>From my point of view there is an inconsistency  between starting a window program form a cmd shell direct from windows and starting the same program from a cmd shell which is stared from cygwin.

Do someone have an idea how to fix that ??

Have fun

Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
Ebertstrasse 96
26382 Wilhelmshaven

Tel.:   +49 4421 4808 876

Fax:    +49 4421 4808 843

Home:   http://

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny

P Please consider the environment before printing this email.

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]