初歩的な質問で恐縮ですが、cups の設定がうまくゆかずにこまっています。 どなたかアドバイスをお願いいたします。
環境: FreeBSD-current cups 1.2.7 Printer: Canon LPW5400 ppd: Canon-LIPS-IVv-lips4vc.ppd 状況: **** Unable to open the initial device, quitting というエラーが出てプリントが出来無い。他に手元にプリンターが無いので、他には試していません。また、全てportでinstallしています。 foomatic-rip/gswrapper のdebugを見ると、下のように stdout が死んでる様なのですが、何故?かが分かりません。 google してみたのですが、同じようなレポートは有るのですが、明確な解決策が見当たらない-パスが通ってない等ー ので、質問しました。 ============ /tmp/foomatic-rip 抜粋 ================== foomatic-rip version $Revision: 3.43.2.6 $ running... called with arguments: '12', 'root', 'Test Page', '1', 'job-uuid=urn:uuid:ca469757 -daf6-3e9a-4ad1-770b126532ac' Parsing PPD file ... *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip" : : : : Parameter Summary ----------------- Spooler: cups Printer: CanonLBP5400 PPD file: /usr/local/etc/cups/ppd/CanonLBP5400.ppd Printer model: Canon LIPS-IVv Foomatic/lips4vc (recommended) Options: job-uuid=urn:uuid:ca469757-daf6-3e9a-4ad1-770b126532ac Job title: Test Page File(s) to be printed: <STDIN> : ::::: ================================================ File: <STDIN> ================================================ Reading PostScript input ... --> This document is DSC-conforming! ----------- Found: %%BeginProlog Found: %%EndProlog ----------- Found: %%BeginSetup : : : : Found: %%EndSetup ----------- New page: 1 1 Inserting option code into "PageSetup" section. Found: %%BeginPageSetup Found: %%EndPageSetup End of page header Stopping search for page header options Found: wheelSize -0.4 mul 0 rlineto % Left side... --> Output goes directly to the renderer now. Starting renderer renderer PID kid4=48650 renderer command: gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=lips4v -dBitsPe rPixel=24 -sOutputFile=- - JCL: <job data> Closing renderer perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = "ja" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). foomatic-gswrapper: gs '-dBATCH' '-dSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=lips4v' '-dBitsPerPixel=24' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 **** Unable to open the initial device, quitting. tee: stdout: Broken pipe tee: stdout: Broken pipe renderer return value: 1 renderer received signal: 1 tail process done writing data to STDOUT KID4 finished KID4 exited with status 0 KID3 exited with status 3 Process dying with "Possible error on renderer command line or PostScript error. C heck options.", exit stat: 3 Possible error on renderer command line or PostScript error. Check options. Renderer exit stat: 3 Renderer process finished Killing process 48649 (KID3) Process dying with "Error closing renderer", exit stat: 3