Recent Posts

Pages: [1] 2 3 ... 10
1
Applications / Re: Using a scanner with hplip?
« Last post by Paul Smedley on Today at 05:21:55 am »
Mea Culpa - I had an old hpaio.dll in place.  However, similar results to what I had previously:

[dll] sane_open: trying to open `hpaio:/net/envy_photo_6200_series?ip=192.168.1.252'
[dll] load: searching backend `hpaio' in `./lib/sane;/sane/lib/sane'
[dll] load: trying to load `./lib/sane/hpaio.dll'
[dll] load: dlopen()ing `./lib/sane/hpaio.dll'
[dll] init: initializing backend `hpaio'
[sanei_debug] Setting debug level of hpaio to 255.
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 348
[dll] init: backend `hpaio' is version 1.0.0
[hpaio] sane_hpaio_open(/net/envy_photo_6200_series?ip=192.168.1.252): scan/sane/hpaio.c 387 scan_type=7 scansrc=1
MIB search path: C:\Home/.snmp/mibs;/net-snmp/share/snmp/mibs
Cannot find module (:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:HOST-RESOURCES-TYPES:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-FRAMEWORK-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB): At line 0 in (none)
U:\sane\scanimage.exe: open of device hpaio:/net/envy_photo_6200_series?ip=192.168.1.252 failed: Error during device I/O
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hpaio's exit function
[hpaio] sane_hpaio_exit(): scan/sane/hpaio.c 363
[dll] sane_exit: finished

Cheers,

Paul
2
Applications / Re: Using a scanner with hplip?
« Last post by Pete on Today at 05:11:26 am »
Hi Paul

Thought I'd spend a few minutes testing the cups printer setup re: the hplip hpcups.drv.

I started by deleting existing cups and gutenprint directories and unzipping cups2.1.0, gutenprint5.2.12, cups-filters1.0.71 and the 2 hplip3.18.12 packages into place. Created the gs.exe link in \cups\bin, started cupsd.exe and pointed seamonkey to localhost:631 - had to reload the page to clear the cache and get the correct page to appear.

Ran through the Add Printer routine without problems; printer found on the network and identified correctly, offered the correct driver/ppd file, completed the setup and printed the Test Page.

Only took a few minutes, maybe 6, and that included copying zip files down the network and unzipping them into place.

So, looks like hpcups.drv works. I would expect the ppd file generated to work fine with psprint.drv after the necessary cleanppd, ppdenc and pin processes - it looks identical to the ppd file I "borrowed" from the rpm hplip 3.17.11 package except for version numbers - and that works fine with psprint.


Regards

Pete
3
Applications / Re: Samba client on OS2 Warp 4.52
« Last post by Sean Casey on Today at 03:55:02 am »
Hi,

You will also need to install the smb NetDrive plugin.   You can find it here: http://trac.netlabs.org/samba

Once installed, use the NetDrive Volume menu and select "Attach New Volume" menu option.  You will then elect a drive letter to assign your mount point.

With your mount point highlighted within NetDrive, select the Resource menu and the "Mount Resource" menu option. You will be presented with a screen where you should see the option of "smbfs" which is your samba plugin you installed.   

Clicking the "Properties" button will present a screen where you identify your smb workgroup, server, share name, and login credentials.  Once you complete these entries and click the Done button, you will then have your mount point defined and it should be mounted and ready for use.

To save these settings for future use, select the NetDrive menu and the Volume Configuration Save option. 

If you ever lose your mount point due to network issues, you can restart NetDrive by selecting the NetDrive menu, and Control Program Start option.

4
Applications / Re: Using a scanner with hplip?
« Last post by Paul Smedley on Today at 01:30:52 am »
Hey Pete,

I notice that you do not mention where you got the hpaio.dll involved from - presumably an updated build as it appears to work.

Having spent a few hours trying to understand why hpaio.dll cannot get the data from models.dat here regardless of how I tweaked the hplip.conf file and noticing the different code line numbers in our logs I suspected that you could be using a different build of hpaio.dll - Yes, seems I currently have the naff one...  ;-)

I'm at work right now, so can't confirm the hpaio.dll in use - I should be able to do this when I get home tonight, ie in 8 hours or so - assuming I get to this before I go out for dinner with some ex-Holden colleagues :)

Cheers,

Paul.
5
Applications / Re: Using a scanner with hplip?
« Last post by Pete on Today at 12:39:19 am »
Hi Paul

I notice that you do not mention where you got the hpaio.dll involved from - presumably an updated build as it appears to work.

Having spent a few hours trying to understand why hpaio.dll cannot get the data from models.dat here regardless of how I tweaked the hplip.conf file and noticing the different code line numbers in our logs I suspected that you could be using a different build of hpaio.dll - Yes, seems I currently have the naff one...  ;-)

Getting Tame working with the scanner is an adventure I can put off until hpaio is sorted and reasonably stable - although I seem to recall a useful discussion about adding scanners to Tame on these forums recently  :-)

 
Regards

Pete
6
Applications / Re: Using a scanner with hplip?
« Last post by Paul Smedley on April 25, 2019, 11:56:31 pm »
Hi Pete,

I'm in Adelaide - which is GMT+8.5 - so not quite 12 hours :)

Can I suggest you keep things simple, and not bring Tame into the mix until things are known to be working?

For my testing, I had the /hplip directory from my post yesterday; and /sane from the Sane 1.0.27 package on my site.

I copied hpaio.dll to \sane\lib\sane ; added hpaio to  \sane\etc\sane.d\dll.conf and copied hpaio.conf to %ETC%

Then started scanimage with the command line provided.

I ran with:
set SANE_DEBUG_HPAIO=255
set SANE_DEBUG_DLL=0

I had DLL at 255 initially, but once I knew hpaio was being loaded, set it back to 0.

Yes, I believe the numbers in:
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 317

Are line numbers in the code. So one of us is running a different hpaio - it's just a matter of which one of us :)

PS - my setup appears to be working :P

Cheers,

Paul
7
Applications / Re: Samba client on OS2 Warp 4.52
« Last post by mauro on April 25, 2019, 07:48:42 pm »
ok installed Samba client and NetDrive, started NetDrive I have a blank panel…..can you lead me on the right way to get a shared resource (i.e my other volume on the system), or maybe I have to separately add the proper plugin?
Thanks

8
Applications / Re: Using a scanner with hplip?
« Last post by Pete on April 25, 2019, 05:00:02 pm »
Hi Paul

The problem with the approximate 12 hour time difference is that I am - or should be - in bed while you are on freenode. Guess I'll have to stay up very late or get up very early to do some live debugging  ;-)

Checking your hplip.conf I do not see anything obviously wrong with mine.

Had a look at hpaio.dll using PMdll and checked ANPM for possible *nixy updates; installed latest pthread and libcx from netlabs-exp.  No change.

Comparing your log output to mine I see some differences that raise a question.

Your log snippet

[sanei_debug] Setting debug level of dll to 0.
[sanei_debug] Setting debug level of hpaio to 255.
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 317
[hpaio] sane_hpaio_open(/net/envy_photo_6200_series?ip=192.168.1.252): scan/sane/hpaio.c 351 scan_type=7 scansrc=1


My log snippet

[sanei_debug] Setting debug level of hpaio to 255.
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 348
[dll] init: backend `hpaio' is version 1.0.0
[hpaio] sane_hpaio_open(/net/envy_photo_6200_series?ip=192.168.1.252): scan/sane/hpaio.c 387 scan_type=0 scansrc=1556202374
scanimage: open of device hpaio:/net/envy_photo_6200_series?ip=192.168.1.252 failed: Operation not supported


My log does not have this line:  [sanei_debug] Setting debug level of dll to 0.
What debug values have you set before scanning?
I have these settings

  set SANE_DEBUG_HPAIO=255
  set SANE_DEBUG_DLL=255
  set sane_config_dir=j:\programs\sane\etc\sane.d

The hpaio] sane_hpaio_init(): scan/sane/hpaio.c lines have different values at the end; yours is 317, mine is 348
Are those values reflecting the line number of the code involved?

Following that line my log has: [dll] init: backend `hpaio' is version 1.0.0
Not shown in your log snippet.

I do have to ask: Are we using the same hpaio.dll ?
Mine is:

Directory of J:\PROGRAMS\SANE\LIB\SANE

19-04-19  3:07p         <DIR>    551 a---  .
21-03-19  5:13p         <DIR>    630 a---  ..
14-01-19  9:53a     2,334,352    223 a---  hpaio.dll


Regards

Pete





9
Applications / Re: Using a scanner with hplip?
« Last post by Paul Smedley on April 25, 2019, 07:57:46 am »
Hey Pete,

Obviously no problem reading the device attributes from models.dat in your setup as "scan_type=7 scansrc=1" are correct for the scanner.

Now to figure out what I have mis-configured...

Just in case I had left any traces of the rpm hplip files within the /hplip directory tree I deleted the tree and reinstalled files. No, that did not resolve the problem.

Not sure what to use in hplip.conf for the "bin= setting" which is currently set as m:/user/bin where the rpm installed *nixy programs live.

Another thought: Does hpaio.dll parse the models.dat file directly or does it call an external program?

I don't believe hpaio calls any external programs. My hpaio.conf is at http://smedley.id.au/tmp/hplip.conf

I'll be lurking in #netlabs on IRC in freenode on and off for the next few hours if you want to debug live...

Cheers,

Paul
10
Applications / Re: Using a scanner with hplip?
« Last post by Pete on April 25, 2019, 05:58:41 am »
Hi Paul

From your log output

"[hpaio] sane_hpaio_open(/net/envy_photo_6200_series?ip=192.168.1.252): scan/sane/hpaio.c 351 scan_type=7 scansrc=1"

it seems this should work...

Obviously no problem reading the device attributes from models.dat in your setup as "scan_type=7 scansrc=1" are correct for the scanner.

Now to figure out what I have mis-configured...

Just in case I had left any traces of the rpm hplip files within the /hplip directory tree I deleted the tree and reinstalled files. No, that did not resolve the problem.

Not sure what to use in hplip.conf for the "bin= setting" which is currently set as m:/user/bin where the rpm installed *nixy programs live.

Another thought: Does hpaio.dll parse the models.dat file directly or does it call an external program?


Regards

Pete



Pages: [1] 2 3 ... 10