AFAICT the lp command does not support faxTo which the code assumes.
Looking at your Mac OSX SPI test:
lp -d testp3 -o phone=123123123 faxTo=\"TARGET_NAME\" \"test_file\"
It relies on faxTo being supported and I am not seeing that when I look at the man pages for lp on the latest OSX (12.1 Monterrey)
NAME
lp - print files
SYNOPSIS
lp [ -E ] [ -U username ] [ -c ] [ -d destination[/instance] ] [ -h hostname[:port]
] [ -m ] [ -n num-copies ] [ -o option[=value] ] [ -q priority ] [ -s ] [ -t title ]
[ -H handling ] [ -P page-list ] [ -- ] [ file(s) ]
lp [ -E ] [ -U username ] [ -c ] [ -h hostname[:port] ] [ -i job-id ] [ -n
num-copies ] [ -o option[=value] ] [ -q priority ] [ -t title ] [ -H handling ] [ -P
page-list ]
AFAICT the
lpcommand does not supportfaxTowhich the code assumes.Looking at your Mac OSX SPI test:
It relies on
faxTobeing supported and I am not seeing that when I look at themanpages forlpon the latest OSX (12.1 Monterrey)