From owner-freebsd-questions@freebsd.org Thu May 7 05:10:05 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CFAD32ED732 for ; Thu, 7 May 2020 05:10:05 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49HhNY0Mdcz4pjX for ; Thu, 7 May 2020 05:10:04 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=R3QrF7RnfG5aOvQ+l8ek9PnZvYz1JsE7ZcjWnqXI9L8=; b=ejWuK/zxFxx+4CWnFkD1E+Ziln 0+/TgC7Gz6smqQI2gxks3V+eocUyb79+0rCuQCT9LeAZduN37baRT3hiM1R7OMIYZKm3ZpkIHKdN6 QsqtBZD7WFIJ9sYgLdPekShwkobZ6a8Rb/UJ2d7a5g30vnCx+xT++S0vitYF2qBz58Mc=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jWYnL-0002Tp-Hs; Thu, 07 May 2020 12:10:03 +0700 Date: Thu, 7 May 2020 12:10:03 +0700 From: Victor Sudakov To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-ID: <20200507051003.GB6626@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="U+BazGySraz5kW0T" Content-Disposition: inline In-Reply-To: <20200503192444.2d700440.freebsd@edvax.de> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 49HhNY0Mdcz4pjX X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=ejWuK/zx; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.21)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.18), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2020 05:10:05 -0000 --U+BazGySraz5kW0T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Polytropon wrote: > do exist. Here is the printer filter, /opt/libexec/ps2pcl-dup.sh: >=20 > #!/bin/sh > /usr/bin/printf "\033&k2G" || exit 2 > /usr/local/bin/gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER \ > -sDEVICE=3Dljet4d -sPAPERSIZE=3Da4 -r600x600 \ > -dDuplex=3Dtrue \ > -sOutputFile=3D- - && exit 0 > exit 2 Is -dDuplex=3Dtrue supposed to enable double-sided printing? Does not work for me somehow, though this printer is capable thereof (does print on both sides from Android/Mopria). --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --U+BazGySraz5kW0T Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJes5grAAoJEA2k8lmbXsY0ae4H/iV8weiwjwfWVpsjWUylMNJZ x3rUHrW40CQiceawUxMjhSIOZZ3tBREKC/gfVMf9lv/zTCbpoVV0mjj75b77PIGn MH4UqsDzYMQ3sr2Fwb3IL5NA+7c8pJnGzhmdFDYbCB7TwxRLNRhwx0TM+4YTxbAK jj7k6d/3VTZ9ynP/pIu5JFJLrXoEkK4B74VBgJlhRhV10rBstHJdoC1NLbtk+urj eWE92gHnFdn/YdGsoOG4J+GKp63yT3/IaV8FdM0H5DOKF0/IOg4NhVEHefaaGUSY 2VDxThpyjFTMRiTkCvjBpOf3rchvpPucaeDy7+hRonyJRl1tekQX/yFw6TJy19w= =29qM -----END PGP SIGNATURE----- --U+BazGySraz5kW0T--