亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 1559 | 回復: 3
打印 上一主題 下一主題

[SCO UNIX] 求助關于 lpr 打印的問題 [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2005-12-07 19:18 |只看該作者 |倒序瀏覽
我寫了一個shell腳本用于打印明細帳,可以讓它自己把一定時間內的帳頁按順序排好生成一個文件.可問題是用lpr命令打印這個文件,打出來以后發(fā)現和系統(tǒng)里打印出來的不太一樣.lpr打印的既長又寬,求助各位大俠我怎樣才能把它弄短和弄窄呢?

論壇徽章:
0
2 [報告]
發(fā)表于 2005-12-07 22:33 |只看該作者

回復 1樓 hgfa 的帖子

自己頂一下

論壇徽章:
0
3 [報告]
發(fā)表于 2005-12-08 10:22 |只看該作者
自己man lpr就能找到答案了,openserver的man:
-o length=sdn
Print a request with pages that are sdn long. sdn is a scaled decimal number; its units are indicated by appending a letter ``i'' (for inches) or ``c'' (for centimeters). If no units are specified, sdn is assumed to be a absolute number of lines.
For example, length=66 indicates a page length of 66 lines, length=11i indicates a page length of 11 inches, and length=27.94c indicates a page length of 27.94 centimeters.

This option cannot be used with the -f option.


-o width=sdn
Print the output of this request with a page-width of sdn. sdn is a scaled decimal number; its units are indicated by appending a letter ``i'' (for inches) or ``c'' (for centimeters). If no units are specified, sdn is assumed to be a absolute number of columns.
This option cannot be used with the -f option

論壇徽章:
0
4 [報告]
發(fā)表于 2005-12-08 20:51 |只看該作者
E文不行啊,能不能告訴我怎么用才能達到我的目的呀
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯網協會會員  聯系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP