ppd

What's the easiest way to add custom page sizes to a .ppd?

狂风中的少年 提交于 2019-12-04 23:00:08
问题 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? 回答1: You have to add values for each additional page size at 4 different places: for PageSize , for PageRegion , for ImageableArea and for PaperDimension Best, you take one PPD and search for sections enclosed in these keywords *OpenUI *PaperSize: PickOne .... *CloseUI *PaperSize . *OpenUI *PageSize: PickOne .... *CloseUI *PageSize and