免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1520 | 回复: 2
打印 上一主题 下一主题

谁能明白这是什么意思? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-01 17:24 |只看该作者 |倒序浏览
Linux下,CUPS打印共享,调整打印时,打印出调整页,内容如下:

Current settings:

OutputDevice:       pxlmono
Margins:                [0.0 0.0]
.Hwmargins:          [0.0 0.0 0.0 0.0]
./MarginsHWResolution:        [600.0 600.0]
PageOffset:            [0 0]
PageSize:               [595 842]


Graphics alignment:

Let the distance in inches from the left edge of the page to the vertical line be H,and from the bottom edge to the horizontal line be V.You may define the alignment of your page to the paper by with
        <</Margins[x y]>>setpagedevice
         x=(1-H)*600.0, y=(V-1)*600.0

If set correctly the drawn arrows should extend into the papers corners(not the clipping corners). After archieving that ,you may continue with the clipping edges.

The clipping edges may be set by

    <<./HWMargins[ml mb mr mt]>>setpagedevice

where[ml mb mr mt] are the distances of the clipped edges of your graphics relative to the papers edges (left bottom right top) measured in 1/72 inches. The wedge shaped rules may be used to define these values very accurately as its intersections are in 1/72 inches. Take the value at the cutoff point from the scale to the next clockwise edge.

Start setting the margin values to all zero to see the natural hardware clipping of your printer .You should then define the margins just as big enough to keep the defined margins within your printers real hardware clipping.This is archieved if you can see the thin line drawn all around your defined margin. In addition the thin drawn arrows are just touching the margin adn should be totally visible.

When you put this settings into your inititialzing file "gs_init.ps"
you may want to apply this setting to a scpecific printer device only.Here is an example of a printer specific setup:

<</ljet4<< %make entries for some device
/.HWMargins[16.0 13.2 13 11.1]
/Margins [-132 -92]

论坛徽章:
0
2 [报告]
发表于 2006-09-01 17:25 |只看该作者
有知道设置 其中的 [ml mb mr mt] 与Margins[x y]的值的高手吗?

论坛徽章:
0
3 [报告]
发表于 2006-09-03 10:35 |只看该作者
where[ml mb mr mt] are the distances of the clipped edges of your graphics relative to the papers edges (left bottom right top) measured in 1/72 inches.
是图像的边界到页面的边界的距离,1/72英寸为单位。ml中l表示 left。其他的mb表示bottom。 (left bottom right top)
其实是一个英文翻译问题吧。。。不说了。
Margins[x y]上面也有说,要不你去搜索一下中文的说明
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP