Closed Ahmed-E-86 closed 6 years ago
As far as I know Manjaro and Arch Linux doesn't support installation scripts in packages, so you will have to create a printer manually. You can use the following script scripts/installPrinter.sh.
Run it as root
The script works well, but when I print to Boomaga, I get this error : (Unknown format or input file) in print queue.
Do you have files like ~/.cache/boomaga_in_file_*
?
Are they normal size?
Show me output of file ~/.cache/boomaga_in_*
No such file or directory.
For more information about my system :
I apologize for the long silence I have been in offline. Do you have the directory ~/.cache ? If no create it and try again.
Look CUPS logs:
sudo journalctl -u cups --since "2018-04-18" |grep -i boomaga
Yes, I have the .cache directory.
And no output in the terminal for this script :
sudo journalctl -u cups --since "2018-04-18" |grep -i boomaga
ls -l /usr/lib/cups/backend/boomaga
-rwx------ 1 root root 13704 мар 22 21:26 /usr/lib/cups/backend/boomaga
I now install Manjaro from the scratch in a virtual machine. Executed the following commands:
sudo pacman -S git devtools cmake qt5-tools cups snappy poppler
git clone https://github.com/Boomaga/boomaga.git
mkdir boomaga/build
cd boomaga/build
cmake .. && make && sudo make install
sudo ../scripts/installPrinter.sh
And everything works well:
echo "Test" | lp -
Try to delete the existing virtual printer and install it again
sudo ./installPrinter.sh
I checked for permissions, and it's like this :
I removed Boomaga, and compiled it, and it gives me this error :
/usr/lib/cups/backend/boomaga must be owned by root.
sudo chown root:root /usr/lib/cups/backend/boomaga
Still gives the same error!
What does the same error, "has insecure permissions" or "unknown format of input file"?
ls -l /usr/lib/cups/backend/boomaga
it should be like -rwx------ 1 root root
@SokoloffA
I did a fresh installation of Manjaro, and I compiled Boomaga as you said before, and it gave me the same error after using Boomaga virtual printer which is (uknown format of input file).
I checked permissions and this is the result :
I got this error when I tried to use this command : sudo pacman -S git devtools cmake qt5-tools cups snappy poppler
I tried to use Ubuntu 18.04 instead of Manjaro, but it's not stable yet.
Any help will be apperaciated.
About "breaks dependency of the poppler". I don't know, I don't use Manjaro/Arch, please contact to Manjaro community.
About "unknown format of input file". Turn on debug mode in CUPS. This page should help you. Try to print and look for messages from the boomaga in the logs.
Someone reported the same issue that I have in the page of boomaga in AUR from 2 months ago (His name is F1iX), and I reported this issue as well.
@SokoloffA
I tried these commands in terminal :
cat /var/log/cups/error_log | grep boomaga journalctl | grep boomaga
and this is the output of terminal saved as pdf file
@SokoloffA
Could at least tell me what is Manjaro's release you used that worked without any problem with Boomaga?
I checked on Manjaro KDE 17.1.8. But Manjaro is a rolling release distribution, so everything can break at any time. Now I'm on vacation and I have no way to run Manjaro just now. When I return, I will try to find еру reason of "unknown format" error.
I fixed "Unknown format of input file" in the master branch.
Thank you so much. It is solved.
I tried to install Boomaga from AUR in Manjaro, but I didn't find Boomaga in the list of printers after the end of the installation, and I tried to add printer, and choose Boomaga, but I don't know what to write in connection.