Error Configuration Error Offending Command Setpagedevice
Contents |
command. Each term is linked to a page with more detailed setpagedevice example information and possible work-arounds. It may be worthwhile to
Postscript Setpagedevice Example
check both the error message and the command that caused the error to appear. If
Offending Command Image
you are not entirely sure which PostScript error you encountered, first read this page. If you encountered an error that is not listed and
Error Undefined Offending Command Stack
managed to find more information about it, please add a comment about it to this page. Thanks! / 3.31 -4100 -8133 -8993 8BPS A A4tray addglyph AGMCORE_gstack aldusdict2 aload ashow awidthshow B banddevice bdef bitspercomponent buildchar C CCRun charpath clip colorimage configurationerror ct_cffdict cs(PDF) CT_T3HdrDICT currentpoint curveto D DCTdecodefilter error syntax error offending command stack def dict dictfull dictstackoverflow dictstackunderflow div do(PDF) E end endcidrange eoclip eofill EPS_Dict exch exec execstackoverflow F featurecleanup fhiscomposite fill filter filtered ruling findfont flxproc FMc FmPD FmPD2 FmPA fontsave forall framedevice G get getinterval gsave H handleerror havefont I image imagedistiller imagemask index inf interrupt invalidaccess invalidcontext invalidexit invalidfileaccess invalidfont invalidid invalidrestore interrupt ioerror ISOLatin1Encoding itransform K kshow L limitcheck Is2016andT32? lineto lipping M makeblendedfont makefont md mmxpr3 moveto MSTT
setpagedevice STACK: –nostringval– … the problem is probably https://www.prepressure.com/postscript/troubleshooting/errors that your PDF has a certain page size (let’s say letter) but your printer expects another (let’s say A4). Check your printer settings https://lbolla.info/blog/2012/09/13/errors-printing-pdfs-with-cups and your PDf (with lpinfo pdffile) to verify. If this is the case, print with this command instead: lp -o fit-to-page pdffile September 13, 2012 81 words Categories programming Tags cups Contact me Hi! I'm Lorenzo Bolla, Senior Software Architect in London, UK. When I'm not programming in Python, Elixir, Go or Haskell, I am playing either basketball, piano or chess. © Enthusiastic Hugo User 2014 Built with Hugo
BMO. For more details see Persona Deprecated. Last Comment Bug283437 - [Postscript] If the page size is not set correctly, there will be a PostScript error "configurationerror" https://bugzilla.mozilla.org/show_bug.cgi?id=283437 Summary: [Postscript] If the page size is not set correctly, there will be a PostScrip... Status: RESOLVED INVALID Whiteboard: Keywords: Product: Core Classification: Components Component: Printing: Output (show other bugs) Version: Trunk Platform: x86 Linux Importance: -- normal (vote) TargetMilestone: --- Assigned To: Leon Sha QA Contact: TriageOwner: Jet Villegas (:jet) Mentors: URL: Depends on: Blocks: Show dependency tree /graph Reported: 2005-02-24 02:26 PST by Leon offending command Sha Modified: 2006-04-29 01:30 PDT (History) CC List: 3 users (show) jsmeix kherron+mozilla roc See Also: Crash Signature: (edit) QA Whiteboard: Iteration: --- Points: --- Has Regression Range: --- Has STR: --- Tracking Flags: Attachments Patch (1.29 KB, patch) 2005-02-24 02:32 PST, Leon Sha kherron+mozilla: review+ roc: superreview+ Details | Diff | Splinter Review Patch with kherron+mozilla's comments. (1.25 KB, patch) 2005-02-27 22:15 PST, Leon Sha roc: superreview+ Details error offending command | Diff | Splinter Review Use (<<) cvx exec to replace << (1.20 KB, patch) 2005-03-08 02:38 PST, Leon Sha no flags Details | Diff | Splinter Review Patch with kherron+mozilla's comments. (1.34 KB, patch) 2005-03-09 00:26 PST, Leon Sha kherron+mozilla: review+ roc: superreview+ Details | Diff | Splinter Review Show Obsolete (1) View All Add an attachment (proposed patch, testcase, etc.) Description Leon Sha 2005-02-24 02:26:20 PST If the page size is not set correctly, there will be a PostScript error "configurationerror" ERROR: configurationerror OFFENDING COMMAND: setpagedevice. STACK: -dictionary- Comment 1 Leon Sha 2005-02-24 02:32:58 PST Created attachment 175413 [details] [diff] [review] Patch I use "<<" here. This is a postscript level 2 operator. But If the postscript interpreters only support level 1, it will not have "setpagedevice". This part of postscript code will not be used by postscript level 1 interpreters. Comment 2 Kenneth Herron 2005-02-27 16:29:06 PST Comment on attachment 175413 [details] [diff] [review] Patch > // Tell the printer what size paper it should use > fprintf(f, > "/setpagedevice where\n" // Test for the feature >- "{ pop 1 dict\n" // Set up a dictionary >- " dup /PageSize [ %s %s ] put\n" // Paper dimensions >- " setpage