betchern0t
Group: Members
Posts: 9
Joined: July 2006 |
|
Posted: July 08 2006,07:19 |
|
Ok. A weeks hard work later I have it printing but less than optimally:
1) use apt-get to install cupsys-bsd. This will install the following four packages: cupsys-bsd, cupsys-client, libcupsys2, libpng2. If you like you can also get gtklp
2) turn these into a dsl package by:
a) extracting the filenames in the packages into a file eg:
dpkg -c libpng2 | awk '{ print substr($6,2) }' | grep -v "\/$" >> files.tmp
b) use tar to archive them into the dsl package: tar -zcvf cups-client.dsl -T files.tmp
Note this information gleaned from reading the deb2dsl script
3) add the cups libs to the path in .bash_profile (/usr/lib). You may not need to do this however there is indication that one problem was the calls to the cups libs were failing.
4) run the shelled out lpr commands under root ie take the normal string starting with lpr and put sudo on the front. There was an indication that it was failing to write the spool file. I can't find where the permission are wrong. It could be that it is not file permissions but rather an issue with the pipes and socket calls these things do.
HTH
Paul
|