delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/30/07:32:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_50,T_FILL_THIS_FORM_SHORT
X-Spam-Check-By: sourceware.org
From: "DEWI - N. Zacharias" <N DOT Zacharias AT dewi DOT de>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Fri, 30 Jul 2010 13:32:14 +0200
Subject: AW: [bulk] - Re: Inconsistent escaping of bash commands (depends on the first command)
Message-ID: <8CCC8F85C5F2784387A32FAD835FB4E602E71D7537@server03>
References: <AANLkTimwjHa+sZOpzcLOQ+jerreG2vOKT8P0W+C6B4Sm AT mail DOT gmail DOT com> <4C51F0AD DOT 9080605 AT redhat DOT com> <AANLkTim+hbxXzXp4XtCtDHomQooCMAT+vj3Ht-R58wj6 AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTim+hbxXzXp4XtCtDHomQooCMAT+vj3Ht-R58wj6@mail.gmail.com>
MIME-Version: 1.0
X-purgate-sourceid: 1Oenp2-00010M-2o
X-eleven-AD: Checked for spam and viruses by eXpurgate(R), see www.eleven.de for details.
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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=3D"-printer \\\\XXX\hplj-4700DTN"
opts=3D"-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  fon=
t 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 DOT Zacharias AT dewi DOT 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=E4mpny

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019