Hi, all, Recently, we bought a hp4300 Laser printer. I can directly print to it through port 9100. But I failed to use ifhp.
I installed latest Lprng and ifhp (Lprng 3.8.24 and ifhp-3.1.15 on solaris 8). The followings are the error messages I got. ifhp 23:42:30.032 [25667] Write_read_timeout: Read_status_timeout returned -1 ifhp 23:42:30.032 [25667] Write_read_timeout: read from printer failed - Connection reset by peer What could be wrong? Is there anything related to the printer configuration? Thanks a lot. Chuming Chen Unix System Support Dept. of Computer Science and Engineering Univeristy of South Carolina 1D49 Swearingen Building 803-576-6308 # ./ifhp -Tmodel=hp4300,dev=l39%9100,trace,debug=1 < /tmp/one.ps ifhp 23:42:29.773 [25667] main: Debug '1', DbgFlag 0x0, inputfile 'DEVFD0' ifhp 23:42:29.774 [25667] main: dump <NULL> ifhp 23:42:29.774 [25667] main: Model_id 'hp4300' ifhp 23:42:29.774 [25667] main: LANG '<NULL>', 'TRANSLATE TEST' is 'TRANSLATE TEST' ifhp 23:42:29.886 [25667] main: scanning Raw for default, then model 'hp4300' ifhp 23:42:30.012 [25667] main: scanning for model 'hp4300' ifhp 23:42:30.014 [25667] main: using model 'hp4300' Version ifhp-3.5.10 $Id: ifhp.c,v 1.96 2002/07/12 23:33:21 papowell Exp papowell $ Copyright 1992-2002 Patrick Powell <[EMAIL PROTECTED]> ifhp 23:42:30.014 [25667] Open_device: device 'l39%9100' ifhp 23:42:30.015 [25667] Open_device: closed fd 1 ifhp 23:42:30.017 [25667] Link_open: destination '139.252.130.98' port 9100, attempt 1 ifhp 23:42:30.019 [25667] Fd_readable: nonblocking read returned -1, errno 11 (Resource temporarily unavailable) ifhp 23:42:30.020 [25667] Open_device: success ifhp 23:42:30.020 [25667] Fd_readable: nonblocking read returned -1, errno 11 (Resource temporarily unavailable) ifhp 23:42:30.020 [25667] main: poll for status 0, Dev_sleep 1000 msec ifhp 23:42:30.029 [25667] Check_pagecount: pagecount using 'pjl info pagecount' ifhp 23:42:30.030 [25667] Process_job: setting up printer ifhp 23:42:30.030 [25667] Start_of_job: do_pagecount 1, ps 0, pjl 1, prog '<NULL>' ifhp 23:42:30.030 [25667] Do_sync: getting sync using 'pjl echo' ifhp 23:42:30.031 [25667] Start_of_job: 'pjl_init'='[ info=id ustatus teoj ]' ifhp 23:42:30.032 [25667] Write_read_timeout: Read_status_timeout returned -1 ifhp 23:42:30.032 [25667] Write_read_timeout: read from printer failed - Connection reset by peer ifhp 23:42:30.032 [25667] Do_sync: EOF on connection ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
