Error /undefinedfilename In
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more
Ghostscript Error /undefined In
about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges ps2pdf undefinedfilename Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each ghostscript command line other. Join them; it only takes a minute: Sign up Ghostscript unrecoverable error undefinedfilename up vote 0 down vote favorite 2 PROBLEM On many sites are trying to explain it, but error message is pretty unclear. In my case I had a lot of pdf files to merge and for some reason one file was big problem. Ghostscript unrecoverable error undefinedfilename syntax-error ghostscript solution share|improve this question edited Mar 26 '15 at 11:38 asked Aug 24 '13 at 0:00 Bruno Garett 1,83321626 add a comment| 2 Answers 2 active oldest votes up vote 2 down vote I received the same error by neglecting the dash before dBATCH. So gs dBATCH ... instead of gs -dBATCH ... share|improve this answer answered Aug 27 '14 at 21:09 Reid Evans 531513 super thank you –Bruno Garett Sep 2 '14 at 0:38 add a comment| up vote 1 down vote accepted SOLUTION If you got this message then merge files with asterix gs -sDEVICE=pdfwrite -dBATCH -dNOPAUSE -dQUIET -dSAFER -sOutputFile=out.pdf *.pdf If out.pdf is OK It means "your file path or file does not exist". Now is the message "undefinedfilename" already clear. share|improve this answer edited Mar 26 '15 at 11:39 answered Aug 24 '13 at 0:00 Bruno Garett 1,83321626 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged syntax-error ghostscript solution or ask your own question. asked 3 years ago viewed 4682 times active 1 year ago Related 9What does this Ghostscript error message mean?1Ghostscript 9.06 error0ghostscript DejaVu font error2Ghostscript error limitcheck in string0Ghostscript execution error on server1Ghostscript: “Unrecoverable error: undefinedfilename in setpagedevice”0What does this Ghostscript unrecoverable error means?1Error with GhostScript and ImageMagick in Centos 6h0Ghostscript: Stack Underflow Error0How to detect if there was a error in ghostscript Hot Network Questions
in your last search results. Bug695184 - Error: /undefinedfilename Summary: Error: /undefinedfilename Status: RESOLVED WORKSFORME Product: Ghostscript Classification: Unclassified Component: PDF Interpreter Version: 9.14 Hardware: PC Windows 7 Importance: P4 normal Assigned To: Ken Sharp QA Contact: Bug traffic URL: Keywords: Depends on: Blocks: Show dependency tree /graph Reported: 2014-04-24 02:07 PDT by Harry McKame Modified: 2014-04-24 07:18 PDT (History) CC List: 1 user (show) chris.liddell See Also: Customer: Word Size: --- Attachments PDF file with problem (4.26 MB, http://stackoverflow.com/questions/18413542/ghostscript-unrecoverable-error-undefinedfilename application/pdf) 2014-04-24 02:07 PDT, Harry McKame Details screen capture of error message (40.52 KB, image/jpeg) 2014-04-24 02:08 PDT, Harry McKame Details View All Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Harry McKame 2014-04-24 02:07:37 PDT Created attachment 10849 [details] PDF file with problem The http://bugs.ghostscript.com/show_bug.cgi?id=695184 attached PDF file file works fine without parameters by causes "Error: /undefinedfilename" when run with the following parameters : "C:\Program Files (x86)\gs\gs9.14\bin\gswin32.exe" "-IC:\Program Files (x86)\gs\gs9.14\lib;C:\Program Files (x86)\gs\gs9.14\fonts" -dNOPAUSE -dBATCH -dSAFER -sDEVICE=jpeg -dEPSCrop -f -q -dTextAlphaBits=4 -dUseCropBox -dDOINTERPOLATE -sOutputFile="%%d.jpg" "Michelin_Dossier de Presse_Commémorations Guerre 14-18.pdf" PDF file and screen capture are attached. Comment 1 Harry McKame 2014-04-24 02:08:21 PDT Created attachment 10850 [details] screen capture of error message Comment 2 Ken Sharp 2014-04-24 04:26:35 PDT It would help a lot if you could try cutting down the parameters to just those which cause a problem. You have specified -dEPSCrop and -dUseCropBox, which doesn't make sense. EPSCrop isn't going to have any effect with a PDF input file, and you shouldn't try to specify multiple crops anyway. You have specified two '%' characters in the -sOutputFile, this will escape the second '%' and cause the output to be written to a single file called '%d.jpg' which almost certainly isn't what you want. You have specified -f without a preceding -c so it has no effect. You don't need to supply these parameters : "-IC:\Program Files (x86)\gs\gs9.14\lib;C:\Program F
to you by: cliddell, marcosw, milesjones, rayjj Summary Files Reviews Support Wiki Tickets ▾ Feature Requests Support Requests https://sourceforge.net/p/ghostscript/discussion/5451/thread/6ca11900/ Patches News Discussion Code Create Topic Stats Graph Forums Help https://www.prepressure.com/postscript/troubleshooting/errors/undefinedfilename 744 Open Discussion 185 Help Formatting Help "undefinedfilename" error wi... Forum: Open Discussion Creator: Anonymous Created: 2011-04-26 Updated: 2013-03-21 Anonymous - 2011-04-26 Hi to everybody. I'm an italian boy who like visual basic .net development and I speak/write english error /undefined not very well, so I hope you forgive me for this "problem". I'm developing an application that check how many pages are written in a PDF document using the gsdll64.dll library (version 9.02 but I found the same problem just with the 8.70 version). When i execute this command error /undefinedfilename in using API: -o nul -sDEVICE=nullpage "C:\New_folder\01 test.pdf" or -dBATCH -dNOPAUSE -sDEVICE=nullpage "C:\New_folder\01 test.pdf" or -o nul -sDEVICE=nullpage "C:/New_folder/01 test.pdf" or -dBATCH -dNOPAUSE -sDEVICE=nullpage "C:/New_folder/01 test.pdf" … I obtain the following output: ------- START: OUTPUT FROM GSDLL64.DLL ------- GPL Ghostscript 9.02 (2011-03-30) Copyright (C) 2010 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedfilename in ("C:\\New_folder\\01) Operand stack: Execution stack: %interp_exit .runexec2 -nostringval- -nostringval- -nostringval- 2 %stopped_push -nostringval- -nostringval- -nostringval- false 1 %stopped_push Dictionary stack: -dict:1154/1684(ro)(G)- -dict:0/20(G)- -dict:77/200(L)- Current allocation mode is local Last OS error: No such file or directory GPL Ghostscript 9.02: Unrecoverable error, exit code 1 ------- END: OUTPUT FROM GSDLL64.DLL ------- I can't understand if I send an incorrect "script". I cannot find nothing about escape chars to use in string path with whitespaces. Thanks in advance for any suggestio
does not exist or because the path pointing to it is incorrect. This type of error usually points to a programming error. Solutions Reinstall the RIP software - possibly a file got corrupted or some data were deleted. Contact the supplier of your RIP or printer for a solution. There may be an update available that solves this problem. 9 August 2013 Comments Off on PostScript error: undefinedfilename Comments are closed. Navigation Home Design Basics Troublefree Output Troubleshoot InDesign Prepress Workflow Systems Prepress History Printing Printed Products Printing Industry Printing Processes History of Printing Printing Museums Finishing Folding Perfect Binding Printing Dictionary A – ‘A2′ to ‘azure’ B – ‘back lining’ to ‘byline’ C – ‘C1S’ to ‘cyan’ D – ‘Dagger’ to ‘Dye’ E – ‘E-13B’ to ‘extension’ F – ‘face’ to ‘fuzzy font’ G – ‘GAA’ to ‘gutter’ H – ‘hairline’ to ‘hyphen’ I – ‘IBC’ to ‘ivory board’ J – ‘jacket’ to ‘justify’ K – ‘kanji’ to ‘KS/KSSM’ L – ‘L*A*B’ to ‘LZW’ M – ‘Mac’ to ‘M weight’ N – ‘nameplate’ to ‘#’ O – ‘OBC’ to ‘Ozalid’ P – ‘packing’ to ‘pyroxylin’ Q – ‘QC’ to ‘quire’ R – ‘ragged’ to ‘runout’ S – ‘saddle’ to ‘Syquest’ T – ‘tabloid’ to ‘typo’ U – ‘UCA’ to ‘UV’ V – ‘vacuum’ to ‘VRML’ W – ‘W&B’ to ‘WYSIWYG’ X – ‘X.25′ to ‘xylography’ Y – ‘YAG’ to ‘YMCK’ Z – ‘z-axis’ to ‘zymurgy’ Fonts Font Basics History Of Fonts Interesting Typefaces Most Hated Fonts PostScript PostScript Basics PostScript Errors History Of PostScript PDF PDF Basics History Of PDF JDF JDF Basics Implementing JDF History of JDF Library File Formats Compression Algorithms Paper Sizes QR Codes RAID Storage Blog Rants Reviews Tips & Tricks Photography Polls About 2010 Archive 2011 Archive 2012 Archive 2013 Archive 2014 Archive 2015 Archive Related Pages Troubleshooting PostScript errors Popular Pages PDF Editing PDF Metadata PDF Page Boxes Preflight PDF Files Paper Sizes EPS File Format Bitmap versus Vector Page Bleed QR Codes RAID 0, 1, 5, 6 & 10 About Prepressure is my notebook about prepress, printing and publishing. It covers PDF, fonts, file formats, design and anything else that catches my interest. Thanks for visiting! Polls Who processes data for offset and digital printing? The same prepress operators handle both Sepa