我是PostScript语言的新手。现在我正在使用ps打印缩放后的点阵图像。ps中默认dpi为72dpi,我想知道如何将其更改为600dpi。
我编写的代码如下,它是一个点阵的正方形。
%%Dot_unit
%%position setting
100 200 translate
%%size setting
52 49 scale
%%parameter setting:width height bit matrix
52 49 1 [52 0 0 -49 0 49]
%%dot unit discribe
{<
fff7ff7ff7ff7f
ffffffffffffff
ffffffffffffff
ffffffffffffff
fffff7ffff7fff
ffffffffffffff
ffffffffffffff
ffffffffffffff
ffffffffffffff
fdfffffdffffff
ffffffffffffff
ffffffffffffff
7ff7ff7ff7ff7f
ffffffffffffff
ffffffffffffff
ffffffffffffff
ffff7ffffff7ff
ffffffffffffff
ffbfffffbfffff
ffffffffffffff
ffffffffffffff
ffffffffffffff
ffffffffffffff
ffffffffffffff
7ff7ff7ff7ff7f
ffffffffffffff
ffffffffffffff
ffffffffffffff
fffffff7ffffff
ffffffffffffff
fffffbffffffff
ffffffffffffff
ff7fffffffffff
ffffffffffdfff
ffffffffffffff
ffffffffffffff
7ff7ff7ff7ff7f
ffffffffffffff
ffffffffffffff
ffffffffffffff
ffffffff7fffff
ffffffffffffff
ffffffffffffff
ffffffffffffff
ff7fffffffffff
7fffdfffffdfff
ffffffffffffff
ffffffffffffff
fff7ff7ff7ff7f
>}
image
showpage
-r
选项,它在使用图片文件设备时可以说是改变了dpi。 - luser droog