📄 00000005.htm
字号:
<BR> #!/bin/sh <BR> gs <options> -q -dSAFER -sOutputFile=- - | \ <BR> lpr -Plj-5-remote -U$5 <BR> <BR> <BR> The -U option to lpr only works if lpr is run as daemon, and it sets the <BR>submitter's name for the job in the resubmitted queue correctly. You should <BR>probably use a more robust method of getting the username, since in some cases <BR>it is not argument 5. See the man page for printcap <BR> <BR> <BR> <BR>10. How to print to a fax machine. <BR> <BR> 10.1. Using a faxmodem <BR> <BR> 有一大堆可让你收发 fax 的程式等著你用, 其中最复杂的一个是 Sam Leffler <BR>的 HylaFax, 可在 ftp.sgi.com 找到. It supports all sorts of things from <BR>multiple modems to broadcasting. <BR> <BR> 另一个有用的程式(也许比HylaFax好用些)是 efax, 一个很简单的送 fax 的程 <BR>式. The getty program mgetty can receive faxes (and even do voicemail on some <BR>modems!). <BR> <BR> 10.2. Using the Remote Printing Service <BR> <BR> 有些地方可能提供你这种服务---将你想印(或FAX)的东东 e-mail 过去. 他们 <BR>可支援一些好格式(例如: PostScript), 虽然□围可能无法遍及全球, 但这仍是一 <BR>项很有用的服务. 如果想知道更多关於远方列印服务的资讯, 请看FAQ <BR><<A HREF="http://www.town.hall.org/fax/faq.html>.">http://www.town.hall.org/fax/faq.html>.</A> <BR> <BR> <BR> <BR>11. How to generate something worth printing. <BR> <BR>Here we get into a real rat's-nest of software. 基本上, Linux 可以跑四种不同的 <BR>二元档, Linux, iBCS, Win16 (with dosemu and, someday, with Wine), and Mac/68k <BR>(with Executor). 在这我只讨论 Linux 和一般的 UNIX software. 没提到的有 <BR>WordPerfect for SCO, 和一些其它在 Linux's iBCS 下跑得很好的商业文书处理软体。 <BR> <BR>以 Linux 本身来说, 可以选择的软体几乎都是一般 unix 上的软体. <BR> <BR> 11.1. Markup languages <BR> <BR> 大部分的标示语言都适用於大型或可重覆的专案上, 你必须控制好文字的输 <BR>出, 使之一致. 想用标示语言做出一个好看的的画面还真令人伤脑筋... <BR> <BR> nroff <BR> 这是 unix 上第一个标示语言, Man pages 通常就是使用 *roff 巨集的格 <BR>式; 很多人信任它, 但对我而言, nroff 却有一些不必要的神秘难懂的语法. 而且 <BR>对现代的工作而言, 它可能有点贫乏了. 由於这是个知名的格式, 你可以用 <BR>groff 直接将 man pages 排版成 postscript 的格式. 利用man -t foo | lpr 指令可以 <BR>做到. <BR> <BR> TeX <BR> TeX, 和 LaTeX 巨集, 也是 unix 上很常用的标示语言, 技术性文件通 <BR>常都用 LaTeX 写成, 因为它使 layout issues 变得很单纯, 而且它也是少数较佳 <BR>的支援数学符号的文书处理系统. TeX 的输出格式是 dvi, 可用 dvips 或 dvilj <BR>将之转成 PostScript 或 Hewlett Packard 的 PCL 格式. <BR> <BR> SGML <BR> There is at least one free sgml parser available for Unix and Linux; <BR>it forms the basis of Linuxdoc-SGML's homegrown document system. It can <BR>support other DTD'S, as well. <BR> <BR> HTML <BR> 有人说简单的专案写成 HTML 然後用 netscape 印出就好了, I disagree, <BR>but YMMV. <BR> <BR> 11.2. WYSIWYG <BR> 所视即所得的文书处理 software 的软体好像很缺乏耶...随便写一些, 如果我 <BR>有遗漏的请让我知道. <BR> <BR> Lyrix <BR> Lyrix is a front-end to LaTeX which looks very promising. <BR> <BR> The Andrew User Interface System <BR> AUIS includes ez, a WYSIWYG-style editor with most basic word processor <BR>features, HTML capabilities, and full MIME email and newsgroup support. <BR> <BR> <BR> <BR>12. Ghostscript <BR> <BR>Ghostscript, 一个在 Linux printing 中很重要的程式, 用来处理 PostScript 的列 <BR>印. 一般 unix 下的此类程式大概都要 $100~300 不等, 但此程式却是 free 的 <BR>(不可思议), 并且能将 PostScript 转成你印表机可接受的语言, 如果你觉得使用 <BR> lpd filter 太麻烦了, 那它可使你轻易地拥有一台模拟可印 PostScritp 的印表 <BR>机喔 ! <BR> <BR>Ghostscript 有二种格式, 商业版的 Ghostscript 叫 Aladdin Ghostscript, 可以免费 <BR>的为个人使用, 但不能随著商业的 linux 套件发行. 现在的 Ghostscript 可以处 <BR>理 Adobe Acrobat's Portable Document Format 了, 以前不行 ! <BR> <BR>Free 版的 Ghostscript 是 GNU Ghostscript, 是一个早期较简易的 Aladdin <BR>eGhostscript 版本,(Kudos to Aladdin for this arrangement; more software <BR>vendors should support free software in this way). <BR> <BR>Ghostscript 最主要的缺点是它的字型, 是由 bitmap 产生的. 但是还好, 你可以 <BR>从很多地方取得商业上授权的字型, 因为 Ghostscript 可读取 Adobe type 1 的 <BR>字型. 所以你可以用 Acrobat PDF reader 的字型, 或用 Adobe's ATM 的字型等 <BR>等. <BR> <BR>当你使用 gs 的时候, 请注意将 file access 的选项关了(-dSAFER), PostScript 是 <BR>一个多功能的语言, 一个写得不好的 PostScript 程式可能会让你很头痛. <BR> <BR> <BR> <BR>13. On-screen previewing of printable things <BR> <BR>几乎所有你要印的东东都可以在营幕上预视喔! <BR> <BR> 13.1. PostScript <BR> <BR> Ghostscript 在 X11 下有个很好的 PostScript 预视软体叫 Ghostview. 此软体 <BR>的最新版本也可以看 PDF 的格式. <BR> <BR> 13.2. TeX dvi <BR> <BR> TeX DeVice 在 X11 下借由 xdvi 来预视. 目前的 xdvi 已叫做 ghostscript. <BR> 也有一个在 VT100 下的软体叫 dgvt. 在 Linux 下须有 svgalib 来预视. <BR> <BR> <BR> <BR>14. Credits <BR> <BR>The smbprint information is from an article by Marcel Roelofs <BR><<A HREF="mailto:marcel@paragon.nl>.">marcel@paragon.nl>.</A> <BR> <BR>The nprint information for using Netware printers was provided by <BR>Michael Smith <<A HREF="mailto:mikes@bioch.ox.ac.uk>.">mikes@bioch.ox.ac.uk>.</A> <BR> <BR>The serial printers under lpd section is from Andrew Tefft <BR><<A HREF="mailto:teffta@engr.dnet.ge.com>.">teffta@engr.dnet.ge.com>.</A> <BR> <BR> <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -