1
Applications / ArcaOS 5.1.0 and cups
« on: September 15, 2023, 08:40:22 pm »
Hi All
Having got 5.1.0 installed and seems to be working well I decided to hook up my printer.
Having watched the install stuff loads of "legacy printer drivers" on to the hard drive it was a bit disappointing to find that cups does not get installed.
Used ANPM to install the various cups bits and hplip to get my HP Envy Photo 6234 working, started the Install CUPS Printer and got:-
"CUPSLPR.EXE not found"
or words to that effect.
A quick search of hard disk and DVD discovers no trace of cupslpr.exe - luckily I (thought I) knew the answer to this problem: copy the lpr.exe supplied with cups and now living in @unixroot\usr\bin to [BootDrive]:\tcpip\bin\cupslpr.exe
Well, Install CUPS Printer was happy with that and I got my printer installed.
All was looking good until I actually tried to print from Lucide which showed an error message about connecting to spooler to which I clicked Retry which seemed to have worked but nothing came out of the printer.
Checking the OS/2 printer there was nothing waiting to print, printer and driver setup looks good nothing obviously wrong.
Checking the cups side of things via the cups browser interface No Job got to cups...
I retried printing the document. This time it got stuck in the os/2 spooler waiting to pass the job to the cups spooler. Deleted the os/2 print job and had a think...
I checked the working cups setup on my old system and noticed that the lpr.exe files are very different sizes - the old system uses Pauls cups 2.1.0 zip packages which are unpacked into their own directories rather than scattered around inside @unixroot/usr. Could be that the ANPM installed cups (2.2.13) supplied lpr.exe relies on other files within @unixroot/usr...
I copied @unixroot\usr\bin\lpr.exe to @unixroot\usr\bin\cupslpr.exe, moved CUPS Daemon out of the Startup folder, checked the spooled print job had been deleted then rebooted.
After reboot I deleted [BootDrive]:\tcpip\bin\cupslpr.exe, started CUPS Daemon and retried printing from Lucide: Success.
Regards
Pete
Having got 5.1.0 installed and seems to be working well I decided to hook up my printer.
Having watched the install stuff loads of "legacy printer drivers" on to the hard drive it was a bit disappointing to find that cups does not get installed.
Used ANPM to install the various cups bits and hplip to get my HP Envy Photo 6234 working, started the Install CUPS Printer and got:-
"CUPSLPR.EXE not found"
or words to that effect.
A quick search of hard disk and DVD discovers no trace of cupslpr.exe - luckily I (thought I) knew the answer to this problem: copy the lpr.exe supplied with cups and now living in @unixroot\usr\bin to [BootDrive]:\tcpip\bin\cupslpr.exe
Well, Install CUPS Printer was happy with that and I got my printer installed.
All was looking good until I actually tried to print from Lucide which showed an error message about connecting to spooler to which I clicked Retry which seemed to have worked but nothing came out of the printer.
Checking the OS/2 printer there was nothing waiting to print, printer and driver setup looks good nothing obviously wrong.
Checking the cups side of things via the cups browser interface No Job got to cups...
I retried printing the document. This time it got stuck in the os/2 spooler waiting to pass the job to the cups spooler. Deleted the os/2 print job and had a think...
I checked the working cups setup on my old system and noticed that the lpr.exe files are very different sizes - the old system uses Pauls cups 2.1.0 zip packages which are unpacked into their own directories rather than scattered around inside @unixroot/usr. Could be that the ANPM installed cups (2.2.13) supplied lpr.exe relies on other files within @unixroot/usr...
I copied @unixroot\usr\bin\lpr.exe to @unixroot\usr\bin\cupslpr.exe, moved CUPS Daemon out of the Startup folder, checked the spooled print job had been deleted then rebooted.
After reboot I deleted [BootDrive]:\tcpip\bin\cupslpr.exe, started CUPS Daemon and retried printing from Lucide: Success.
Regards
Pete