From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Roland Hieber Date: Wed, 27 Sep 2017 14:22:16 +0200 Message-Id: <20170927122222.5517-1-r.hieber@pengutronix.de> Subject: [ptxdist] [PATCH v2 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 LQoKTm90ZXM6CiAgICBjaGFuZ2VzIGluIHYxIC0+IHYyOgogICAgIC0gaW5jbHVkZSBsaXN0IG9m IGtub3duIHBhcGVyIHNpemVzIGluIGtjb25maWcgaGVscAogICAgIC0gdXNlIHNuYXBzaG90LmRl Ymlhbi5vcmcgVVJMIGZvciBmdXR1cmUgc3RhYmlsaXR5CiAgICAgLSBwcm9wZXJseSB1c2UgcGF0 Y2hlcy9hdXRvZ2VuLnNoIGluc3RlYWQgb2YgY2FsbGluZyBhdXRvcmVjb25mIGluIHRoZQogICAg ICAgcHJlcGFyZSBzdGFnZQoKIHBhdGNoZXMvbGlicGFwZXItMS4xLjI0K25tdTUvYXV0b2dlbi5z aCB8ICAyICsKIHJ1bGVzL2xpYnBhcGVyLmluICAgICAgICAgICAgICAgICAgICAgICB8IDM4ICsr KysrKysrKysrKysrKysrKwogcnVsZXMvbGlicGFwZXIubWFrZSAgICAgICAgICAgICAgICAgICAg IHwgNjkgKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrCiAzIGZpbGVzIGNoYW5nZWQs IDEwOSBpbnNlcnRpb25zKCspCiBjcmVhdGUgbW9kZSAxMDA3NTUgcGF0Y2hlcy9saWJwYXBlci0x LjEuM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