Skip to content
Snippets Groups Projects
Commit ad22a89d authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

re-added %Page stuff

parent febabc2b
No related branches found
No related tags found
No related merge requests found
#include "Gmsh.h" #include "Gmsh.h"
#include "GmshUI.h" #include "GmshUI.h"
/* /*
* GL2PS, an OpenGL to Postscript Printing Library * GL2PS, an OpenGL to Postscript Printing Library
* Copyright (C) 1999-2001 Christophe Geuzaine * Copyright (C) 1999-2001 Christophe Geuzaine
* *
* $Id: gl2ps.cpp,v 1.28 2001-10-08 21:48:19 geuzaine Exp $ * $Id: gl2ps.cpp,v 1.29 2001-10-08 22:27:19 geuzaine Exp $
* *
* E-mail: Christophe.Geuzaine@AdValvas.be * E-mail: Christophe.Geuzaine@AdValvas.be
* URL: http://www.geuz.org/gl2ps/ * URL: http://www.geuz.org/gl2ps/
...@@ -1085,6 +1084,8 @@ GLvoid gl2psPrintPostscriptHeader(GLvoid){ ...@@ -1085,6 +1084,8 @@ GLvoid gl2psPrintPostscriptHeader(GLvoid){
"%%%%CreationDate: %s" "%%%%CreationDate: %s"
"%%%%LanguageLevel: 2\n" "%%%%LanguageLevel: 2\n"
"%%%%DocumentData: Clean7Bit\n" "%%%%DocumentData: Clean7Bit\n"
"%%%%Pages: 1\n"
"%%%%PageOrder: Ascend\n"
"%%%%Orientation: Portrait\n" "%%%%Orientation: Portrait\n"
"%%%%DocumentMedia: Default %d %d 0 () ()\n" "%%%%DocumentMedia: Default %d %d 0 () ()\n"
"%%%%BoundingBox: %d %d %d %d\n" "%%%%BoundingBox: %d %d %d %d\n"
...@@ -1133,6 +1134,9 @@ GLvoid gl2psPrintPostscriptHeader(GLvoid){ ...@@ -1133,6 +1134,9 @@ GLvoid gl2psPrintPostscriptHeader(GLvoid){
"/DeviceRGB setcolorspace\n" "/DeviceRGB setcolorspace\n"
"gl2psdict begin\n" "gl2psdict begin\n"
"%%%%EndSetup\n" "%%%%EndSetup\n"
"%%%%Page: 1 1\n"
"%%%%BeginPageSetup\n"
"%%%%EndPageSetup\n"
"mark\n" "mark\n"
"gsave\n" "gsave\n"
"1.0 1.0 scale\n", "1.0 1.0 scale\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment