|
From: Mark H. <ha...@us...> - 2003-03-11 21:46:33
|
Hi Rafael,
> I have found one more problem. The generated PPD have the ShortNickName
> hard-coded. For example, the Epson-Epson_LQ_570_-omni-cups.ppd.gz has
> *ShortNickName:
"libXMLOmniDevice.so%20XMLMasterFile=%22/home/rafael/cvs/Omni/Epson/Epson%20LQ-570+.xml%22"
I am currently working on that code after your note.
A little architecture explination:
The XMLMasterFile="..." will tell the XML device which device to
emulate.
A fully qualified file like that will work if it exists and fail
otherwise.
A non-qualified file will work if the standard omni directory structure
exists
(/opt/Omni/share).
I had intended OMNI_XML_ROOT_PATH to handle the special scenario of
using a
build tree as source but generating an install tree as the target.
> if I move this file, cups will fail with
I assume that you have installed the driver somewhere and then
removed/renamed your
build directory to test it?
What path do you use as a share directory?
I have updated CVS with my current source.
Mark
Take a look at the Linux Omni Printer Driver Framework at
http://www.ibm.com/linux/ltc/projects/omni/
|