I've been trying to figure out how to get latest CUPS working. I know that the default CUPS 1.1.23 works just fine. But as soon as I upgrade to CUPS 1.3.3, it broke something somewhere. I've also added Samba server 3.0.26 and the stuff won't play nice. Apart from that, paraport modules start to disappear on reboot. It's really odd to see paraport goes missing on next subsequent reboot, and yeah, all my printers are lpt ones ...
Finally made it to work by moving the samba spool folders to /tmp/spool. Gave sysinit a whack to load paraport if its gone. (Anyone who's having similar issue, just check if parport modules are loaded. If not, check my notes below ... or cups won't detect LPT ...) Now, all is working just fine on full hdd install ... Moving samba spools on /tmp allowed me to print ps and raw to lpt printers. Raw printer makes life easier for some of those windows98 machines that I have.
Then I thought, why not get cups-1.3.9 ?
Uh-oh ... there begins my journey ... Grabbed the stable release cups-1.3.9 and compiled it. Gosh, it was 12MB total ... Ok, need to slim it down a bit. So, away with the man pages and the locales ...
Installed it and ugh ... can't print now !? ... Kept getting permission denied, backend error, filter stops etc etc ... Hey, I'm setting the same permissions and spool samba folder as before, but, why doesn't it print ?
Finally traced it to /var/spool/cups folder permissions ... no matter what permissions I set, it just won't print ... ok, lets move it somewhere then ... and jackpot! All my troubles went away in a flash ...
Hastily prep-up a cups pet package and made several tests with LiveCD, frugal and hybrid LiveCD boots ... seems to work fine each time ... Honestly though, I dreaded of having to go thru the cups source code. My programming is virtually rusty and looking at thousand lines of codes is not my idea of having fun at the moment. So, I have added some codes to cups init script to create the tmp spools folders.
Well, I hope someone else who's having a tough time with the latest cups to give this a shot and let me know how it goes. I do not have any usb printer at the moment, so I'm interested to know if this still works.
note: these are no longer required. kept for historical record.
Code: Select all
1. Open a terminal and stop existing cupsd: 'killall cupsd'
2. Install the cups-1.3.9-i486
3. Add these lines to your /etc/cups/cupsd.conf (after LogLevel is ok)
RequestRoot /tmp/spool/cups
TempDir /tmp/spool/cups/tmp
4. In a terminal, start new cupsd: '/etc/init.d/cups start'
5. You should get msg: "cups: started scheduler"
6. Add printer/configure and make a test print
Code: Select all
If you're using LPT printer and paraport module disappear on next reboot. You'll need to manually load these modules. It should be loaded before cups starts.
Add these lines in rc.services before the the init.d services are called:
modprobe parport
modprobe parport_pc
modprobe lp
chmod 0666 /dev/lp0
Rgds
p/s: A BIG thank you to ttuuxxx for the heads-up on cups-1.4b2. Please refer to my post below.
cups_std-1.4b2-i486.pet : reworked cups packages specific for puppy 4.x.x
No longer available. Pm me if you really want it.
The recommended CUPS package is here.
For installation procedure click here:
http://www.murga-linux.com/puppy/viewto ... 591#269591
experimental usb printer backend as addon is available below.
Rgds
Added:
Was tested with Puppy Linux 4.1.1 and 4.1.2
Just tested with Puppy Linux 4.2alpha. Preliminary result confirmed it is working.
-----
Compiled new Cups-1.4b2
Preliminary testing done on Puppy Linux 4.1.1 and 4.1.2. So far so good.
-----
Latest pet reworked for simultaneous usb & lpt printers
experimental usb backend addon
.