daydreamerです。 > どうやって印刷していらっしゃるのですか。cngplp からですか。 いいえ。コマンドからは印刷していません。ブラウザやアプリケーションに出 てくる「印刷」ボタンを押して印刷しています。 >cups を Vine Seed から入れたとか、tar.gz から入れた > という記憶がありませんか。それとも、Cannon のドライバに含まれて > いたんでしょうか。 まだ印刷ボタンからも印刷出来なかったとき、一度、http://www.cups.org/ のページ右上からダウンロード出来るcups-1.3.9-source.tar.bz2を入れたこと があります。ただそうするとhttp://localhost:631にすらアクセスが出来なく なってしまいました。そのため # synaptic で「cups」と検索してアンインストールして、 # apt-get install cups* でcupsを入れ直しました。 > ls -l /usr/bin/lpr > > を実行してみてください。 実行してみると、以下のように表示されました。 -rwxr-xr-x 1 root root 66965 2月27日 13:40 /usr/bin/lpr* Vine 4.2 のものなら、こんなふうにリンクに > なるはずです。 > > $ ls -l /usr/bin/lpr > lrwxrwxrwx 1 root root 23 2007-01-20 19:32 /usr/bin/lpr -> /etc/alternatives/print > 上記のようになっていません…。apt-getでcupsを入れ直しても、Vine 4.2 の ものとはみなされないんでしょうか? > a2ps と mpage は使い方がすこし違います。目下、プリンタがインク > 切れなので、実際に動かして確かめられないのですが、こんなふうに > するのだと思います。 > > a2ps sample.txt (デフォルトのプリンタへ出力) > a2ps -o - sample.txt | lpr (パイプを使うなら) > $ a2ps sample.txt をやってみましたが、印刷出来ませんでした。以下、エラー内容の一部を掲載 します(非常に長文のため、エラー内容が画面に全部はおさまりませんでした)。 --- ここからエラー内容の一部の転載開始 --- /slantfont { % FontName slant-degree slantfont font' exch findfont 1 copyfont begin [ 1 0 4 -1 roll 1 0 0 ] FontMatrix exch matrix concatmatrix /FontMatrix exch def currentdict end } def % Function print line number (<string> # -) /# { gsave sx cw mul neg 2 div 0 rmoveto f# setfont c-show grestore } bind def % -------- Some routines to enlight plain b/w printings --------- % Underline % width -- /dounderline { currentpoint gsave moveto 0 currentfont /Descent get currentfontsize mul rmoveto 0 rlineto stroke grestore } bind def % Underline a string % string -- /dounderlinestring { stringwidth pop dounderline } bind def /UL { /ul exch store } bind def % Draw a box of WIDTH wrt current font % width -- /dobox { currentpoint gsave newpath moveto 0 currentfont /Descent get currentfontsize mul rmoveto dup 0 rlineto 0 currentfont /FontHeight get currentfontsize mul rlineto neg 0 rlineto closepath stroke grestore } bind def /BX { /bx exch store } bind def % Box a string % string -- /doboxstring { stringwidth pop dobox } bind def % % ------------- Color routines --------------- % /FG /setrgbcolor load def % Draw the background % width -- /dobackground { currentpoint gsave newpath moveto 0 currentfont /Descent get currentfontsize mul rmoveto dup 0 rlineto 0 currentfont /FontHeight get currentfontsize mul rlineto neg 0 rlineto closepath bgcolor aload pop setrgbcolor fill grestore } bind def % Draw bg for a string % string -- /dobackgroundstring { stringwidth pop dobackground } bind def /BG { dup /bg exch store { mark 4 1 roll ] /bgcolor exch store } if } bind def /Show { bg { dup dobackgroundstring } if ul { dup dounderlinestring } if bx { dup doboxstring } if show } bind def % Function T(ab), jumps to the n-th tabulation in the current line /T { cw mul x0 add bg { dup currentpoint pop sub dobackground } if ul { dup currentpoint pop sub dounderline } if bx { dup currentpoint pop sub dobox } if y0 moveto } bind def % Function n: move to the next line /n { /y0 y0 bfs sub store x0 y0 moveto } bind def % Function N: show and move to the next line /N { Show /y0 y0 bfs sub store x0 y0 moveto } bind def /S { Show } bind def %%BeginResource: procset a2ps-a2ps-hdr 2.0 2 %%Copyright: (c) 1988, 89, 90, 91, 92, 93 Miguel Santana %%Copyright: (c) 1995, 96, 97, 98 Akim Demaille, Miguel Santana % Function title: prints page header. % <ct> <rt> <lt> are passed as argument /title { % 1. Draw the background x v get y v get moveto gsave 0 th 2 div neg rmoveto th setlinewidth 0.95 setgray pw 0 rlineto stroke grestore % 2. Border it gsave 0.7 setlinewidth pw 0 rlineto 0 th neg rlineto pw neg 0 rlineto closepath stroke grestore % stk: ct rt lt x v get y v get th sub 1 add moveto %%IncludeResource: font Helvetica fHelvetica fnfs 0.8 mul scalefont setfont % 3. The left title gsave dup stringwidth pop fnfs 0.8 mul add exch % leave space took on stack fnfs 0.8 mul hm rmoveto show % left title grestore exch % stk: ct ltw rt % 4. the right title gsave dup stringwidth pop fnfs 0.8 mul add exch % leave space took on stack dup pw exch stringwidth pop fnfs 0.8 mul add sub hm rmoveto show % right title grestore % stk: ct ltw rtw % 5. the center title gsave pw 3 1 roll % stk: ct pw ltw rtw 3 copy % Move to the center of the left room sub add 2 div hm rmoveto % What is the available space in here? add sub fnfs 0.8 mul sub fnfs 0.8 mul sub % stk: ct space_left %%IncludeResource: font Helvetica-Bold fHelvetica-Bold fnfs scalefont setfont cfshow grestore } bind def % Function border: prints virtual page border /border { %def gsave % print four sides 0 setgray x v get y v get moveto 0.7 setlinewidth % of the square pw 0 rlineto 0 ph neg rlineto pw neg 0 rlineto closepath stroke grestore } bind def % Function water: prints a water mark in background /water { %def gsave scx scy moveto rotate %%IncludeResource: font Times-Bold fTimes-Bold 100 scalefont setfont .97 setgray dup stringwidth pop 2 div neg -50 rmoveto show grestore } bind def % Function rhead: prints the right header /rhead { %def lx ly moveto fHelvetica fnfs 0.8 mul scalefont setfont l-show } bind def % Function footer (cf rf lf -> -) /footer { fHelvetica fnfs 0.8 mul scalefont setfont dx dy moveto show snx sny moveto l-show fnx fny moveto c-show } bind def %%EndResource %%BeginResource: procset a2ps-black+white-Prolog 2.0 1 % Function T(ab), jumps to the n-th tabulation in the current line /T { cw mul x0 add y0 moveto } bind def % Function n: move to the next line /n { %def /y0 y0 bfs sub store x0 y0 moveto } bind def % Function N: show and move to the next line /N { Show /y0 y0 bfs sub store x0 y0 moveto } bind def /S { Show } bind def /p { false UL false BX fCourier bfs scalefont setfont Show } bind def /sy { false UL false BX fSymbol bfs scalefont setfont Show } bind def /k { false UL false BX fCourier-Oblique bfs scalefont setfont Show } bind def /K { false UL false BX fCourier-Bold bfs scalefont setfont Show } bind def /c { false UL false BX fCourier-Oblique bfs scalefont setfont Show } bind def /C { false UL false BX fCourier-BoldOblique bfs scalefont setfont Show } bind def /l { false UL false BX fHelvetica bfs scalefont setfont Show } bind def /L { false UL false BX fHelvetica-Bold bfs scalefont setfont Show } bind def /str{ false UL false BX fTimes-Roman bfs scalefont setfont Show } bind def /e{ false UL true BX fHelvetica-Bold bfs scalefont setfont Show } bind def %%EndResource %%EndProlog %%BeginSetup %%IncludeResource: font Courier %%IncludeResource: font Courier-Oblique %%IncludeResource: font Courier-Bold %%IncludeResource: font Times-Roman %%IncludeResource: font Symbol %%IncludeResource: font Courier-BoldOblique %%BeginResource: encoding EUC-JPEncoding /EUC-JPEncoding [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /minus /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O /P /Q /R /S /T /U /V /W /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o /p /q /r /s /t /u /v /w /x /y /z /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /bullet /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis ] def %%EndResource % Initialize page description variables. /sh 595 def /sw 842 def /llx 24 def /urx 818 def /ury 571 def /lly 24 def /#copies 1 def /th 15.000000 def /fnfs 11 def /bfs 8.005733 def /cw 4.803440 def % Dictionary for EUC-JP support /euc-jpdict 18 dict begin /fCourier EUC-JPEncoding /Courier reencode_font /fCourier-Bold EUC-JPEncoding /Courier-Bold reencode_font /fCourier-BoldOblique EUC-JPEncoding /Courier-BoldOblique reencode_font /fCourier-Oblique EUC-JPEncoding /Courier-Oblique reencode_font /fHelvetica EUC-JPEncoding /Helvetica reencode_font /fHelvetica-Bold EUC-JPEncoding /Helvetica-Bold reencode_font /fTimes-Bold EUC-JPEncoding /Times-Bold reencode_font /fTimes-Roman EUC-JPEncoding /Times-Roman reencode_font /Ryumin-Light-EUC-H-Italic /Ryumin-Light-EUC-H 0.200000 slantfont definefont pop /GothicBBB-Medium-EUC-H-Italic /GothicBBB-Medium-EUC-H 0.200000 slantfont definefont pop /fCourier /fCourier /Ryumin-Light-EUC-H 1.100000 0.000000 false compositefont 0.909091 scalefont def /fCourier-Bold /fCourier-Bold /GothicBBB-Medium-EUC-H 1.100000 0.000000 false compositefont 0.909091 scalefont def /fCourier-BoldOblique /fCourier-BoldOblique /GothicBBB-Medium-EUC-H-Italic 1.100000 0.000000 false compositefont 0.909091 scalefont def /fCourier-Oblique /fCourier-Oblique /Ryumin-Light-EUC-H-Italic 1.100000 0.000000 false compositefont 0.909091 scalefont def /fHelvetica /fHelvetica /GothicBBB-Medium-EUC-H 1.100000 0.000000 false compositefont 0.909091 scalefont def /fHelvetica-Bold /fHelvetica-Bold /GothicBBB-Medium-EUC-H 1.100000 0.000000 false compositefont 0.909091 scalefont def /fTimes-Bold /fTimes-Bold /GothicBBB-Medium-EUC-H 1.100000 0.000000 false compositefont 0.909091 scalefont def /fTimes-Roman /fTimes-Roman /Ryumin-Light-EUC-H 1.100000 0.000000 false compositefont 0.909091 scalefont def currentdict end def /bgcolor [ 0 0 0 ] def /bg false def /ul false def /bx false def % The font for line numbering /f# /Helvetica findfont bfs .6 mul scalefont def /fSymbol /Symbol findfont def /hm fnfs 0.25 mul def /pw cw 81.400000 mul def /ph 501.959430 th add def /pmw urx llx sub pw 2 mul sub 1 div def /pmh 0 def /v 0 def /x [ 0 dup pmw add pw add ] def /y [ pmh ph add 0 mul ph add dup ] def /scx sw 2 div def /scy sh 2 div def /snx urx def /sny lly 2 add def /dx llx def /dy sny def /fnx scx def /fny dy def /lx snx def /ly ury fnfs 0.8 mul sub def /sx 0 def /tab 8 def /x0 0 def /y0 0 def %%EndSetup %%Page: (1) 1 %%BeginPageSetup /pagesave save def sh 0 translate 90 rotate %%EndPageSetup euc-jpdict begin gsave llx lly 12 add translate /v 0 store /x0 x v get 3.362408 add sx cw mul add store /y0 y v get bfs th add sub store x0 y0 moveto (sample) p n (sample.txt) (1/1 \245\332\241\274\245\270) (09\307\257 3\267\356 1\306\374 21:18) title border grestore (\245\346\241\274\245\266\314\276: ) rhead (sample.txt) (1/1) (2009\307\257 3\267\356 2\306\374 \267\356\315\313\306\374) footer end % of euc-jpdict pagesave restore showpage %%Trailer end %%EOF [合計: 1ページ, 1シート] 標準出力へ転送します --- ここまででエラー内容の一部の転載終了 --- lprもa2psコマンド使えなくて、不安になってきました。 daydreamer -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/