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\"

Or

[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

OR

[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
Norbert

--------------------------------------------------------------------------
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:    +49 4421 4808 843


Email:  N.Zacharias@dewi.de
Home:   http://http://www.dewi.de

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:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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