后记 - 文档大小 [英] Postscript - document size

查看:50
本文介绍了后记 - 文档大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在postscript中设置页面大小?如何将文档旋转到宽度?..

how to set page size in the postscript? how to rotate the document to width? . .

%!
%% Example 1

newpath
100 200 moveto
200 250 lineto
100 300 lineto
2 setlinewidth
stroke

showpage

谢谢.

推荐答案

要将页面大小设置为 A4 横向使用:

To set the page size to A4 landscape use:

<setpagedevice

在第一个标记运算符之前.不需要旋转.
完整的 PostScript 参考位于 http://www.adobe.com/products/postscript/pdfs/PLRM.pdf

before the first marking operator. Rotation is not needed.
Full PostScript reference is at http://www.adobe.com/products/postscript/pdfs/PLRM.pdf

这篇关于后记 - 文档大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆