Closed guihkx closed 12 months ago
Same problem here. Printing doesn't work.
@astroty Have you tried adding the CUPS permission? I.e.:
flatpak override --user --socket=cups br.gov.fazenda.receita.irpf
Then restart the app and try printing again.
I've tried it through flatseal and gave it pretty much every permission and it didn't seem to wanna work "Houve uma falha na comunicação com a impressora e não foi possível concluir a impressão. Recomendamos salvar a declaração em PDF e imprimi-la novamente." Or, if instead of clicking "Visualisar", I choose "Imprimir" instead, it gives me this different error message:
The logs show F: CUPS configuration file '/home/user/.cups/client.conf': Erro ao abrir arquivo /home/user/.cups/client.conf: Arquivo ou diretório inexistente F: CUPS configuration file '/etc/cups/client.conf': Erro ao abrir arquivo /etc/cups/client.conf: Arquivo ou diretório inexistente
IRPF2023.log: https://gist.github.com/astroty/669efab7a1cc52d63ef58ba2c3f058c7
Yeah, that's unfortunate. The error messages you're getting seem to match the ones from the issue I linked in my first post. I'm not aware of a workaround yet.
This will likely be fixed if the issue below gets addressed:
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/issues/1636
It should be fixed in freedesktop 23.08.4+
Confirming fixed. Thanks!
🇧🇷 Como reproduzir o problema:
Visualizar
esteja selecionadaOk
O seguinte erro aparecerá:
Possível origem do bug: https://github.com/flatpak/flatpak/issues/3355
Alternativas
~/Documents
🇺🇸 Steps to reproduce:
Visualizar
radio button is the one selectedOk
Error pops up:
TL;DR: "Failed to communicate with the printer"
Likely upstream bug: https://github.com/flatpak/flatpak/issues/3355
Workarounds
~/Documents