From 27069bea63309f09ab6352474505fe18497a7346 Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 19 Feb 2007 20:20:35 +0000 Subject: [PATCH] Fix ps output so that page numbers appear in paginated output. --- plugin/core/gvrender_core_ps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/core/gvrender_core_ps.c b/plugin/core/gvrender_core_ps.c index 9539cf9fe..0b8edfba7 100644 --- a/plugin/core/gvrender_core_ps.c +++ b/plugin/core/gvrender_core_ps.c @@ -135,11 +135,11 @@ static void psgen_begin_page(GVJ_t * job) if (job->render.id == FORMAT_PS2) core_printf(job, "<< /PageSize [%d %d] >> setpagedevice\n", pbr.UR.x, pbr.UR.y); + core_printf(job, "%d %d %d beginpage\n", + job->pagesArrayElem.x, job->pagesArrayElem.y, job->numPages); if (job->common->show_boxes == NULL) core_printf(job, "gsave\n%d %d %d %d boxprim clip newpath\n", pbr.LL.x, pbr.LL.y, pbr.UR.x, pbr.UR.y); - core_printf(job, "%d %d %d beginpage\n", - job->pagesArrayElem.x, job->pagesArrayElem.y, job->numPages); core_printf(job, "%g %g set_scale %d rotate %g %g translate\n", job->scale.x, job->scale.y, job->rotation, -- 2.40.0