| Christian Ullrich on Wed, 16 Jan 2002 20:02:01 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: 4.4R: if: doesn't get started when getting remote print job |
* Christian Ullrich wrote on Wednesday, 2002-01-16: > * Michael Loßin wrote on Wednesday, 2002-01-16: > > Are you sure that output is not from some printing attempt > > before? > > Yes. Before starting the job, I checked that these files were not > present. After printing, they were, and the timestamps in the files > match the system clock. The only other explanation would be that > LPRng or something else stores output of older jobs elsewhere and > copies it to the spooldir at random. > > > Please perform the following steps: > > - add "filter_stderr_to_status_file" to /etc/lpd.conf > > and restart LPRng > > - remove (or clear) "/var/spool/lpd/ascii/status" and > > "/var/spool/lpd/ascii/status.ascii" > > - print again (with "set -x" in apsfilter) > > - post those two status files on this list > > I'll do that later, when I can look at what's coming out of the > printer. Now I'm near that little bastard again. (Yes, I know, insulting the hardware only makes it more stubborn. Bit it won't know it has been insulted unless I print the mail on it, will it? And I can't print, so all is fine.) I'll proceed in as much detail as yesterday. 1. I removed both the apsfilter-7.1.1 port (that I had forgotten to remove before) and apsfilter-7.2.1 by means of pkg_delete. 2. I cleaned and rebuilt apsfilter-7.2.1 with the same configuration as the last time and installed it. 3. I removed /etc/printcap. 4. I recreated the printer "ascii", with the exact same configuration as before and did an "lpc reread". 5. Printing from the client, I got staircased text. 6. I added the above line "filter_stderr_to_status_file" to /etc/lpd.conf. This file had not existed before. I restarted lpd. 7. I printed some more staircases (I really should look into selling them. Suitably stacked, they would do just fine instead of wood or stone...) 8. The files "status" and "status.ascii" in /var/spool/lpd/ascii had not been created. I ran "checkpc -f", and they appeared. status was empty, status.ascii contained only the F_SETFL message. 9. More stairs. Does someone know any skyscrapers in lack of stairs? 10. status still empty, status.ascii 4947 bytes. See below. -- 8< -- /var/spool/lpd/ascii/status.ascii -- >8 -- IF filter 'apsfilter' filter msg - '+ WIDTH_POINTS=595' at 2002-01-16-19:54:30.356 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ HEIGHT_POINTS=842' at 2002-01-16-19:54:30.356 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ WIDTH_INCHES=8.26' at 2002-01-16-19:54:30.357 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ HEIGHT_INCHES=11.69' at 2002-01-16-19:54:30.357 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' set ']'' at 2002-01-16-19:54:30.357 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' -f /etc/apsfilter/ascii/netware.conf -o -f /etc/apsfilter/ascii/lpr.conf ']'' at 2002-01-16-19:54:30.357 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ unset REMOTE_COPIES' at 2002-01-16-19:54:30.357 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ DRIVER_SCRIPT=PS' at 2002-01-16-19:54:30.358 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' '!' -e /etc/apsfilter/basedir/driver/PS ']'' at 2002-01-16-19:54:30.358 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' -z PS ']'' at 2002-01-16-19:54:30.359 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' -e /etc/apsfilter/basedir/driver/PS ']'' at 2002-01-16-19:54:30.359 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ . /etc/apsfilter/basedir/driver/PS' at 2002-01-16-19:54:30.359 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' PS '!=' PS ']'' at 2002-01-16-19:54:30.359 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ print_raw' at 2002-01-16-19:54:30.360 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' '' ']'' at 2002-01-16-19:54:30.362 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ print_data' at 2002-01-16-19:54:30.363 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ cat' at 2002-01-16-19:54:30.363 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ local c ncp_print' at 2002-01-16-19:54:30.363 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' '' ']'' at 2002-01-16-19:54:30.365 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' '' ']'' at 2002-01-16-19:54:30.366 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' 1 = 1 -o -n '' ']'' at 2002-01-16-19:54:30.366 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ print_copy' at 2002-01-16-19:54:30.367 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' '' ']'' at 2002-01-16-19:54:30.367 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' -f /etc/apsfilter/ascii/smbclient.conf ']'' at 2002-01-16-19:54:30.367 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' -f /etc/apsfilter/ascii/netware.conf ']'' at 2002-01-16-19:54:30.367 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' -f /etc/apsfilter/ascii/lpr.conf ']'' at 2002-01-16-19:54:30.368 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ '[' -f /etc/apsfilter/ascii/pap.conf ']'' at 2002-01-16-19:54:30.368 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ cat' at 2002-01-16-19:54:30.368 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ rm -rf /tmp/apsfilter82736' at 2002-01-16-19:54:30.377 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter msg - '+ exit' at 2002-01-16-19:54:30.398 ## A=chris@christian+454 number=454 process=82735 IF filter 'apsfilter' filter finished at 2002-01-16-19:54:30.399 ## A=chris@christian+454 number=454 process=82735 printing finished at 2002-01-16-19:54:30.399 ## A=chris@christian+454 number=454 process=82735 accounting at end at 2002-01-16-19:54:30.399 ## A=chris@christian+454 number=454 process=82735 finished 'chris@christian+454', status 'JSUCC' at 2002-01-16-19:54:30.399 ## A=chris@christian+454 number=454 process=82735 subserver pid 82735 exit status 'JSUCC' at 2002-01-16-19:54:30.400 ## A=<NULL> number=0 process=82734 ascii@ser1.chrullrich.de: job 'cfA454christian.chrullrich.de' printed at 2002-01-16-19:54:30.400 ## A=<NULL> number=454 process=82734 job 'cfA454christian.chrullrich.de' removed at 2002-01-16-19:54:30.401 ## A=<NULL> number=454 process=82734 -- 8< -- /var/spool/lpd/lp/status.ascii END -- >8 -- Good luck, and thanks for all the effort you're spending at me. -- Christian Ullrich Registrierter Linux-User #125183 "Deliver."