From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Roland Hieber Date: Wed, 25 Oct 2017 22:57:45 +0200 Message-Id: <20171025205751.27273-1-r.hieber@pengutronix.de> Subject: [ptxdist] [PATCH v3 1/7] libpaper: new package: system-wide papersize configuration List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Roland Hieber U2lnbmVkLW9mZi1ieTogUm9sYW5kIEhpZWJlciA8ci5oaWViZXJAcGVuZ3V0cm9uaXguZGU+Ci0t LQoKTm90ZXM6CiAgICBjaGFuZ2VzIGluIHYyIC0+IHYzOgogICAgIC0gbGlicGFwZXIubWFrZTog aWZlcSAtPiBpZmRlZgoKIHBhdGNoZXMvbGlicGFwZXItMS4xLjI0K25tdTUvYXV0b2dlbi5zaCB8 ICAyICsKIHJ1bGVzL2xpYnBhcGVyLmluICAgICAgICAgICAgICAgICAgICAgICB8IDM4ICsrKysr KysrKysrKysrKysrKwogcnVsZXMvbGlicGFwZXIubWFrZSAgICAgICAgICAgICAgICAgICAgIHwg NjkgKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrCiAzIGZpbGVzIGNoYW5nZWQsIDEw OSBpbnNlcnRpb25zKCspCiBjcmVhdGUgbW9kZSAxMDA3NTUgcGF0Y2hlcy9saWJwYXBlci0xLjEu MjQrbm11NS9hdXRvZ2VuLnNoCiBjcmVhdGUgbW9kZSAxMDA2NDQgcnVsZXMvbGlicGFwZXIuaW4K IGNyZWF0ZSBtb2RlIDEwMDY0NCBydWxlcy9saWJwYXBlci5tYWtlCgpkaWZmIC0tZ2l0IGEvcGF0 Y2hlcy9saWJwYXBlci0xLjEuMjQrbm11NS9hdXRvZ2VuLnNoIGIvcGF0Y2hlcy9saWJwYX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