注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

随机过程

http://superware.blog.163.com

 
 
 

日志

 
 

Using mpage  

2014-07-06 15:59:49|  分类: 默认分类 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

mpage

        mpage is a wonderful little utility. It will convert ASCII text into postscript in a variety of ways. One of the most useful of which is the ability to put more than one page of normal text onto a single side of a printed piece of paper. Using mpage to put multiple pages of code onto a single side of a page makes code easier to trace and saves a lot of paper.

mpage -2 main.c | lpr -P ps3457

Will print four pages of code onto a single sheet of paper (two pages per side). You can also just create a postscript file:

mpage -2 main.c $>$ main.ps

       mpage can also be used for postprocessing existing postscript. Say you have a large file of transparencies or slides that you've created and would like to print. If you just want to use the printout as a reference, you probably don't want twenty huge printouts of your twenty big slides. You can

mpage -4 presentation.ps | lpr -P ps3457

       To put four slides on a single side of a sheet of paper.

       If you familiarize yourself with mpage's options, you'll probably find a lot more uses. See the man page for the plethora of options.

  评论这张
 
阅读(52)| 评论(0)
推荐

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017