Glen Gunselman wrote: > I'm having trouble printing to a couple of new HP printers from Solaris 9 > using lp. The printers require filters (the same filter). The filter is in > use with other HP printers (an HP2300 setting next to my desk is one that > works, and has for sometime). > > I used the following command to define the printer to Solaris: > > lpadmin -p tcs_hp4350ff -o protocol=tcp,dest=npi12d5bd.emporia.edu:9100 -v > /dev/null -m netstandard -T unknown -I pcl > > lpstat -p tcs_hp4350ff -l shows: > > printer tcs_hp4350ff waiting for auto-retry. available. > exec exit fault > Form mounted: > Content types: pcl > Printer types: unknown > Description: > Connection: direct > Interface: /usr/lib/lp/model/netstandard > PPD: none > On fault: alert with "mail[ggunselm at emporia.edu]" every 60 minutes > After fault: continue > Users allowed: > (all) > Forms allowed: > (none) > Banner page never printed > Character sets: > (none) > Default pitch: > Default page size: > Default port settings: > Options: protocol=tcp, dest=npi12d5bd.emporia.edu:9100 > > I'm just guessing, but based on timestamps the following seem like a set of > debug messages from /var/adm/messages: > > > Jun 6 17:01:52 robin netpr[23656]: [ID 560845 lpr.debug] Cannot connect to > printer > Jun 6 17:01:52 robin netstandard: tcs_hp4350ff-222: [ID 702911 lpr.debug] > netpr exit_code : 129 > Jun 6 17:01:52 robin netstandard: tcs_hp4350ff-222: [ID 702911 lpr.debug] > banner page exit code : 129 > Jun 6 17:01:52 robin netstandard: tcs_hp4350ff-222: [ID 702911 lpr.debug] > FINAL exit_code : 129 > Jun 6 17:01:52 robin lpsched[8566]: [ID 286429 lpr.debug] dispatch > S_CHILD_DONE > Jun 6 17:01:52 robin lpsched[8566]: [ID 404684 lpr.debug] > s_child_done(448251282, 26, -32512, 0) > Jun 6 17:01:52 robin lpsched[8566]: [ID 467870 lpr.debug] schedule(EV_LATER) > Jun 6 17:01:52 robin lpsched[8566]: [ID 744729 lpr.info] fault > (tcs_hp4350ff), type (mail[ggunselm at emporia.edu]), status(14): exec exit > fault > Jun 6 17:01:52 robin lpsched[8566]: [ID 698411 lpr.debug] exec(EX_ALERT) > Jun 6 17:01:52 robin lpsched[8566]: [ID 467870 lpr.debug] schedule(EV_INTERF) > Jun 6 17:01:52 robin lpsched[8566]: [ID 732712 lpr.debug] ev_interf(NULL) > Jun 6 17:01:53 robin lpsched[8566]: [ID 286429 lpr.debug] dispatch > S_CHILD_DONE > Jun 6 17:01:53 robin lpsched[8566]: [ID 404684 lpr.debug] > s_child_done(2046535473, 27, 0, 0) > > > nslookup npi12d5bd.emporia.edu returns the correct ip address. > > The following message reoccurs on /var/lp/logs/lpsched > > 06/06 17:09:48: printer fault. type: mail[ggunselm at emporia.edu], status: 14 > msg: (exec exit fault) > > The HP4350 configuration page shows an Embedded HP JetDirect J7949E. I do > not have access to the HP4000, so at this point I don't know have it's > connected to the network. > > I have several questions: > 1. what does the "exec exit fault" line from the lpstat command mean and > where is it documented > 2. lpstat On fault shows "mail ..." and /var/lp/logs/lpsched shows "printer > fault. type: mail ..." , but I am not receiving email - why
> 3. how can I stop the printers so that I can retry them one at a time - I > tried cancel tcs_hp4350ff but received the message: could not talk to print > service at robin were you canceling the old print jobs from the print server box - if not try it on that box. > 4. at the bottom of the man page for lpsched(1M) it reads: > System Administration Guide: Basic Administration but I could not find any > printer info in the SAG Basic Administration. I think it's all in Advanced > Administration. http://docs.sun.com/app/docs/doc/817-6959/6mmagajge?a=view http://docs.sun.com/app/docs/doc/817-6959/6mmagajf2?a=view Have you tried configuring your printers using the 'printmgr' gui tool? On later releases of Solaris 9 you can set up the print queues to use a PPD file (make/model driver) - s9 probably doesn't have a ppd for HP4350 but you try using one for one of the earlier LaserJet printers (I think it has one for HP4000). If that works you could then get the HP4350 ppd file from http://openprinting.org/show_printer.cgi?recnum=HP-LaserJet_4345_MFP (see http://openprinting.org/printer_list.cgi for others) and put that into place appropriately (so 'printmgr' can see it) Also have you tried to 'ping' the printer from your print server box to ensure it can actually see the physical printer? Paul > > Note: tcs_hp4350ff is also defined as a remote printer using a Novell print > queue and server. This definition works, so the printer and network are > working through Novell. > > Thanks for any ideas/insight/wisdom > Glen Gunselman >
