将自定义页面大小添加到.ppd的最简单方法是什么? [英] What's the easiest way to add custom page sizes to a .ppd?

查看:212
本文介绍了将自定义页面大小添加到.ppd的最简单方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将自定义页面尺寸添加到打印机的.ppd(PostScript打印机定义)文件中.我必须添加什么才能使新页面大小正常工作?

I would like to add custom page sizes to my printer's .ppd (PostScript printer definition) file. What do I have to add to get a new page size working properly?

推荐答案

我有一台Samsung打印机,所以我将源代码下载到了SpliX驱动程序中.驱动程序源包含一个Makefile,用于从列出了可用页面大小的源中更简洁地编译.ppd.现在,缺少的纸张尺寸将显示在打印"对话框的选项中.

I have a Samsung printer so I downloaded the source code to the SpliX drivers. The driver source includes a Makefile to compile .ppd from sources that list the available page sizes much more succinctly. Now that missing paper size shows up in the print dialog's options.

(这并不能解决我在小纸上打印的问题.我真正的自定义纸张尺寸问题可能与应用程序与杯子交谈以及从.ps到.pdf转换为杯子的首选页面输入方式有关.在Ubuntu 9.04中...)

(That did not solve my problem printing onto small paper. My real problem with custom paper sizes likely has something to do with the way applications talk to cups and the switch from .ps to .pdf as the preferred page input to cups in Ubuntu 9.04...)

这篇关于将自定义页面大小添加到.ppd的最简单方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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