Re: Cannot get HP5510 to print

Hal Vaughan <hal-cg+s6CP8fKEjhZaNNbI9mVaTQe2KTcn/@public.gmane.org>
Newsgroups gmane.linux.drivers.hpofficejet.devel
Organization Threshold Digital, Ltd.
Message-ID <[email protected]>
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 
a report I set up through the controls on the system, so I know the printer 
itself works.  Could it be a problem with a faulty printer -- at least in the 
communications part?  Does the fact that "ptal-connect -service echo" doesn't 
work (neither does ptal-print) indicate anything about faulty communications?

I've changed the loglevel in Cups to debug.  It looks like Cups uses 
ptal-print to talk to the printer (at least at one point).  Is this the 
actual print command?  It seems to me I could cut out extra factors if I knew 
the actual commands CUPS uses to send a command to the printer and knew what 
to make of the returned errors.

Thanks!

Hal



> -----Original Message-----
> From: hpoj-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> [mailto:hpoj-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Hal Vaughan
> Sent: Wednesday, August 11, 2004 8:48 AM
> To: [email protected]
> 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=13637
> gDebugFlag=0
> pBufferPool: available#=2, size=4102, requested#=230, allocated#=3
> noFork=0 stayActivated=0 noDrain=0 forceMlcDot4=0 noDot4=0
> noPmlMultiplexing=0 sleepBeforeOpen=0
> initialized=1
> fd=5: read=1, write=0
> fd=8: read=1, write=0
> fd=9: read=1, write=0
> fdCount=10
> exContext=2
> exState=2
> exActivateCount=1
> exCloseCount=0
> exCloseReason=0x0000
> exReactivateFlag=0
> tryDot4=1
> tryMlc=1
> transportMode=2=1284.4
> miser=0
> argcOriginal=22
> 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=0
> fdNull=4
> pFreeMsgPool: depth=2
> pPendingMsgQueue: depth=0
> pActiveTimerQueue: depth=0
> pPeriodicTimerQueue: depth=1
> select timeout: sec=0, usec=500000, infinite=0 consoleAllowRemote=0
> consoleOldStdin=6
> consoleOldStdout=7
> consoleIsRemote=0
> socketSuffix=<usb:hp5510>
> socketAliasSuffix=<>
> socketName=</var/run/ptal-mlcd/usb:hp5510>
> socketAliasName=<>
> socketFd=5
> pmlTransportSession=8
> pmlCurrentSession=-1
> pmlLastSession=24
> llioPossibleName[0]=</dev/usb/lp0>
> llioPossibleName[1]=</dev/usb/lp1>
> llioPossibleName[2]=</dev/usb/lp10>
> llioPossibleName[3]=</dev/usb/lp11>
> llioPossibleName[4]=</dev/usb/lp12>
> llioPossibleName[5]=</dev/usb/lp13>
> llioPossibleName[6]=</dev/usb/lp14>
> llioPossibleName[7]=</dev/usb/lp15>
> llioPossibleName[8]=</dev/usb/lp2>
> llioPossibleName[9]=</dev/usb/lp3>
> llioPossibleName[10]=</dev/usb/lp4>
> llioPossibleName[11]=</dev/usb/lp5>
> llioPossibleName[12]=</dev/usb/lp6>
> llioPossibleName[13]=</dev/usb/lp7>
> llioPossibleName[14]=</dev/usb/lp8>
> llioPossibleName[15]=</dev/usb/lp9>
> llioPossibleNameCount=16
> llioName=</dev/usb/lp0>
> llioOverrideDeviceID=<>
> llioMatchDeviceID[0]=<MDL:officejet 5500 series;>
> llioMatchDeviceID[1]=<SN:MY44CF101396;>
> llioMatchDeviceIDCount=2
> llioFd=9
> llioDummyFd=-1
> llioPollState=2
> llioLastHitTime=1092238335
> llioForwardBdrQueue: depth=0
> llioDeviceID=<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=<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=2
> llioDeviceAddress=7
> llioVendorID=0x03F0
> llioProductID=0x3A11
> llioCurrentProtocol=2
> llioSupportedProtocols=0x04
>
> Transport:
> this=0x08069300
> port=0
> pMgr=0x08068628
> pPhysicalPort=0x08068628
> forwardTransactionCounter: current=128, initial=128, low=126, high=128,
> max=128
> channelCount=17
> channelArray=0x080694F0
> channelArray[0]=0x08069538
> channelArray[1]=0x08069830
> channelArray[2]=0x08069A30
> channelArray[3]=0x08069C30
> channelArray[4]=0x08069E30
> channelArray[5]=0x0806A030
> channelArray[6]=0x0806A230
> channelArray[7]=0x0806A430
> channelArray[8]=0x0806A630
> channelArray[9]=0x0806A830
> channelArray[10]=0x0806AA30
> channelArray[11]=0x0806AC30
> channelArray[12]=0x0806AE30
> channelArray[13]=0x0806B030
> channelArray[14]=0x0806B230
> channelArray[15]=0x0806B430
> channelArray[16]=0x0806B630
> overheadBufferCount=0
> pNextTransport=0x00000000
> pForwardDataTimer=0x080693C8 (count=0)
> pForwardDataTimeoutMsg=0x08069398
> reverseDataBufferCount=180
> reverseDataBufferSize=4102
> maxForwardBdrsPerTransaction=4
> nextChannelToAllocate=17
> nextBlockedChannel=-1
> lookupQueue: depth=0, peek=0x00000000
> ----------------
> pForwardHeaderPool=0x08069408
> mlcChannelArray=0x080694F0
> pCommandChannel=0x08069538
> grcState=0
> reverseDataStopped=0
> tryDot4=1
> tryPreDot4=0
> tryMlc=1
> requestedRevision=0x20
> revision=0x20
> maxRemoteSockets=32
>
> Command channel:
> this=0x08069538
> port=0
> channel=0
> localSocket=0
> pTransport=0x08069300
> pMgr=0x08068628
> pPhysicalPort=0x08068628
> openingAnySetFlags=0x0010
> closingAnySetFlags=0x0124
> flags=0x0003
> countOpen=0
> countOpenFailure=0
> pService=0x00000000
> scd=0x00000000
> forwardDataPriority=0
> minBuffersRequired=0
> benefitOfMoreBuffers=0
> reverseDataBufferSize=4102
> bufferCount=3
> remoteSocket=0
> maxForwardDatalen=58
> maxReverseDatalen=58
> countForwardData=38
> countReverseData=38
> countReverseBuffers=38
> countReverseBufferReturns=38
> lastReverseBuffer=0x00000000
> currentForwardBuffer=0x00000000
> currentGrabbedCredit=-1
> currentGrabbedTransaction=-1
> ----------------
> pMlcTransport=0x08069300
> pCommandChannel=0x08069538
> disableCreditCommands=1
> pForwardCreditRequestTimer=0x080696D0
> pForwardCreditRequestMsg=0x080696A0
> pReverseCreditHeartbeatTimer=0x08069738
> pReverseCreditHeartbeatMsg=0x08069708
> musherFirstCreditRequestDelay=2
> musherNextCreditRequestDelay=5
> gusherFirstCreditRequestDelay=5
> gusherNextCreditRequestDelay=10
> miserFirstCreditRequestDelay=0
> miserNextCreditRequestDelay=2
> gusherPiggybackCreditCount=1
> gusherCreditCount=2
> miserCreditRequestCount=2
> workaroundReverseCreditLoss=0
> maxForwardPacketSize=64
> maxReversePacketSize=64
> forwardCreditRequest=16
> forwardMaxOutstandingCredit=1
> forwardCredit: current=1, initial=1, low=0, high=2, max=65535
> lastCreditRequestGotUsNowhere=0
> reverseMaxOutstandingCredit=1
> reverseBuffersPerPacket=1
> uncreditedBuffers=0
> reverseCreditToGrant=2
> reverseCredit: current=1, initial=1, low=0, high=2, max=65535
> countSendPiggybackCredit=38
> countHandlePiggybackCredit=38
> countSendCredit=0
> countHandleCredit=0
> countHandleCreditAfterCreditRequest=0
> countSendCreditRequest=0
> countHandleCreditRequest=0
> countSendEmptyCreditRequestReply=0
> countHandleEmptyCreditRequestReply=0
> isGusher=1
> ----------------
> pForwardCommandPool=0x08069770
> pForwardNonconsumingQueue=0x08069790
> pForwardReplyQueue=0x080697A0
> pForwardRequestQueue=0x080697B0
> forwardRequestCredit: current=1, initial=1, low=0, high=1, max=65535
> pCommandReplyTimer=0x080697F0 (count=0)
> pCommandReplyTimeoutMsg=0x080697C0
> allowErrorPackets=1
> lastPsid=-1
> lastSsid=-1
>
> Session 0: type=command
>         state=1
>         fd=8
>         scdlink=-1
>         pLookup=0x08068DE8
>         outstandingForwardBdrCount=1
>         pReverseBdrQueue: depth=0
>         tcd=0x00000000
>         pCommandBdr=0x0806DA38
>         pmlTrapsRegistered=0
>         bitbucketSocket=0
>
> Session 8: type=transport
>         state=6
>         fd=10
>         scdlink=-1
>         pLookup=0x080690E8
>         outstandingForwardBdrCount=0
>         pReverseBdrQueue: depth=0
>         tcd=0x08069830
>         pCommandBdr=0x00000000
>         pmlTrapsRegistered=0
>         bitbucketSocket=0
>
> Transport channel for session 8:
> this=0x08069830
> port=0
> channel=1
> localSocket=128
> pTransport=0x08069300
> pMgr=0x08068628
> pPhysicalPort=0x08068628
> openingAnySetFlags=0x0010
> closingAnySetFlags=0x0124
> flags=0x0003
> countOpen=1
> countOpenFailure=0
> pService=0x08068628
> scd=0x00000008
> forwardDataPriority=0
> minBuffersRequired=10
> benefitOfMoreBuffers=1
> reverseDataBufferSize=4102
> bufferCount=12
> remoteSocket=1
> maxForwardDatalen=2046
> maxReverseDatalen=2046
> countForwardData=2
> countReverseData=2
> countReverseBuffers=2
> countReverseBufferReturns=2
> lastReverseBuffer=0x0806DA38
> currentForwardBuffer=0x00000000
> currentGrabbedCredit=-1
> currentGrabbedTransaction=-1
> ----------------
> pMlcTransport=0x08069300
> pCommandChannel=0x08069538
> disableCreditCommands=0
> pForwardCreditRequestTimer=0x08069990
> pForwardCreditRequestMsg=0x08069960
> pReverseCreditHeartbeatTimer=0x080699F8
> pReverseCreditHeartbeatMsg=0x080699C8
> musherFirstCreditRequestDelay=2
> musherNextCreditRequestDelay=5
> gusherFirstCreditRequestDelay=5
> gusherNextCreditRequestDelay=10
> miserFirstCreditRequestDelay=0
> miserNextCreditRequestDelay=2
> gusherPiggybackCreditCount=1
> gusherCreditCount=2
> miserCreditRequestCount=2
> workaroundReverseCreditLoss=0
> maxForwardPacketSize=2052
> maxReversePacketSize=2052
> forwardCreditRequest=16
> forwardMaxOutstandingCredit=65535
> forwardCredit: current=1, initial=0, low=0, high=1, max=65535
> lastCreditRequestGotUsNowhere=0
> reverseMaxOutstandingCredit=65535
> reverseBuffersPerPacket=1
> uncreditedBuffers=0
> reverseCreditToGrant=0
> reverseCredit: current=12, initial=12, low=11, high=12, max=65535
> countSendPiggybackCredit=0 countHandlePiggybackCredit=0
> countSendCredit=3
> countHandleCredit=3
> countHandleCreditAfterCreditRequest=0
> countSendCreditRequest=0
> countHandleCreditRequest=0
> countSendEmptyCreditRequestReply=0
> countHandleEmptyCreditRequestReply=0
> isGusher=1
>
>
> -------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hpoj-devel


-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.