From owner-freebsd-questions@freebsd.org Wed May 6 05:48:29 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 7691A2E0CDD for ; Wed, 6 May 2020 05:48:29 +0000 (UTC) (envelope-from 4250.82.1d4c10004d39d60.5bc6dc5fb7975aa87fcbda0831478232@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 49H5HJ0XxRz45Ks for ; Wed, 6 May 2020 05:48:27 +0000 (UTC) (envelope-from 4250.82.1d4c10004d39d60.5bc6dc5fb7975aa87fcbda0831478232@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1588744108; x=1591336108; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=/H4ePX8FBmopjmweH47Ge9PX+DAyB/g/QX5Av8NxiZk=; b=PqAS9zIbjfCR1Z+ZEOGD5OcqOQ2hvsXQ+dVielUNrPNvtZ1RYq/cTDXB5Rd3ZEBjjmiyjT4HA3eg4kehKtxuuZkfhbbBRP76IDkhOEX7Jficp1/c80t1cy8999bBHtu8eBLFIRT3ZILJNTDOnNMENLU0n2uK2v0e96MoXyO7zD8= X-Thread-Info: NDI1MC45Mi4xZDRjMTAwMDRkMzlkNjAuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.us-east-1.aws.in.socketlabs.com (r3.us-east-1.aws.in.socketlabs.com [142.0.191.3]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 6 May 2020 01:48:19 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 6 May 2020 01:48:18 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jWCum-000Hl5-MB; Wed, 06 May 2020 06:48:16 +0100 Date: Wed, 6 May 2020 06:48:16 +0100 From: Steve O'Hara-Smith To: Victor Sudakov Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-Id: <20200506064816.c4fa781b864fac6df15e2759@sohara.org> In-Reply-To: <20200506022131.GB56526@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> <20200505161952.GA34844@admin.sibptus.ru> <20200505185510.00b622e3.freebsd@edvax.de> <20200505180101.GA35751@admin.sibptus.ru> <20200505202331.53374f21.freebsd@edvax.de> <20200506022131.GB56526@admin.sibptus.ru> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49H5HJ0XxRz45Ks X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=PqAS9zIb; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c10004d39d60.5bc6dc5fb7975aa87fcbda0831478232@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c10004d39d60.5bc6dc5fb7975aa87fcbda0831478232@email-od.com X-Spamd-Result: default: False [-0.52 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.872,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[sohara.org]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.975,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; IP_SCORE(0.02)[ip: (-0.20), ipnet: 142.0.176.0/22(0.29), asn: 7381(0.08), country: US(-0.05)]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c10004d39d60.5bc6dc5fb7975aa87fcbda0831478232@email-od.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c10004d39d60.5bc6dc5fb7975aa87fcbda0831478232@email-od.com]; MID_RHS_MATCH_FROM(0.00)[] 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: Wed, 06 May 2020 05:48:29 -0000 On Wed, 6 May 2020 09:21:31 +0700 Victor Sudakov wrote: > $ pkg info -o libpaper > libpaper-1.1.24.4 print/libpaper > $ file /usr/local/etc/papersize.* > /usr/local/etc/papersize.a4: ASCII text > /usr/local/etc/papersize.letter: ASCII text > > This does not work. And I really think if a2ps does not have The symlink /usr/local/etc/papersize pointing to one or other of those is what's needed (or -M a4 on the command line). > UTF-8/Cyrillic support, there is not much sense for me to try and fix > it. But it won't get you UTF-8 or anything other than ASCII. -- Steve O'Hara-Smith