🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.postscript.programming
5 messages
5 total messages Started by jdaw1 Mon, 21 Sep 2009 07:33
File-path format for 'run' operator
#213
Author: jdaw1
Date: Mon, 21 Sep 2009 07:33
8 lines
1572 bytes
For the first time since upgrading to Mac OS X, I need to use the
PostScript run operator. But run just can't find the file. Please, how
should I write the path for a file located at:
HD_JDAW/Users/JDAW/Documents/programming/PostScript/whatever.ps?

Many variations of ".", "/" and "~" have been tested, all to no
effect. Please, for Adobe Distiller 8.1.3 (23/10/2006), how should
this path be written?
Re: File-path format for 'run' operator
#215
Author: Jeffrey H. Coffield
Date: Mon, 21 Sep 2009 16:00
17 lines
2110 bytes

jdaw1 wrote:
> For the first time since upgrading to Mac OS X, I need to use the
> PostScript run operator. But run just can't find the file. Please, how
> should I write the path for a file located at:
> HD_JDAW/Users/JDAW/Documents/programming/PostScript/whatever.ps?
> 
> Many variations of ".", "/" and "~" have been tested, all to no
> effect. Please, for Adobe Distiller 8.1.3 (23/10/2006), how should
> this path be written?

I tried a few things on my wife's Mac and found that you need to start a
file name with something like "%os%/Users/tammy" but the Preview app
appeared to only see files in /Users/tammy/Library/Fonts.

Jeff Coffield
Re: File-path format for 'run' operator
#216
Author: jdaw1
Date: Mon, 21 Sep 2009 19:47
61 lines
3662 bytes
> I tried a few things on my wife's Mac and found that you need to start a
> file name with something like "%os%/Users/tammy" but the Preview app
> appeared to only see files in /Users/tammy/Library/Fonts.

Please, is the "os" in that a variable name (in which case replaced
with what?), or a literal? My semi-automated variant tester has no joy
with any of:

%os%/Users/JDAW/Documents/programming/PostScript/whatever.ps
~%os%/Users/JDAW/Documents/programming/PostScript/whatever.ps
.%os%/Users/JDAW/Documents/programming/PostScript/whatever.ps
/%os%/Users/JDAW/Documents/programming/PostScript/whatever.ps
~/%os%/Users/JDAW/Documents/programming/PostScript/whatever.ps
./%os%/Users/JDAW/Documents/programming/PostScript/whatever.ps
../%os%/Users/JDAW/Documents/programming/PostScript/whatever.ps
Users/JDAW/Documents/programming/PostScript/whatever.ps
~Users/JDAW/Documents/programming/PostScript/whatever.ps
.Users/JDAW/Documents/programming/PostScript/whatever.ps
/Users/JDAW/Documents/programming/PostScript/whatever.ps
~/Users/JDAW/Documents/programming/PostScript/whatever.ps
./Users/JDAW/Documents/programming/PostScript/whatever.ps
../Users/JDAW/Documents/programming/PostScript/whatever.ps
JDAW/Documents/programming/PostScript/whatever.ps
~JDAW/Documents/programming/PostScript/whatever.ps
.JDAW/Documents/programming/PostScript/whatever.ps
/JDAW/Documents/programming/PostScript/whatever.ps
~/JDAW/Documents/programming/PostScript/whatever.ps
./JDAW/Documents/programming/PostScript/whatever.ps
../JDAW/Documents/programming/PostScript/whatever.ps
Documents/programming/PostScript/whatever.ps
~Documents/programming/PostScript/whatever.ps
.Documents/programming/PostScript/whatever.ps
/Documents/programming/PostScript/whatever.ps
~/Documents/programming/PostScript/whatever.ps
./Documents/programming/PostScript/whatever.ps
../Documents/programming/PostScript/whatever.ps
programming/PostScript/whatever.ps
~programming/PostScript/whatever.ps
.programming/PostScript/whatever.ps
/programming/PostScript/whatever.ps
~/programming/PostScript/whatever.ps
./programming/PostScript/whatever.ps
../programming/PostScript/whatever.ps
PostScript/whatever.ps
~PostScript/whatever.ps
.PostScript/whatever.ps
/PostScript/whatever.ps
~/PostScript/whatever.ps
./PostScript/whatever.ps
../PostScript/whatever.ps
whatever.ps
~whatever.ps
.whatever.ps
/whatever.ps
~/whatever.ps
./whatever.ps
../whatever.ps

GoodPathsNum = 0
+pstack
-pstack
Re: File-path format for 'run' operator
#217
Author: Jeffrey H. Coffield
Date: Mon, 21 Sep 2009 21:45
24 lines
2325 bytes

jdaw1 wrote:
>> I tried a few things on my wife's Mac and found that you need to start a
>> file name with something like "%os%/Users/tammy" but the Preview app
>> appeared to only see files in /Users/tammy/Library/Fonts.
> 
> Please, is the "os" in that a variable name (in which case replaced
> with what?), or a literal? My semi-automated variant tester has no joy
> with any of:
> 
> %os%/Users/JDAW/Documents/programming/PostScript/whatever.ps

The "%os%" is a literal. See section 3.8.2 in the PostScript Language
Reference Manual.

I used (%os%/Users/Tammy/*) as a template in filenameforall but it
only showed files like %os%/Users/tammy/Library/Fonts/xys.TTF so the Mac
may be limiting what files are allowed to be "run". I don't have
Ghostscript installed there so it's just the Preview app that will
convert a ps to a pdf to display it.


Jeff
Re: File-path format for 'run' operator
#218
Author: Helge Blischke
Date: Sun, 10 Jan 2010 14:25
15 lines
1304 bytes
jdaw1 wrote:

> For the first time since upgrading to Mac OS X, I need to use the
> PostScript run operator. But run just can't find the file. Please, how
> should I write the path for a file located at:
> HD_JDAW/Users/JDAW/Documents/programming/PostScript/whatever.ps?
> 
> Many variations of ".", "/" and "~" have been tested, all to no
> effect. Please, for Adobe Distiller 8.1.3 (23/10/2006), how should
> this path be written?

If the issue is still open, try to prepend "/Volumes/" to your path unless 
HD_JDAW is your boot disk.

Helge
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads