You are not logged in.
From two different pdf viewers (zathura and xournal++) when I print a document (two sided, long edge) the first page is upside down, while all the following are fine.
I print thorugh gtk unix print dialog (e.g. in zathura :print), and I have cups installed and configured.
Is this a result of missing packges or wrong configuration?
I have another machine with Arch that can print fine the same document from the same printer, however that machine has full gnome, while I use dwm.
Last edited by pptp (2020-06-21 18:51:02)
Offline
Have you tried printing the same document from the command line using lpr?
If that works correctly, then it could be a per-user setting so you could try using a newly created user to print the same document.
If that does not work correctly, check your system-wide printer settings using the cups web interface.
You could also try the evince pdf viewer.
Cheers
Paul.
Offline
Thanks, I will try that.
Just as a reference for me: the printer is shared via smbclient. It was installed as
sudo lpadmin -p "$PRINTER_NAME" -v smb://... -i "$PPD_FILE" -o printer-is-shared=false -o printer-op-policy=authenticated -o auth-info-required=username,password -o ColorModel=Gray -o Finisher=FinRUBICONB -o RIPostScript=Adobe -u allow:all -EWhile I can print via the gtk unix print, which is able to access user/pwd stored in my keyring (keepassxc), the lpr command fails with
"Session setup failed: NT_STATUS_LOGON_FAILURE" Held for authentication. Of course, I can connect with smbclient.
Offline
As per your suggestion, I could narrow down the puzzle: if I install evince, which brings in
$ sudo pacman -S evince
Packages (3) gsfonts-20180524-3 gspell-1.8.3-1 evince-3.36.6-1then both zatura and evince print correctly from my user.
If I then remove it, I'm back to the problem with zathura.
In particular, if I install only gsfonts, then zathura prints correctly.
I'm unable to print with lpr, because smbspool fails with same NT_STATUS_LOGON_FAILURE (perhaps my password has strange characters, or I'm inputting user the wrong way in DEVICE_URI), while with smbclient I can print but only one-sided, as I cannot find a reference how to print two-sided.
Last edited by pptp (2020-06-19 10:32:29)
Offline
So to confirm, installing gsfonts solves this for you then?
I don't use samba so cannot comment on lpr not working in your case, but this is irrelevant if it's working using zathura or evince.
Cheers
Paul.
Offline
So to confirm, installing gsfonts solves this for you then?
Yes, thank you.
Should it then be a made a dependence of zathura?
I wrote more details just as a reference for myself ![]()
Offline
Glad you are sorted and maybe - it might be something to do with your particular setup?
Remember to prepend "[SOLVED] to your first post.
Offline