Re: Ptinting Errors

Michel Dagenais (dagenais@vlsi.polymtl.ca)
Mon, 17 Mar 97 15:32:26 EST

[root@box1 bin]# thot &
lpr: cannot access =F3e/ae.ps
sh: -removedir: command not found

I know that thot uses /tmp to create a temporary print file before sending
the file to the print spooler, I've checked the permissions on /tmp and
they are correct and temp has plenty of space for the files. Also I've
placed the line "TMPDIR=3D/tmp" (minus the quotes, of course) in my .thotrc
file. Still thot cannot print. =20

I know others have had the same problem, has anyone got an answer?=20

I did not have any problem on my Linux machine. However in similar
cases (misconfiguration) i use something like "strace -o tmptmp -s 120
-f thot". This will start thot and produce in file "tmptmp" a huge
trace of all the system calls made by thot and its subprocesses. Close
to the end you should find the system calls executed just before the
error was reported. Often the error becomes obvious: you see which
directories/files were accessed, what the return codes were...