Hello,

I have a problem with a new printer at our institute and it would be great, if 
anyone on the list could help me.

Our secretary has got a new network printer (HP LaserJet 1200N) called grass. 
After work the printer is switched off. Sending a job to the printer via our 
central printing server (augur) results in the complete loss of the job. Is 
there a way to keep the job in the queue until the printer is switched on 
again?

The relevant part of the printcap: 

grass_simplex|grass_s|grass
        :cm PostScript HP LaserJet 1200N Guenther Grass (Room 1316) simplex
        :server:mx#0:rw
        :lpd_bounce
        :sd=/var/spool/lpd/%P
        :lf=/var/log/lpd-errs-%P
        :filter=/usr/local/bin/magicfilter:\
        :lp=grass_raw@augur

grass_raw
        :cm PostScript HP LaserJet 1200N Guenther Grass (Room 1316) raw
        :server:mx#0:rw
        :lpd_bounce
        :sd=/var/spool/lpd/%P
        :lf=/var/log/lpd-errs-%P
        :lp=raw@grass

I have also attached the output of two consecutive `lpq -lll -Pgrass_simplex` 
calls.

Thanks,

  Torsten

-- 
----------------------------------------------------------------------
Dipl.-Ing. Torsten Wiebesiek                     Universitaet Hannover
                         Institut fuer Theoretische Nachrichtentechnik
                                          und Informationsverarbeitung
Phone:  +49-511-762-5328 (Fax: -5333)
E-Mail: [EMAIL PROTECTED]
WWW:    http://www.tnt.uni-hannover.de/~wiebesiek
bash:wiebesie@yama> lpq  -lll  -Pgrass_simplex

Printer: grass_simplex@augur 'PostScript HP LaserJet 1200N Guenther Grass (Room 1316) 
simplex' (dest grass_raw@augur)
 Queue: no printable jobs in queue
 Server: no server active
 Status: completed sending 'cfA973yama.tnt.uni-hannover.de' to grass_raw@augur at 
17:37:25.554
 Status: sending data file 'dfA973yama.tnt.uni-hannover.de' to grass_raw@augur at 
17:37:25.554
 Status: completed sending 'dfA973yama.tnt.uni-hannover.de' to grass_raw@augur at 
17:37:25.555
 Status: done job 'wiebesie@yama+973' transfer to grass_raw@augur at 17:37:25.555
 Status: subserver pid 2223 exit status 'JSUCC' at 17:37:25.556
 Status: [EMAIL PROTECTED]: job 'wiebesie@yama+973' printed at 
17:37:25.557
 Status: job 'wiebesie@yama+973' saved at 17:37:25.557
 Status: job 'wiebesie@yama+794' removed at 17:37:39.859
 Rank   Owner/ID                  Class Job Files                 Size Time
done   wiebesie@yama+973            A   973 Hello_1p.ps           9353 17:37:25
Printer: grass_raw@augur 'PostScript HP LaserJet 1200N Guenther Grass (Room 1316) raw' 
(dest raw@grass)
 Queue: 1 printable job
 Server: pid 2368 active
 Unspooler: pid 2371 active
 Status: requesting printer raw@grass at 17:37:35.593
 Status: job 'wiebesie@yama+973' transfer to raw@grass failed
 Status:   error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ack error -1'
 Status:   sending str '^Braw' to raw@grass at 17:37:35.600
 Status: subserver pid 2370 exit status 'JFAIL' at 17:37:35.604
 Status: job 'wiebesie@yama+973' attempt 2, trying 3 times at 17:37:35.605
 Status: waiting for subserver to exit at 17:37:35.608
 Status: attempt 3, sleeping 20 before retry at 17:37:35.610
 Rank   Owner/ID                  Class Job Files                 Size Time
active(attempt-3) wiebesie@yama+973 A   973 Hello_1p.ps          10352 17:37:25
done   wiebesie@yama+794            A   794 Hello_2p.ps          12773 17:26:27
JetDirect lpd: no jobs queued on the port Raw


bash:wiebesie@yama> lpq  -lll  -Pgrass_simplex

Printer: grass_simplex@augur 'PostScript HP LaserJet 1200N Guenther Grass (Room 1316) 
simplex' (dest grass_raw@augur)
 Queue: no printable jobs in queue
 Server: no server active
 Status: completed sending 'cfA973yama.tnt.uni-hannover.de' to grass_raw@augur at 
17:37:25.554
 Status: sending data file 'dfA973yama.tnt.uni-hannover.de' to grass_raw@augur at 
17:37:25.554
 Status: completed sending 'dfA973yama.tnt.uni-hannover.de' to grass_raw@augur at 
17:37:25.555
 Status: done job 'wiebesie@yama+973' transfer to grass_raw@augur at 17:37:25.555
 Status: subserver pid 2223 exit status 'JSUCC' at 17:37:25.556
 Status: [EMAIL PROTECTED]: job 'wiebesie@yama+973' printed at 
17:37:25.557
 Status: job 'wiebesie@yama+973' saved at 17:37:25.557
 Status: job 'wiebesie@yama+794' removed at 17:37:39.859
 Rank   Owner/ID                  Class Job Files                 Size Time
done   wiebesie@yama+973            A   973 Hello_1p.ps           9353 17:37:25
Printer: grass_raw@augur 'PostScript HP LaserJet 1200N Guenther Grass (Room 1316) raw' 
(dest raw@grass)
 Queue: no printable jobs in queue
 Server: no server active
 Status:   error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ack error -1'
 Status:   sending str '^Braw' to raw@grass at 17:37:55.630
 Status: subserver pid 2371 exit status 'JFAIL' at 17:37:55.634
 Status: job 'wiebesie@yama+973', attempt 3, allowed 3 at 17:37:55.635
 Status: send_failure_action 'JREMOVE' at 17:37:55.635
 Status: job 'wiebesie@yama+973', removing job - status JREMOVE at 17:37:55.635
 Status: keeping error job 'wiebesie@yama+973' at 17:37:55.635
 Status: job 'wiebesie@yama+973' removed at 17:37:57.681
 Rank   Owner/ID                  Class Job Files                 Size Time
done   wiebesie@yama+794            A   794 Hello_2p.ps          12773 17:26:27
JetDirect lpd: no jobs queued on the port Raw

Reply via email to