Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Werkzeuge (https://www.delphipraxis.net/63-sonstige-werkzeuge/)
-   -   GhostScript - ErrorCodes Liste (https://www.delphipraxis.net/205369-ghostscript-errorcodes-liste.html)

haentschman 2. Sep 2020 13:18

GhostScript - ErrorCodes Liste
 
Hallöle...8-)

Ich habe sporadisch, an nur 2 Arbeitsplätzen, daß das Ausführen der Verkleinerung eines PDF schiefläuft. :evil:

Wo finde ich eine Liste der Errorcodes für das INIT der Version 9.27 oder allgemein?

Hinweis: Mit der aktuellen Version funktioniert das mit den erprobten Parametern nicht. Da ist irgendwas umgestellt...:? Wenn ich mal Zeit habe...:wink:

KodeZwerg 2. Sep 2020 14:35

AW: GhostScript - ErrorCodes Liste
 
Hilft Dir folgender Link weiter?
return_codes
Zitat:

Return codes
The gsapi_init_with_args, gsapi_run_* and gsapi_exit functions return an integer code.

Return Codes from gsapi_*()
CODE STATUS
0 No errors
gs_error_Quit "quit" has been executed. This is not an error. gsapi_exit() must be called next.
gs_error_interrupt The polling callback function returned a negative value, requesting Ghostscript to abort.
gs_error_NeedInput More input is needed by gsapi_run_string_continue(). This is not an error.
gs_error_Info "gs -h" has been executed. This is not an error. gsapi_exit() must be called next.
< 0 Error
<= gs_error_Fatal Fatal error. gsapi_exit() must be called next.
The gsapi_run_*() functions do not flush stdio. If you want to see output from Ghostscript you must do this explicitly as shown in the example below.

When executing a string with gsapi_run_string_*(), currentfile is the input from the string. Reading from %stdin uses the stdin callback.

haentschman 2. Sep 2020 14:47

AW: GhostScript - ErrorCodes Liste
 
Danke. :P
Diese Seiten kann ich schon fast auswendig. :stupid:

Aber was bedeutet z.B. Error -10 (oder ähnlich)? Diese Liste wäre interessant.

mmw 2. Sep 2020 16:23

AW: GhostScript - ErrorCodes Liste
 
hallo,

vielleicht ist das hier was

https://fossies.org/linux/ghostscript/base/gserrors.h

gruß

haentschman 3. Sep 2020 04:11

AW: GhostScript - ErrorCodes Liste
 
Moin...8-)

:cheers: Danke...


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:08 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz