hi, i am executing foomatic in command line in solaris 10 OS.
bash-3.00# /usr/lib/cups/filter/foomatic-rip 1 1 1 1 "" /Inputfiles_Solaris/staroffice-1.ps > /del Getting input from file /Inputfiles_Solaris/staroffice-1.ps foomatic-rip version $Revision=3.0.2.137$ running... Parsing PPD file ... *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" Added option ColorSpace Added option OptionDuplexUnit Added option PaperSourceUnit Added option FinishUnit Added option NumCopies Added option PageSize Added option PageRegion Added option ImageableArea Added option PaperDimension Added option PSPageSize Added option PCLPageSize Added option PJLPageSize Added option MediaType Added option InputSlot Added option PCLInputSlot Added option PJLInputSlot Added option Duplex Added option PJLBinding Added option PJLDuplex Added option FrontGutter Added option BackGutter Added option Economode Added option Resolution Added option DensityBias Added option Collate Added option Outputbin Added option Finishing Added option Staple Added option Punch Added option PSwmExec Added option PSwmText Added option PSwmFont Added option WMFontSize Added option WMTextAngle Added option WMTextStyle Added option WMTextShading Added option PSwmLocation Added option Font Parameter Summary ----------------- Spooler: cups Printer: Muratec-MFX3000PCL5e-ljet4 Shell: /bin/bash PPD file: /binaries/Muratec-MFX3000PCL5e-ljet4.ppd ATTR file: Printer model: Muratec MFX-3000 PCL5e Foomatic/ljet4 Job title: 1 File(s) to be printed: /Inputfiles_Solaris/staroffice-1.ps ================================================ File: /Inputfiles_Solaris/staroffice-1.ps ================================================ Reading PostScript input ... --> This document is DSC-conforming! ----------- Found: %%BeginProlog Found: %%EndProlog ----------- Found: %%BeginSetup Found: %%EndSetup Inserting PostScript code for CUPS' page accounting ----------- New page: 1 1 Found: %%BeginPageSetup Inserting option code into "PageSetup" section. Found: %%BeginFeature: *PageSize A4 Option: PageSize=A4 --> Setting option Found: %% FoomaticRIPOptionSetting: PageSize=A4 Option: PageSize=A4 --> Setting option Found: %%BeginFeature: *InputSlot Auto Option: InputSlot=Auto --> Setting option Found: %% FoomaticRIPOptionSetting: InputSlot=Auto Option: InputSlot=Auto --> Setting option Found: %%EndPageSetup End of page header Stopping search for page header options Found: 155 262 2 1 psp_imagedict image --> Output goes directly to the renderer now. Starting renderer renderer PID kid4=922 renderer command: gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=ljet4 -r600x600 -sOutputFile=- - | perl -p -0033 -e " s/^&l\d+[hH]/&l7H/; " | perl -p -0033 -e " s/^&l\d+[aA]/&l26A/; " | perl -p -0033 -e " s/^&l\d+[xX]/&l1X/; " | perl -p -e 'if (! $did) { s/\x1B/\x1B\x25\x2D12345X\x40PJL SET COPIES=1\x0A\x40PJL ENTER LANGUAGE = PCL\x0A\x1B/ && $did++; }' | perl -p -e "s/\x40PJL SET COPIES/\x40PJL SET COPIES/i" Starting process 923: "foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=ljet4 -r600x600 -sOutputFile=- - | ..." JCL: -12345X at PJL @PJL SET PAPER=A4 @PJL SET INTRAY=AUTO @PJL SET FINISH=NONE @PJL SET MEDIATYPE=PLAIN @PJL SET BINDING=LONGEDGE @PJL SET DUPLEX=OFF @PJL SET FRONTGUTTER=0 @PJL SET ECONOMODE=OFF @PJL SET DENSITYBIAS=0 @PJL SET OUTBIN=UPPER <job data> -12345X at PJL RESET foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE' '-sDEVICE=ljet4' '-r600x600' '-sOutputFile=%stdout' '-_' ESP Ghostscript 815.04 (2007-03-14) Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. ERROR: /ioerror in --image-- Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1 3 %oparray_pop Dictionary stack: --dict:1123/1686(ro)(G)-- --dict:1/20(G)-- --dict:119/200(L)-- Current allocation mode is local Last OS error: 2 ESP Ghostscript 815.04: Unrecoverable error, exit code 1 Process 923 ending: "foomatic-gswrapper -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=ljet4 -r600x600 -sOutputFile=- - | ..." tail process done writing data to STDOUT KID4 finished Process dying with "Caught termination signal: Job canceled", exit stat: 0 error: Broken pipe (32) Cleaning up ... Killing process 921 (KID3) with signal 15 Process dying with "Caught termination signal: Job canceled", exit stat: 0 error: Interrupted system call (4) Cleaning up ... Killing process 922 (KID4) with signal 15 Killing process 922 (KID4) with signal 9 Closing foomatic-rip. Killing process 921 (KID3) with signal 9 Caught termination signal: Job canceled Closing foomatic-rip. >>>> foomatic-rip crashes when the file is given to gs... the same file is printing fine with the same command in AIX/Linux. Is it the prob with the postscript interpreter? please check with the attache dfiles. input file is startoffice.. the .ps file which foomatic-rip.ps has got only half data of input file. so when it is given to gs, it crashes. Any suggestion. any help would be appreciated. Thanks, -- This message posted from opensolaris.org