As an update to this post, I have found this man's Baptism Record in 1875 in the village of Sela Zagorska in Croatia. His confirmed name is Joannes Znidarec. However, I am still keen to track down his military record, which from previous posts would suggest he served in the Austro-Hungarian Army in Trieste.