AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

GhostScript - ErrorCodes Liste

Ein Thema von haentschman · begonnen am 2. Sep 2020 · letzter Beitrag vom 3. Sep 2020
Antwort Antwort
Benutzerbild von haentschman
haentschman

Registriert seit: 24. Okt 2006
Ort: Seifhennersdorf / Sachsen
5.292 Beiträge
 
Delphi 12 Athens
 
#1

GhostScript - ErrorCodes Liste

  Alt 2. Sep 2020, 13:18
Hallöle...

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

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...
  Mit Zitat antworten Zitat
Benutzerbild von KodeZwerg
KodeZwerg

Registriert seit: 1. Feb 2018
3.685 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: GhostScript - ErrorCodes Liste

  Alt 2. Sep 2020, 14:35
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.
Gruß vom KodeZwerg
  Mit Zitat antworten Zitat
Benutzerbild von haentschman
haentschman

Registriert seit: 24. Okt 2006
Ort: Seifhennersdorf / Sachsen
5.292 Beiträge
 
Delphi 12 Athens
 
#3

AW: GhostScript - ErrorCodes Liste

  Alt 2. Sep 2020, 14:47
Danke.
Diese Seiten kann ich schon fast auswendig.

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

Registriert seit: 10. Sep 2019
Ort: OWL
322 Beiträge
 
Delphi 11 Alexandria
 
#4

AW: GhostScript - ErrorCodes Liste

  Alt 2. Sep 2020, 16:23
hallo,

vielleicht ist das hier was

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

gruß
  Mit Zitat antworten Zitat
Benutzerbild von haentschman
haentschman

Registriert seit: 24. Okt 2006
Ort: Seifhennersdorf / Sachsen
5.292 Beiträge
 
Delphi 12 Athens
 
#5

AW: GhostScript - ErrorCodes Liste

  Alt 3. Sep 2020, 04:11
Moin...

Danke...
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:43 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