ports/90744: APSFILTER: character escape problem

Ports-bugs

rikFreeBSDorg
FreeBSD/RRC KI


Problems with space character in printer name (via samba).
If you enter <aaa bbb> as a printer name test will fail, but lpd
will work just fine, but you should guess that. If you enter
<"aaa bbb"> test from setup will work, but lpd(apsfilter) would
be unable to contact the printer.

Try to setup printing via samba with printer name with spaces.
just put "'" around server name and printer name in SETUP as it done
in apsfilter itself.

patch-SETUP:



@@ -1261,7 +1261,7 @@
                        SMB_LOGIN=""
                    fi
                    PRINT_TESTP_CMD="smbclient < '$TESTOUT' \
-                       //${SMB_SERVER}/${SMB_PRINTER} ${SMB_IP:+-I $SMB_IP} \
+                       '//${SMB_SERVER}/${SMB_PRINTER}' ${SMB_IP:+-I $SMB_IP} \                        ${SMB_LOGIN} ${SMB_WORKGROUP:+-W} ${SMB_WORKGROUP} \
                        -b 1400 -N -c 'print -'"
                elif [ "$INTERFACE" = netware ]; then

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[email protected]"
                                            
pavFreeBSDorg
Synopsis: APSFILTER: character escape problem

Responsible-Changed-From-To: freebsd-ports-bugs->andreas
Responsible-Changed-By: pav

Responsible-Changed-Why: 
Assume this relates to print/apsfilter and assign to it's maintainer

http://www.freebsd.org/cgi/query-pr.cgi?pr=90744
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[email protected]"