Getting a BJC2100SP to work

Richard Rose richard58 at bigpond.com
Sun Feb 10 15:31:22 EST 2002


On Mon, 4 Feb 2002 22:52, you wrote:
> On Mon, 4 Feb 2002, Richard Rose wrote:
> > > What happened when  you sent plain text to /dev/lp0? Did it give you an
> > > error, or just swallow it? A strace may be useful.
> >
> > No errors, is seemed to just swallow it. Never used strace before.
>
> Well, now's as good a time as any :-)
>
> strace -f -s 8000 -o ~/mystrace cat /etc/passwd > /dev/lp0
>
> man strace will tell you what those options do. They mail hardly any of
> the passwd file to me at all. The -f is habit.
>
Well, I tried doing a strace (the results are attached) and I had a look at 
status.Canon and, as far as I can tell, the printer stuff isn't going through 
GhostScript. Can someone look at the attached files and tell me what I am 
missing and where I should put it. 

My previous efforts to get a printer working under Linux involved a HP 
printer that worked first time straight out of the box, I think I should have 
stuck with HP but my wife convinced me to get the same type of printer she 
had so we could share refills.

Richard R :-)
-------------- next part --------------
IF filter 'mf_wrapper' filter msg - '<</Density 1.000000>>setpagedevice' at 2002-02-09-11:25:08.172 ## A=<NULL> number=377 process=1407
IF filter 'mf_wrapper' filter msg - '<</Brightness 1.000000>>setpagedevice' at 2002-02-09-11:25:08.172 ## A=<NULL> number=377 process=1407
IF filter 'mf_wrapper' filter msg - '<</Saturation 1.000000>>setpagedevice' at 2002-02-09-11:25:08.172 ## A=<NULL> number=377 process=1407
IF filter 'mf_wrapper' filter msg - '<</Contrast 1.000000>>setpagedevice' at 2002-02-09-11:25:08.173 ## A=<NULL> number=377 process=1407
IF filter 'mf_wrapper' filter msg - '<</Cyan 1.000000>>setpagedevice' at 2002-02-09-11:25:08.173 ## A=<NULL> number=377 process=1407
IF filter 'mf_wrapper' filter msg - '<</Magenta 1.000000>>setpagedevice' at 2002-02-09-11:25:08.173 ## A=<NULL> number=377 process=1407
IF filter 'mf_wrapper' filter msg - '<</Yellow 1.000000>>setpagedevice' at 2002-02-09-11:25:08.173 ## A=<NULL> number=377 process=1407
IF filter 'mf_wrapper' filter msg - 'Printer must be specified with -sModel' at 2002-02-09-11:25:08.283 ## A=<NULL> number=377 process=1407
IF filter 'mf_wrapper' filter msg - 'tail process done writing data to *main::STDOUT' at 2002-02-09-11:25:08.335 ## A=<NULL> number=377 process=1407
IF filter 'mf_wrapper' filter msg - 'closing *main::KID3' at 2002-02-09-11:25:08.340 ## A=<NULL> number=377 process=1407
IF filter 'mf_wrapper' filter msg - 'Error closing pipe to gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=stp  -sOutputFile=- - at /usr/share/printconf/util/printconf_mfomatic.pl line 397, <STDIN> line 416.' at 2002-02-09-11:25:08.340 ## A=<NULL> number=377 process=1407
IF filter 'mf_wrapper' filter exit status 'JFAIL' at 2002-02-09-11:25:08.343 ## A=<NULL> number=377 process=1407
printing finished at 2002-02-09-11:25:08.343 ## A=<NULL> number=377 process=1407
accounting at end at 2002-02-09-11:25:08.343 ## A=<NULL> number=377 process=1407
finished 'cfA377richardr.rjr', status 'JFAIL' at 2002-02-09-11:25:08.344 ## A=<NULL> number=377 process=1407
subserver pid 1407 exit status 'JFAIL' at 2002-02-09-11:25:08.344 ## A=<NULL> number=0 process=1378
job 'cfA377richardr.rjr', attempt 3, allowed 3 at 2002-02-09-11:25:08.345 ## A=<NULL> number=377 process=1378
send_failure_action 'JREMOVE' at 2002-02-09-11:25:08.345 ## A=<NULL> number=377 process=1378
job 'cfA377richardr.rjr', removing job - status JREMOVE at 2002-02-09-11:25:08.345 ## A=<NULL> number=377 process=1378
removing job 'cfA377richardr.rjr' - JREMOVE at 2002-02-09-11:25:08.346 ## A=<NULL> number=377 process=1378
-------------- next part --------------
1477  execve("/bin/cat", ["cat", "trace.txt"], [/* 32 vars */]) = 0
1477  uname({sys="Linux", node="richardr.rjr", ...}) = 0
1477  brk(0)                            = 0x804c6a4
1477  open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
1477  open("/etc/ld.so.cache", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=88432, ...}) = 0
1477  old_mmap(NULL, 88432, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
1477  close(3)                          = 0
1477  open("/lib/i686/libc.so.6", O_RDONLY) = 3
1477  read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \306\1\0004\0\0\0\250\274U\0\0\0\0\0004\0 \0\6\0(\0008\0005\0\6\0\0\0004\0\0\0004\0\0\0004\0\0\0\300\0\0\0\300\0\0\0\5\0\0\0\4\0\0\0\3\0\0\0S\26\23\0S\26\23\0S\26\23\0\23\0\0\0\23\0\0\0\4\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\26\23\0f\26\23\0\5\0\0\0\0\20\0\0\1\0\0\0\200\26\23\0\200&\23\0\200&\23\0\10G\0\0\350\210\0\0\6\0\0\0\0\20\0\0\2\0\0\0\260\\\23\0\260l\23\0\260l\23\0\330\0\0\0\330\0\0\0\6\0\0\0\4\0\0\0\4\0\0\0\364\0\0\0\364\0\0\0\364\0\0\0 \0\0\0 \0\0\0\4\0\0\0\4\0\0\0\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0\1\0\0\0\377\3\0\0003\10\0\0$\1\0\0u\6\0\0g\2\0\0\355\0\0\0\327\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0e\6\0\0\320\5\0\0\0\0\0\0\360\7\0\0n\6\0\0*\2\0\0\276\2\0\0\3\10\0\0\1\4\0\0\372\7\0\0}\5\0\0\236\6\0\0\220\2\0\0\312\7\0\0\27\6\0\0\306\4\0\0\242\7\0\0m\7\0\0\0\0\0\0\245\4\0\0\0\0\0\0\313\1\0\0\36\7\0\0\0\0\0\0\0\0\0\0W\5\0\0008\4\0\0\262\3\0\0\374\4\0\0\2\10\0\0<\1\0\0\313\7\0\0*\7\0\0_\7\0\0M\7\0\0\0\0\0\0P\2\0\0+\5\0\0.\10\0\0\31\7\0\0\204\5\0\0\313\6\0\0U\6\0\0\0\0\0\0\25\5\0\0\0\0\0\0\351\2\0\0\0\0\0\0\334\6\0\0\204\2\0\0\367\3\0\0?\6\0\0-\5\0\0\276\0\0\0\0\0\0\0\303\4\0\0\304\5\0\0\263\4\0\0\21\5\0\0\225\5\0\0\0\0\0\0v\4\0\0q\4\0\0\270\7\0\0(\3\0\0\0\0\0\0\372\1\0\0\264\7\0\0\0\0\0\0\260\1\0\0<\2\0\0\0\0\0\0\177\3\0\0002\5\0\0b\2\0\0\20\3\0\0i\2\0\0\265\4\0\0\347\6\0\0T\6\0\0\372\5\0\0\377\7\0\0\367\6\0\0\360\6\0\0\204\6\0\0\0\0\0\0-\10\0\0\203\7\0\0P\5\0\0\37\7\0\0\264\2\0\0\30\7\0\0\16\6\0\0\225\7\0\0r\6\0\0\0\0\0\0*\5\0\0\243\6\0\0\361\7\0\0\313\3\0\0\0\0\0\0\376\3\0\0\0\0\0\0\0\0\0\0\227\6\0\0\356\6\0\0W\6\0\0\216\3\0\0o\3\0\0\34\7\0\0\0\0\0\0H\4\0\0\217\6\0\0007\3\0\0000\10\0\0\240\5\0\0\236\7\0\0Y\7\0\0R\4\0\0b\5\0\0\357\4\0\0\343\5\0\0\24\7\0\0]\5\0\0\0\0\0\0\302\7\0\0\264\6\0\0\2\5\0\0\205\0\0\0\267\6\0\0009\7\0\0\307\5\0\0\0\0\0\0\307\4\0\0/\6\0\0m\4\0\0(\1\0\0\303\7\0\0\221\2\0\0002\3\0\0\0\0\0\0\22\3\0\0\260\7\0\0s\7\0\0\342\2\0\0!\5\0\0\344\6\0\0\362\2\0\0s\5\0\0\367\0\0\0d\4\0\0\355\6\0\0v\6\0\0\240\7\0\0f\1\0\0\361\6\0\0\0\0\0\0\215\5\0\0\247\7\0\0[\7\0\0\276\4\0\0\0\0\0\0\312\6\0\0\247\5\0\0D\5\0\0\340\6\0\0\23\6\0\0\371\7\0\0\17\5\0\0004\5\0\0\310\6\0\0\f\4\0\0\263\6\0\0R\7\0\0\270\6\0\0\16\7\0\0", 1024) = 1024
1477  fstat64(3, {st_mode=S_IFREG|0755, st_size=5772268, ...}) = 0
1477  old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4002d000
1477  old_mmap(NULL, 1290088, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002e000
1477  mprotect(0x40160000, 36712, PROT_NONE) = 0
1477  old_mmap(0x40160000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x131000) = 0x40160000
1477  old_mmap(0x40165000, 16232, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40165000
1477  close(3)                          = 0
1477  munmap(0x40017000, 88432)         = 0
1477  brk(0)                            = 0x804c6a4
1477  brk(0x804c6cc)                    = 0x804c6cc
1477  brk(0x804d000)                    = 0x804d000
1477  open("/usr/share/locale/locale.alias", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=2601, ...}) = 0
1477  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
1477  read(3, "# Locale name alias data base.\n# Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2, or (at your option)\n# any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n\n# The format of this file is the same as for the corresponding file of\n# the X Window System, which normally can be found in\n#\t/usr/lib/X11/locale/locale.alias\n# A single line contains two fields: an alias and a substitution value.\n# All entries are case independent.\n\n# Note: This file is far from being complete.  If you have a value for\n# your own site which you think might be useful for others too, share\n# it with the rest of us.  Send it using the `glibcbug\' script to\n# bugs at gnu.org.\n\nbokmal\t\tno_NO.ISO-8859-1\nbokm\345l\t\tno_NO.ISO-8859-1\ncatalan\t\tca_ES.ISO-8859-1\ncroatian\thr_HR.ISO-8859-2\nczech\t\tcs_CZ.ISO-8859-2\ndanish          da_DK.ISO-8859-1\ndansk\t\tda_DK.ISO-8859-1\ndeutsch\t\tde_DE.ISO-8859-1\ndutch\t\tnl_NL.ISO-8859-1\neesti\t\tet_EE.ISO-8859-1\nestonian\tet_EE.ISO-8859-1\nfinnish         fi_FI.ISO-8859-1\nfran\347ais\tfr_FR.ISO-8859-1\nfrench\t\tfr_FR.ISO-8859-1\ngalego\t\tgl_ES.ISO-8859-1\ngalician\tgl_ES.ISO-8859-1\ngerman\t\tde_DE.ISO-8859-1\ngreek           el_GR.ISO-8859-7\nhebrew          he_IL.ISO-8859-8\nhrvatski\thr_HR.ISO-8859-2\nhungarian       hu_HU.ISO-8859-2\nicelandic       is_IS.ISO-8859-1\nitalian         it_IT.ISO-8859-1\njapanese\tja_JP.eucJP\njapanese.euc\tja_JP.eucJP\nja_JP\t\tja_JP.eucJP\nja_JP.ujis\tja_JP.eucJP\njapanese.sjis\tja_JP.SJIS\nkorean\t\tko_KR.eucKR\nkorean.euc \tko_KR.eucKR\nko_KR\t\tko_KR.eucKR\nlithuanian      lt_LT.ISO-8859-13\nnb_NO\t\tno_NO.ISO-8859-1\nnb_NO.ISO-8859-1 no_NO.ISO-8859-1\nnorwegian       no_NO.ISO-8859-1\nnynorsk\t\tnn_NO.ISO-8859-1\npolish          pl_PL.ISO-8859-2\nportuguese      pt_PT.ISO-8859-1\nromanian        ro_RO.ISO-8859-2\nrussian         ru_RU.ISO-8859-5\nslovak          sk_SK.ISO-8859-2\nslovene         sl_SI.ISO-8859-2\nslovenian       sl_SI.ISO-8859-2\nspanish         es_ES.ISO-8859-1\nswedish         sv_SE.ISO-8859-1\nthai\t\tth_TH.TIS-620\nturkish         tr_TR.ISO-8859-9\n", 4096) = 2601
1477  brk(0x804e000)                    = 0x804e000
1477  read(3, "", 4096)                 = 0
1477  close(3)                          = 0
1477  munmap(0x40017000, 4096)          = 0
1477  open("/usr/lib/locale/en_US/LC_IDENTIFICATION", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=370, ...}) = 0
1477  mmap2(NULL, 370, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_MEASUREMENT", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=28, ...}) = 0
1477  mmap2(NULL, 28, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_TELEPHONE", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0
1477  mmap2(NULL, 64, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40019000
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_ADDRESS", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=160, ...}) = 0
1477  mmap2(NULL, 160, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001a000
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_NAME", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=82, ...}) = 0
1477  mmap2(NULL, 82, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001b000
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_PAPER", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=39, ...}) = 0
1477  mmap2(NULL, 39, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001c000
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_MESSAGES", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=57, ...}) = 0
1477  mmap2(NULL, 57, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001d000
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_MONETARY", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=291, ...}) = 0
1477  mmap2(NULL, 291, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001e000
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_COLLATE", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=21499, ...}) = 0
1477  mmap2(NULL, 21499, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001f000
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_TIME", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=2456, ...}) = 0
1477  mmap2(NULL, 2456, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40025000
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_NUMERIC", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=59, ...}) = 0
1477  mmap2(NULL, 59, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40026000
1477  close(3)                          = 0
1477  open("/usr/lib/locale/en_US/LC_CTYPE", O_RDONLY) = 3
1477  fstat64(3, {st_mode=S_IFREG|0644, st_size=173408, ...}) = 0
1477  mmap2(NULL, 173408, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40169000
1477  brk(0x804f000)                    = 0x804f000
1477  close(3)                          = 0
1477  fstat64(1, {st_mode=S_IFCHR|0660, st_rdev=makedev(180, 0), ...}) = 0
1477  open("trace.txt", O_RDONLY|O_LARGEFILE) = 3
1477  fstat64(3, {st_mode=S_IFREG|0664, st_size=2271, ...}) = 0
1477  brk(0x8051000)                    = 0x8051000
1477  read(3, "From pbarker at barker.dropbear.id.au Mon Feb  4 22:52:04 2002\nReturn-Path: <pbarker at barker.dropbear.id.au>\nReceived: from mta01bw.bigpond.com ([192.168.115.3]) by\n          mailms1aps.email.bigpond.com (Netscape Messaging Server 4.15\n          mailms1aps Sep 29 2001 14:10:18) with ESMTP id GR0BYX02.P32 for\n          <richard58 at bigpond.com>; Mon, 4 Feb 2002 21:59:21 +1000 \nReceived: from moriarty.fith.priv ([144.135.24.87]) by\n          mta01bw.bigpond.com (Netscape Messaging Server 4.15) with SMTP\n          id GR0BYW00.4IO for <richard58 at bigpond.com>; Mon, 4 Feb 2002\n          21:59:20 +1000 \nReceived: from dial-ctb0154.webone.com.au ([210.9.241.54]) by bwmam07.mailsvc.email.bigpond.com(MailRouter V3.0i 56/737632); 04 Feb 2002 21:52:07\nReceived: from localhost (pbarker at localhost)\n\tby moriarty.fith.priv (8.11.0/8.11.0) with ESMTP id g14Bq4331408;\n\tMon, 4 Feb 2002 22:52:04 +1100\nDate: Mon, 4 Feb 2002 22:52:04 +1100\nFrom: Peter Barker <pbarker at barker.dropbear.id.au>\nTo: Richard Rose <richard58 at bigpond.com>\ncc: Peter Barker <pbarker at barker.dropbear.id.au>,\n Canberra Linux Users Group <linux at samba.org>\nSubject: Re: Getting a BJC2100SP to work\nIn-Reply-To: <200202041030.VAA09356 at moth.moreeonline.net.au>\nMessage-ID: <Pine.LNX.4.21.0202042249400.31400-100000 at moriarty.fith.priv>\nMIME-Version: 1.0\nContent-Type: TEXT/PLAIN;\n  charset=US-ASCII\nStatus: R \nX-Status: N\n\nOn Mon, 4 Feb 2002, Richard Rose wrote:\n\n> > What happened when  you sent plain text to /dev/lp0? Did it give you an\n> > error, or just swallow it? A strace may be useful.\n \n> No errors, is seemed to just swallow it. Never used strace before.\n\nWell, now\'s as good a time as any :-)\n\nstrace -f -s 8000 -o ~/mystrace cat /etc/passwd > /dev/lp0\n\nman strace will tell you what those options do. They mail hardly any of\nthe passwd file to me at all. The -f is habit.\n\n> Richard R :-)\n\nYours,\n-- \nPeter Barker                          |   N    _--_|\\ /---- Barham, Vic \nProgrammer,Sysadmin,Geek              | W + E /     /\\                \npbarker at barker.dropbear.id.au         |   S   \\_,--?_*<-- Canberra      \nYou need a bigger hammer.             |             v    [35S, 149E]   \nqq%I\'ve never heard of it or used it, apart from finding it in the Camel\n book and saying \"Oh god\".% -- Onceler\n\n\n\n", 4096) = 2271
1477  write(1, "From pbarker at barker.dropbear.id.au Mon Feb  4 22:52:04 2002\nReturn-Path: <pbarker at barker.dropbear.id.au>\nReceived: from mta01bw.bigpond.com ([192.168.115.3]) by\n          mailms1aps.email.bigpond.com (Netscape Messaging Server 4.15\n          mailms1aps Sep 29 2001 14:10:18) with ESMTP id GR0BYX02.P32 for\n          <richard58 at bigpond.com>; Mon, 4 Feb 2002 21:59:21 +1000 \nReceived: from moriarty.fith.priv ([144.135.24.87]) by\n          mta01bw.bigpond.com (Netscape Messaging Server 4.15) with SMTP\n          id GR0BYW00.4IO for <richard58 at bigpond.com>; Mon, 4 Feb 2002\n          21:59:20 +1000 \nReceived: from dial-ctb0154.webone.com.au ([210.9.241.54]) by bwmam07.mailsvc.email.bigpond.com(MailRouter V3.0i 56/737632); 04 Feb 2002 21:52:07\nReceived: from localhost (pbarker at localhost)\n\tby moriarty.fith.priv (8.11.0/8.11.0) with ESMTP id g14Bq4331408;\n\tMon, 4 Feb 2002 22:52:04 +1100\nDate: Mon, 4 Feb 2002 22:52:04 +1100\nFrom: Peter Barker <pbarker at barker.dropbear.id.au>\nTo: Richard Rose <richard58 at bigpond.com>\ncc: Peter Barker <pbarker at barker.dropbear.id.au>,\n Canberra Linux Users Group <linux at samba.org>\nSubject: Re: Getting a BJC2100SP to work\nIn-Reply-To: <200202041030.VAA09356 at moth.moreeonline.net.au>\nMessage-ID: <Pine.LNX.4.21.0202042249400.31400-100000 at moriarty.fith.priv>\nMIME-Version: 1.0\nContent-Type: TEXT/PLAIN;\n  charset=US-ASCII\nStatus: R \nX-Status: N\n\nOn Mon, 4 Feb 2002, Richard Rose wrote:\n\n> > What happened when  you sent plain text to /dev/lp0? Did it give you an\n> > error, or just swallow it? A strace may be useful.\n \n> No errors, is seemed to just swallow it. Never used strace before.\n\nWell, now\'s as good a time as any :-)\n\nstrace -f -s 8000 -o ~/mystrace cat /etc/passwd > /dev/lp0\n\nman strace will tell you what those options do. They mail hardly any of\nthe passwd file to me at all. The -f is habit.\n\n> Richard R :-)\n\nYours,\n-- \nPeter Barker                          |   N    _--_|\\ /---- Barham, Vic \nProgrammer,Sysadmin,Geek              | W + E /     /\\                \npbarker at barker.dropbear.id.au         |   S   \\_,--?_*<-- Canberra      \nYou need a bigger hammer.             |             v    [35S, 149E]   \nqq%I\'ve never heard of it or used it, apart from finding it in the Camel\n book and saying \"Oh god\".% -- Onceler\n\n\n\n", 2271) = 2271
1477  read(3, "", 4096)                 = 0
1477  close(3)                          = 0
1477  _exit(0)                          = ?


More information about the linux mailing list