From: Hal V. <ha...@th...> - 2004-08-11 19:37:37
|
On Wednesday 11 August 2004 02:06 pm, Meisch, Cory wrote: > Sounds like you are on the right track... Be sure that ghostscript and > foomatic are installed, as those are the only things I can think of for > you to be missing... Also check your /var/log/cups/error_log file for > more clues as to why the job is not being sent... > > Cory > Hp linux printing team The printer printed out the alignment page when I set it up and it printed = out=20 a report I set up through the controls on the system, so I know the printer= =20 itself works. =A0Could it be a problem with a faulty printer -- at least in= the=20 communications part? =A0Does the fact that "ptal-connect -service echo" doe= sn't=20 work (neither does ptal-print) indicate anything about faulty communication= s? I've changed the loglevel in Cups to debug. It looks like Cups uses=20 ptal-print to talk to the printer (at least at one point). Is this the=20 actual print command? It seems to me I could cut out extra factors if I kn= ew=20 the actual commands CUPS uses to send a command to the printer and knew wha= t=20 to make of the returned errors. Thanks! Hal > -----Original Message----- > From: hpo...@li... > [mailto:hpo...@li...] On Behalf Of Hal Vaughan > Sent: Wednesday, August 11, 2004 8:48 AM > To: hpo...@li... > Subject: [hpoj-devel] Cannot get HP5510 to print > > I bought a HP 5510 last night and was up most of the night trying to get > it to work. (I need to have a printer working ASAP and am close to > returning this and getting a Brother 1440 laserprinter because it just > won't work.) > > I am using Libranet, so when I hooked up the printer, I used apt-get to > install hpoj and hpijs. (I haven't seen it specifically stated, but I > assume I need both of these, hpoj to scan and hpijs to print -- is that > right?). I am using a 2.4.21 kernel. The hpijs version is 1.5. > > Originally when I installed hpoj (again, with apt-get), ptal-init asked > me all the questions, and within a few minutes I was able to use the > scanner. > Considering the last time I had tried a scanner on Linux was over 3 > years ago, and it was damn near impossible to get it to work, I was > excited. > > Then I tried to install the printer. I used the KDE control panel and > pulled up the printer screen to install the printer in CUPS (if you > haven't used it, it has a few more features than the web control panel > for CUPS). The first time I did this, I admit I didn't read the > instructions. I tried to install it as the 1st USB printer, and got > messages that usb:/dev/usb/lp0 did not exist. I deleted the printer > from CUPS, restarted CUPS, and re-installed (this time, in the printer > list, CUPS specified ptal:mlc:usb:hp5510 --I changed the name to hp5510 > for brevity). It installed and I tried to print a test page. I got the > dialog that said CUPS sent the test page successfully, I pressed Okay to > continue, configured the printer, and waited. No test page. > > I have uninstalled and reinstalled this a number of times. I am getting > the status display (on the web control panel for CUPS) Printer State: > stopped, accepting jobs. > > I've tried ptal-print and it cannot connect to the printer. I tried > ptal-connect mlc:usb:hp5510 -service PTAL-MLCD-DUMP and I get a dump > (included at the end of this, in case it helps). I tried ptal-connect > mlc:usb:hp5510 -service echo and I cannot connect. > > It seems I can scan (some programs seem to have trouble, but the SANE > gui frontend allowed me to scan an image in perfectly). I can use > scanimage > --list-devices and it shows up. If I scanimage --test, I get a > successful > report. I don't know if this printer has an echo service, so I don't > know if ptal-connect mlc:usb:hp5510 -service echo is a sign of the > problem or not. > > I really want to get this working, since it would solve my > scanner/fax/printer/copier needs with one shot and because I like HP > products (they usually have good Linux support and are reliable), but I > have to be practical. I cannot waste a lot of time on this. I have to > have a printer working today, and I have to get back to my other work, > so any help is GREATLY appreciated. > > Thanks! > > Hal > > Output from ptal-connect mlc:usb:hp5510 -service PTAL-MLCD-DUMP: > > ptal-connect: connecting to device "mlc:usb:hp5510"... successful. > > ExMgr: > pid=3D13637 > gDebugFlag=3D0 > pBufferPool: available#=3D2, size=3D4102, requested#=3D230, allocated#=3D3 > noFork=3D0 stayActivated=3D0 noDrain=3D0 forceMlcDot4=3D0 noDot4=3D0 > noPmlMultiplexing=3D0 sleepBeforeOpen=3D0 > initialized=3D1 > fd=3D5: read=3D1, write=3D0 > fd=3D8: read=3D1, write=3D0 > fd=3D9: read=3D1, write=3D0 > fdCount=3D10 > exContext=3D2 > exState=3D2 > exActivateCount=3D1 > exCloseCount=3D0 > exCloseReason=3D0x0000 > exReactivateFlag=3D0 > tryDot4=3D1 > tryMlc=3D1 > transportMode=3D2=3D1284.4 > miser=3D0 > argcOriginal=3D22 > argvOriginal: "mlc:usb:hp5510" "-devidmatch" "MDL:officejet 5500 > series;" > "-devidmatch" "SN:MY44CF101396;" "-device" "/dev/usb/lp0" "/dev/usb/lp1" > > "/dev/usb/lp10" "/dev/usb/lp11" "/dev/usb/lp12" "/dev/usb/lp13" > "/dev/usb/lp14" "/dev/usb/lp15" "/dev/usb/lp2" "/dev/usb/lp3" > "/dev/usb/lp4" > "/dev/usb/lp5" "/dev/usb/lp6" "/dev/usb/lp7" "/dev/usb/lp8" > "/dev/usb/lp9" > argc=3D0 > fdNull=3D4 > pFreeMsgPool: depth=3D2 > pPendingMsgQueue: depth=3D0 > pActiveTimerQueue: depth=3D0 > pPeriodicTimerQueue: depth=3D1 > select timeout: sec=3D0, usec=3D500000, infinite=3D0 consoleAllowRemote= =3D0 > consoleOldStdin=3D6 > consoleOldStdout=3D7 > consoleIsRemote=3D0 > socketSuffix=3D<usb:hp5510> > socketAliasSuffix=3D<> > socketName=3D</var/run/ptal-mlcd/usb:hp5510> > socketAliasName=3D<> > socketFd=3D5 > pmlTransportSession=3D8 > pmlCurrentSession=3D-1 > pmlLastSession=3D24 > llioPossibleName[0]=3D</dev/usb/lp0> > llioPossibleName[1]=3D</dev/usb/lp1> > llioPossibleName[2]=3D</dev/usb/lp10> > llioPossibleName[3]=3D</dev/usb/lp11> > llioPossibleName[4]=3D</dev/usb/lp12> > llioPossibleName[5]=3D</dev/usb/lp13> > llioPossibleName[6]=3D</dev/usb/lp14> > llioPossibleName[7]=3D</dev/usb/lp15> > llioPossibleName[8]=3D</dev/usb/lp2> > llioPossibleName[9]=3D</dev/usb/lp3> > llioPossibleName[10]=3D</dev/usb/lp4> > llioPossibleName[11]=3D</dev/usb/lp5> > llioPossibleName[12]=3D</dev/usb/lp6> > llioPossibleName[13]=3D</dev/usb/lp7> > llioPossibleName[14]=3D</dev/usb/lp8> > llioPossibleName[15]=3D</dev/usb/lp9> > llioPossibleNameCount=3D16 > llioName=3D</dev/usb/lp0> > llioOverrideDeviceID=3D<> > llioMatchDeviceID[0]=3D<MDL:officejet 5500 series;> > llioMatchDeviceID[1]=3D<SN:MY44CF101396;> > llioMatchDeviceIDCount=3D2 > llioFd=3D9 > llioDummyFd=3D-1 > llioPollState=3D2 > llioLastHitTime=3D1092238335 > llioForwardBdrQueue: depth=3D0 > llioDeviceID=3D<MFG:hp;MDL:officejet 5500 > series;CMD:LDL,MLC,PML,DYN;CLS:PRINTER;1284.4DL:4d,4e,1;SN:MY44CF101396; > S:0380008000020020002c1480062c2500062;Z:007;> > llioSavedDeviceID=3D<MFG:hp;MDL:officejet 5500 > series;CMD:LDL,MLC,PML,DYN;CLS:PRINTER;1284.4DL:4d,4e,1;SN:MY44CF101396; > S:0380008000020020002c1480062c2500062;Z:007;> > llioBusAddress=3D2 > llioDeviceAddress=3D7 > llioVendorID=3D0x03F0 > llioProductID=3D0x3A11 > llioCurrentProtocol=3D2 > llioSupportedProtocols=3D0x04 > > Transport: > this=3D0x08069300 > port=3D0 > pMgr=3D0x08068628 > pPhysicalPort=3D0x08068628 > forwardTransactionCounter: current=3D128, initial=3D128, low=3D126, high= =3D128, > max=3D128 > channelCount=3D17 > channelArray=3D0x080694F0 > channelArray[0]=3D0x08069538 > channelArray[1]=3D0x08069830 > channelArray[2]=3D0x08069A30 > channelArray[3]=3D0x08069C30 > channelArray[4]=3D0x08069E30 > channelArray[5]=3D0x0806A030 > channelArray[6]=3D0x0806A230 > channelArray[7]=3D0x0806A430 > channelArray[8]=3D0x0806A630 > channelArray[9]=3D0x0806A830 > channelArray[10]=3D0x0806AA30 > channelArray[11]=3D0x0806AC30 > channelArray[12]=3D0x0806AE30 > channelArray[13]=3D0x0806B030 > channelArray[14]=3D0x0806B230 > channelArray[15]=3D0x0806B430 > channelArray[16]=3D0x0806B630 > overheadBufferCount=3D0 > pNextTransport=3D0x00000000 > pForwardDataTimer=3D0x080693C8 (count=3D0) > pForwardDataTimeoutMsg=3D0x08069398 > reverseDataBufferCount=3D180 > reverseDataBufferSize=3D4102 > maxForwardBdrsPerTransaction=3D4 > nextChannelToAllocate=3D17 > nextBlockedChannel=3D-1 > lookupQueue: depth=3D0, peek=3D0x00000000 > ---------------- > pForwardHeaderPool=3D0x08069408 > mlcChannelArray=3D0x080694F0 > pCommandChannel=3D0x08069538 > grcState=3D0 > reverseDataStopped=3D0 > tryDot4=3D1 > tryPreDot4=3D0 > tryMlc=3D1 > requestedRevision=3D0x20 > revision=3D0x20 > maxRemoteSockets=3D32 > > Command channel: > this=3D0x08069538 > port=3D0 > channel=3D0 > localSocket=3D0 > pTransport=3D0x08069300 > pMgr=3D0x08068628 > pPhysicalPort=3D0x08068628 > openingAnySetFlags=3D0x0010 > closingAnySetFlags=3D0x0124 > flags=3D0x0003 > countOpen=3D0 > countOpenFailure=3D0 > pService=3D0x00000000 > scd=3D0x00000000 > forwardDataPriority=3D0 > minBuffersRequired=3D0 > benefitOfMoreBuffers=3D0 > reverseDataBufferSize=3D4102 > bufferCount=3D3 > remoteSocket=3D0 > maxForwardDatalen=3D58 > maxReverseDatalen=3D58 > countForwardData=3D38 > countReverseData=3D38 > countReverseBuffers=3D38 > countReverseBufferReturns=3D38 > lastReverseBuffer=3D0x00000000 > currentForwardBuffer=3D0x00000000 > currentGrabbedCredit=3D-1 > currentGrabbedTransaction=3D-1 > ---------------- > pMlcTransport=3D0x08069300 > pCommandChannel=3D0x08069538 > disableCreditCommands=3D1 > pForwardCreditRequestTimer=3D0x080696D0 > pForwardCreditRequestMsg=3D0x080696A0 > pReverseCreditHeartbeatTimer=3D0x08069738 > pReverseCreditHeartbeatMsg=3D0x08069708 > musherFirstCreditRequestDelay=3D2 > musherNextCreditRequestDelay=3D5 > gusherFirstCreditRequestDelay=3D5 > gusherNextCreditRequestDelay=3D10 > miserFirstCreditRequestDelay=3D0 > miserNextCreditRequestDelay=3D2 > gusherPiggybackCreditCount=3D1 > gusherCreditCount=3D2 > miserCreditRequestCount=3D2 > workaroundReverseCreditLoss=3D0 > maxForwardPacketSize=3D64 > maxReversePacketSize=3D64 > forwardCreditRequest=3D16 > forwardMaxOutstandingCredit=3D1 > forwardCredit: current=3D1, initial=3D1, low=3D0, high=3D2, max=3D65535 > lastCreditRequestGotUsNowhere=3D0 > reverseMaxOutstandingCredit=3D1 > reverseBuffersPerPacket=3D1 > uncreditedBuffers=3D0 > reverseCreditToGrant=3D2 > reverseCredit: current=3D1, initial=3D1, low=3D0, high=3D2, max=3D65535 > countSendPiggybackCredit=3D38 > countHandlePiggybackCredit=3D38 > countSendCredit=3D0 > countHandleCredit=3D0 > countHandleCreditAfterCreditRequest=3D0 > countSendCreditRequest=3D0 > countHandleCreditRequest=3D0 > countSendEmptyCreditRequestReply=3D0 > countHandleEmptyCreditRequestReply=3D0 > isGusher=3D1 > ---------------- > pForwardCommandPool=3D0x08069770 > pForwardNonconsumingQueue=3D0x08069790 > pForwardReplyQueue=3D0x080697A0 > pForwardRequestQueue=3D0x080697B0 > forwardRequestCredit: current=3D1, initial=3D1, low=3D0, high=3D1, max=3D= 65535 > pCommandReplyTimer=3D0x080697F0 (count=3D0) > pCommandReplyTimeoutMsg=3D0x080697C0 > allowErrorPackets=3D1 > lastPsid=3D-1 > lastSsid=3D-1 > > Session 0: type=3Dcommand > state=3D1 > fd=3D8 > scdlink=3D-1 > pLookup=3D0x08068DE8 > outstandingForwardBdrCount=3D1 > pReverseBdrQueue: depth=3D0 > tcd=3D0x00000000 > pCommandBdr=3D0x0806DA38 > pmlTrapsRegistered=3D0 > bitbucketSocket=3D0 > > Session 8: type=3Dtransport > state=3D6 > fd=3D10 > scdlink=3D-1 > pLookup=3D0x080690E8 > outstandingForwardBdrCount=3D0 > pReverseBdrQueue: depth=3D0 > tcd=3D0x08069830 > pCommandBdr=3D0x00000000 > pmlTrapsRegistered=3D0 > bitbucketSocket=3D0 > > Transport channel for session 8: > this=3D0x08069830 > port=3D0 > channel=3D1 > localSocket=3D128 > pTransport=3D0x08069300 > pMgr=3D0x08068628 > pPhysicalPort=3D0x08068628 > openingAnySetFlags=3D0x0010 > closingAnySetFlags=3D0x0124 > flags=3D0x0003 > countOpen=3D1 > countOpenFailure=3D0 > pService=3D0x08068628 > scd=3D0x00000008 > forwardDataPriority=3D0 > minBuffersRequired=3D10 > benefitOfMoreBuffers=3D1 > reverseDataBufferSize=3D4102 > bufferCount=3D12 > remoteSocket=3D1 > maxForwardDatalen=3D2046 > maxReverseDatalen=3D2046 > countForwardData=3D2 > countReverseData=3D2 > countReverseBuffers=3D2 > countReverseBufferReturns=3D2 > lastReverseBuffer=3D0x0806DA38 > currentForwardBuffer=3D0x00000000 > currentGrabbedCredit=3D-1 > currentGrabbedTransaction=3D-1 > ---------------- > pMlcTransport=3D0x08069300 > pCommandChannel=3D0x08069538 > disableCreditCommands=3D0 > pForwardCreditRequestTimer=3D0x08069990 > pForwardCreditRequestMsg=3D0x08069960 > pReverseCreditHeartbeatTimer=3D0x080699F8 > pReverseCreditHeartbeatMsg=3D0x080699C8 > musherFirstCreditRequestDelay=3D2 > musherNextCreditRequestDelay=3D5 > gusherFirstCreditRequestDelay=3D5 > gusherNextCreditRequestDelay=3D10 > miserFirstCreditRequestDelay=3D0 > miserNextCreditRequestDelay=3D2 > gusherPiggybackCreditCount=3D1 > gusherCreditCount=3D2 > miserCreditRequestCount=3D2 > workaroundReverseCreditLoss=3D0 > maxForwardPacketSize=3D2052 > maxReversePacketSize=3D2052 > forwardCreditRequest=3D16 > forwardMaxOutstandingCredit=3D65535 > forwardCredit: current=3D1, initial=3D0, low=3D0, high=3D1, max=3D65535 > lastCreditRequestGotUsNowhere=3D0 > reverseMaxOutstandingCredit=3D65535 > reverseBuffersPerPacket=3D1 > uncreditedBuffers=3D0 > reverseCreditToGrant=3D0 > reverseCredit: current=3D12, initial=3D12, low=3D11, high=3D12, max=3D655= 35 > countSendPiggybackCredit=3D0 countHandlePiggybackCredit=3D0 > countSendCredit=3D3 > countHandleCredit=3D3 > countHandleCreditAfterCreditRequest=3D0 > countSendCreditRequest=3D0 > countHandleCreditRequest=3D0 > countSendEmptyCreditRequestReply=3D0 > countHandleEmptyCreditRequestReply=3D0 > isGusher=3D1 > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save > 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > https://lists.sourceforge.net/lists/listinfo/hpoj-devel |