From a36ce0735ff6cad8124bd63a056a71d9495b238c Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Wed, 15 Jun 2011 12:46:55 +0200 Subject: s3-printing: fill devicemode size in migrate_printer() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/printing/nt_printing_migrate.c | 1 + source3/utils/net_printing.c | 1 + 2 files changed, 2 insertions(+) (limited to 'source3') diff --git a/source3/printing/nt_printing_migrate.c b/source3/printing/nt_printing_migrate.c index ec66dfe816..0cc151918a 100644 --- a/source3/printing/nt_printing_migrate.c +++ b/source3/printing/nt_printing_migrate.c @@ -318,6 +318,7 @@ static NTSTATUS migrate_printer(TALLOC_CTX *mem_ctx, dm.pelsheight = r.devmode->pelsheight; dm.pelswidth = r.devmode->pelswidth; dm.printquality = r.devmode->printquality; + dm.size = r.devmode->size; dm.scale = r.devmode->scale; dm.specversion = r.devmode->specversion; dm.ttoption = r.devmode->ttoption; diff --git a/source3/utils/net_printing.c b/source3/utils/net_printing.c index 2f8caad8fd..6e82c55afe 100644 --- a/source3/utils/net_printing.c +++ b/source3/utils/net_printing.c @@ -466,6 +466,7 @@ static NTSTATUS migrate_printer(TALLOC_CTX *mem_ctx, dm.pelsheight = r.devmode->pelsheight; dm.pelswidth = r.devmode->pelswidth; dm.printquality = r.devmode->printquality; + dm.size = r.devmode->size; dm.scale = r.devmode->scale; dm.specversion = r.devmode->specversion; dm.ttoption = r.devmode->ttoption; -- cgit