On Oct 23 17:22:37, rsyk...@disroot.org wrote: > after upgrading to OpenBSD 7.4 (as far as I can tell), > a2ps program stopped working:
Do you mean specificaly the upgrade of the base system, or the ugraded a2ps package? I doubt the _system_ upgrade itself broke a2ps ... > ;a2ps /home/ruda/mnt/tarkil/SIMUL/acceptance/accept1detE0.ijs What an ijs file and how does a2ps know it's a plain text file? Is that the default? > [/home/ruda/mnt/tarkil/SIMUL/acceptance/accept1detE0.ijs (plain): 2 pages on > 1 sheet] > Usage: a2ps-lpr-wrapper [-d printer] FILE... > a2ps: received SIGPIPE Who is the caller of a2ps-lpr-wrapper? Does a2ps itselt call it? Or some script you have? What your /etc/printcap ? > It seems to me that a2ps-lpr-wrapper expects a FILE argument, > while a2ps (which invokes the wrapper?) does not supply one... > > Has anybody else had this issue? > Thanks for comments. > > Loosely related: What program do you use to print utf8 > encoded text file to a postscipt printer? (Neither a2ps, nor > enscript does it. u2ps is in ports. > At this moment I either remove any > diacritics with 'recode -f utf8..flat ...', Or you can iconv -t to some encoding that a2ps supports. Jan