🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.postscript.programming
2 messages
2 total messages Started by florian fery-chamboissier Tue, 28 Oct 2003 02:49
basic question about writing in an extern file
#714
Author: florian fery-chamboissier
Date: Tue, 28 Oct 2003 02:49
9 lines
1158 bytes
Hi,
I tryed to find a solution on a lot of tutorials or others tips on internet...
My question is really simple :
I want to create a new file with a lot of data of the original ps file (especially some currentpoints).
So my fonction for checking the data is ok but i can not write on another file. It says to me that i have a problem of Invalidaccessfile.
I'm working on a pc running with linux and mandrake for os, and the command ps2pdf...
I've, of course give all the right to the file written...

Can you help me ?
Re: basic question about writing in an extern file
#715
Author: Marc_Antoni_Malagarriga_i_Picas
Date: Tue, 28 Oct 2003 08:08
12 lines
1068 bytes
Hi Florian,

This *invalidfileaccess* means a restriction inside the Ghostscript environment during the *ps2pdf* execution. Look the GS parameters '-dNOSAFER' and '-dSAFER' or the specific '.setsafe' GS/PS call.

Or start the Ghostscript with -dNOSAFER, e voila!

Hope this helps,

... MaRC anToni
(][ www.femfum.com
PostScript&PDF Tool Developers
Desenvolupadors d'Eines PostScript i PDF
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