HPLIP on Mac OS X
Bug #694216 reported by
John Freed
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
In Progress
|
Undecided
|
Unassigned |
Bug Description
I have been working on porting HPLIP via MacPorts, and it works like a charm. This will be of tremendous use to people who want to scan using an HP All-In-One on the Mac. It works with xsane, and the scanner can be placed on the network with saned -- it all "just works."
There are a very few small problems with building the project -- two files won't compile because of scoping errors with "strnlen", and there is a symbol conflict in one file that prevents linking. Other than that, everything works fine.
I have attached patches for your consideration.
Changed in hplip: | |
status: | New → In Progress |
To post a comment you must log in.
Nice to know that HP LIP is working on Mac.
Thanks for providing these patches. i have few questions, can you please give me the details?
1. In the patches "patch- prnt_hpijs_ context2. cpp" and "patch- prnt_hpijs_ ljzjscolor. cpp" you have added functions LJ_strnlen() and APDK_strnlen() to strnlen(). context2. cpp" "prnt/hpijs/ ljzjscolor. cpp" and put the line below the header files inclusion "# include <string.h>"
we have included <string.h> in jinclude.h file and this header file we are given at the compile time through makefile.
can you give compilation errors displaying on MAC?
Instead of 2nd and 3rd patches, can you please try the following steps
open file "prnt/hpijs/
2. Instead of the first patch, can you apply the following settings and let me know the result
open file scan/sane/common.c
put "#ifdef HP_DEBUG" just above line of sysdump() definition and "#endif" in next line after end of sysdump() definition.
Thanks,
Naga Samrat Chowdary, Narla