亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 430-432.html

?? linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
?? HTML
字號:
<HTML>

<HEAD>

<TITLE>Linux Unleashed, Third Edition:Ghostscript and Ghostview</TITLE>

<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!--ISBN=0672313723//-->

<!--TITLE=Linux Unleashed, Third Edition//-->

<!--AUTHOR=Tim Parker//-->

<!--PUBLISHER=Macmillan Computer Publishing//-->

<!--IMPRINT=Sams//-->

<!--CHAPTER=24//-->

<!--PAGES=430-432//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="426-430.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="432-435.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<P><FONT SIZE="+1"><B>Redirecting Ghostscript Output</B></FONT></P>

<P>Ghostscript allows you considerable flexibility in redirecting output to other devices. On the command line you can specify a device such as a printer with the <TT>-sDEVICE</TT> option. For example, if you have a device called HPLaser, you could redirect the output of the <TT>gs</TT> command to that printer with the command:</P>

<!-- CODE SNIP //-->

<PRE>

gs -sDEVICE=HPLaser filename.ps

</PRE>

<!-- END CODE SNIP //-->

<P>If you issue this command, you won&#146;t see any output in windows because the output has been redirected. If you specified multiple files on the command line, such as the following, all the files would have been sent to HPLaser:

</P>

<!-- CODE SNIP //-->

<PRE>

gs -sDEVICE=HPLaser file1.ps file2.ps file3.ps

</PRE>

<!-- END CODE SNIP //-->

<P>The redirection is in effect until the command terminates. Of course the device you are redirecting to must exist, or <TT>gs</TT> will return an &#147;unknown device&#148; message. You can see a list of all known devices with the command:</P>

<!-- CODE SNIP //-->

<PRE>

gs -h

</PRE>

<!-- END CODE SNIP //-->

<P>A good chunk of the screen (shown in Figure 24.4) lists the devices that Ghostscript knows about.

</P>

<P>You can use the order of the arguments to play with Ghostscript a little. Since the order in which arguments are given matters to Ghostscript, you can issue a command like the following, which displays <TT>file1.ps</TT> and <TT>file2.ps</TT> on your X session, and then sends <TT>file3.ps</TT> to the device HPLaser:</P>

<!-- CODE SNIP //-->

<PRE>

gs file1.ps file2.ps -sDEVICE=HPLaser file3.ps

</PRE>

<!-- END CODE SNIP //-->

<P>You can change the device on the command line multiple times if you want, so that this next command will send <TT>file1.ps</TT> to the device HPLaser and <TT>file2.ps</TT> to the device CanonBJet:</P>

<!-- CODE SNIP //-->

<PRE>

gs -sDEVICE=HPLaser file1.ps -sDEVICE=CanonBJet file2.ps

</PRE>

<!-- END CODE SNIP //-->

<P>In some cases it&#146;s easier just to issue separate commands; otherwise the <TT>gs</TT> command line gets pretty complicated.</P>

<P>Several other features are built into Ghostscript for modifying output devices. If you have an older dot matrix printer with several resolutions (such as draft and final), you can define different options for Ghostscript to trigger each device. For example, the following command tells Ghostscript to print on the device Epson using the highest resolution (24 pin) available:</P>

<!-- CODE SNIP //-->

<PRE>

gs -sDEVICE=Epson -r360x180

</PRE>

<!-- END CODE SNIP //-->

<P>Since these older devices are disappearing, these command options are fading from general use.

</P>

<P>If for some reason you don&#146;t want to use a printer or screen as output, you can redirect Ghostscript output with the option <TT>-sOutputFile</TT>, like this:</P>

<!-- CODE SNIP //-->

<PRE>

gs -sOutputFile out1.ps file1.ps file2.ps

</PRE>

<!-- END CODE SNIP //-->

<P>Although Linux lets you use pipes and redirection, which are much more capable, this capability was included for those operating systems that are not as powerful as Linux!

</P>

<P><FONT SIZE="+1"><B>Changing Paper Size</B></FONT></P>

<P>By default Ghostscript uses the paper sizes specified in the file <TT>gs_statd.ps</TT>, which is a configuration file for the printing utility. This file has a couple of dozen paper styles predefined for you, such as all the European and U.S. sizes. To use a size other than the default, use the <TT>-sPAPERSIZE</TT> option, followed by the <TT>gs_statd.ps</TT> name that indicates the size you want to use. For example, to use European A4 size, use the command:</P>

<!-- CODE SNIP //-->

<PRE>

gs -sPAPERSIZE=a4 -sDEVICE=HPLaser file1.ps

</PRE>

<!-- END CODE SNIP //-->

<P>If the paper size you want to use is not defined already in the <TT>gs_stats.ps</TT> file, you can modify one of the existing entries or create your own.</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>Tip:&nbsp;&nbsp;</B><BR>Sometimes you&#146;ll change the paper size with the <TT>-sPAPERSIZE</TT> option only to find Ghostscript has used another paper size. That&#146;s because PostScript (and hence Ghostscript) allows a particular paper size to be embedded in the contents of a PostScript file. Even though you specify a paper size on the command line, the file&#146;s contents overrule this setting. The only way to correct this problem is to manually edit the PostScript file.<HR></FONT>

</BLOCKQUOTE>

<P><FONT SIZE="+1"><B>Ghostscript Environment Variables</B></FONT></P>

<P>Ghostscript uses a set of environment variables that can alter its behavior. The environment variables used by Ghostscript and their functions are shown in Table 24.2.

</P>

<TABLE WIDTH="100%"><CAPTION ALIGN=LEFT><B>Table 24.2.</B> Ghostscript variables and their meanings.

<TR>

<TH COLSPAN="2"><HR>

<TR>

<TH WIDTH="25%" ALIGN="LEFT">Variable

<TH WIDTH="75%" ALIGN="LEFT">What it does

<TR>

<TH COLSPAN="2"><HR>

<TR>

<TD><TT>GS_DEVICE</TT>

<TD>Defines the default output device.

<TR>

<TD><TT>GS_FONTPATH</TT>

<TD>Specifies a list of directories that should be scanned for fonts.

<TR>

<TD VALIGN="TOP"><TT>GS_LIB</TT>

<TD>Provides a search path for initialization files and fonts. Directories in the search path are separated by colons.

<TR>

<TD VALIGN="TOP"><TT>GS_OPTIONS</TT>

<TD>Defines a list of command line arguments to be processed before the ones actually specified on the command line.

<TR>

<TD><TT>TEMP</TT>

<TD>Defines a directory name for temporary files.

<TR>

<TD COLSPAN="2"><HR>

</TABLE>

<P>The <TT>GS_OPTIONS</TT> variable can be used to change the way Ghostscript behaves. For example, the option <TT>GS_DEVICE</TT> can be used to set the device to some value without requiring you to specify it on each command line. <TT>GS_OPTIONS</TT> can contain both arguments and options.</P>

<P>The <TT>TEMP</TT> variable usually points to the <TT>/tmp</TT> directory on Linux systems, but you can change this. When Ghostscript creates a temporary file it starts the filename with <TT>gs_</TT>. Unfortunately, Ghostscript doesn&#146;t always delete these files properly so you may occasionally have to go to your <TT>/tmp</TT> directly and erase any files starting with <TT>gs_</TT>. If you use Ghostscript a lot, the size of this directory can increase dramatically in short order, so keep an eye on it.</P><P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="426-430.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="432-435.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文文精品字幕一区二区| 在线成人免费视频| 中文av字幕一区| 成人妖精视频yjsp地址| 成人免费在线视频观看| 色欧美片视频在线观看| 午夜影院久久久| 亚洲精品一区二区三区福利| 国产精品一二三四五| 中文字幕乱码亚洲精品一区| 在线视频一区二区三区| 婷婷亚洲久悠悠色悠在线播放| 日韩一区二区三区三四区视频在线观看| 久久精品国产秦先生| 久久精品欧美一区二区三区麻豆| av一区二区久久| 亚洲高清不卡在线观看| 欧美精品一区二区高清在线观看| 成人aaaa免费全部观看| 亚洲电影第三页| 久久久久久久久久电影| 日本精品一级二级| 激情五月激情综合网| 亚洲色图另类专区| 精品国产电影一区二区| 91久久精品网| 国产精品自拍av| 亚洲成av人片在www色猫咪| 91精品国产91热久久久做人人| 韩国精品主播一区二区在线观看| 亚洲色图在线视频| 777xxx欧美| 99九九99九九九视频精品| 玖玖九九国产精品| 亚洲日本在线天堂| 久久色视频免费观看| 欧美亚男人的天堂| 丰满放荡岳乱妇91ww| 日本系列欧美系列| 一区二区三区精品在线观看| 精品福利二区三区| 91.xcao| 99久久精品国产精品久久| 麻豆国产欧美一区二区三区| 亚洲老妇xxxxxx| 久久精品免视看| 日韩精品一区二区三区四区| 色88888久久久久久影院按摩 | 日韩欧美高清一区| 一本一本大道香蕉久在线精品 | 国产91富婆露脸刺激对白 | 久草这里只有精品视频| 亚洲国产中文字幕| 亚洲视频你懂的| 中文字幕第一页久久| 欧美xxxxxxxxx| 欧美美女视频在线观看| 一本一道综合狠狠老| 99在线热播精品免费| 国产精品夜夜嗨| 国内成人精品2018免费看| 日本成人中文字幕| 日韩不卡免费视频| 日韩黄色免费网站| 偷窥少妇高潮呻吟av久久免费| 一区二区三区在线高清| 亚洲日本在线天堂| 亚洲日本在线天堂| 国产精品欧美一级免费| 欧美韩日一区二区三区四区| 久久夜色精品一区| 久久久久久久综合| 欧美激情一区在线| 国产精品久久国产精麻豆99网站| 国产亚洲美州欧州综合国 | 国产精品久久久久影院| 国产精品嫩草99a| 国产精品久久久久aaaa樱花| 国产精品久线在线观看| 国产精品国产成人国产三级| 一区二区中文字幕在线| 亚洲精品免费在线观看| 一区二区三区日韩在线观看| 亚洲综合色噜噜狠狠| 亚洲午夜国产一区99re久久| 午夜精品福利视频网站| 日本欧美在线观看| 国产综合色视频| 成人一区二区视频| 色哟哟亚洲精品| 7777精品伊人久久久大香线蕉完整版 | caoporn国产一区二区| voyeur盗摄精品| 在线一区二区三区四区| 欧美精品vⅰdeose4hd| 精品免费国产二区三区| 国产三级欧美三级日产三级99 | 国产精品少妇自拍| 亚洲在线观看免费视频| 亚洲电影在线播放| 久久99国产乱子伦精品免费| 国产风韵犹存在线视精品| 一本久久a久久精品亚洲| 91精品免费观看| 国产欧美日韩在线| 亚洲成av人片| 国产成人免费av在线| 在线看国产日韩| ww久久中文字幕| 亚洲少妇30p| 精品亚洲porn| 日本韩国欧美在线| 精品国产sm最大网站| 亚洲蜜臀av乱码久久精品| 日韩国产欧美在线观看| 国产999精品久久久久久| 欧美日韩视频在线第一区| 久久综合999| 午夜精品123| av中文字幕亚洲| 日韩欧美一区在线| 夜夜精品视频一区二区| 国产精品一区二区男女羞羞无遮挡| 97se亚洲国产综合自在线不卡| 日韩网站在线看片你懂的| 中文字幕日本不卡| 国产乱子伦视频一区二区三区 | 91精品福利在线一区二区三区| 久久久久久综合| 日av在线不卡| 色婷婷av一区二区三区大白胸| 久久这里只有精品6| 午夜视频一区二区| 91亚洲国产成人精品一区二三| 26uuu另类欧美| 琪琪一区二区三区| 在线观看免费亚洲| 中文字幕一区二区三区不卡在线| 麻豆国产精品一区二区三区| 欧美性xxxxx极品少妇| 成人免费一区二区三区视频| 蜜桃精品视频在线观看| 欧美日韩亚洲丝袜制服| 亚洲男人天堂av网| www.亚洲在线| 欧美激情一二三区| 国产成人精品aa毛片| 欧美精品一区视频| 麻豆国产欧美一区二区三区| 欧美日韩久久一区| 一区二区三区欧美日韩| 色婷婷国产精品| 亚洲精选免费视频| av色综合久久天堂av综合| 国产亚洲精品超碰| 国产精品中文字幕欧美| 精品久久一二三区| 狠狠色丁香久久婷婷综合丁香| 91精品国产麻豆| 蜜臀av国产精品久久久久| 制服.丝袜.亚洲.另类.中文| 亚洲成人免费观看| 8v天堂国产在线一区二区| 天堂va蜜桃一区二区三区漫画版| 精品视频免费在线| 日韩av一区二区在线影视| 欧美电影在线免费观看| 日韩在线观看一区二区| 欧美一区二区视频观看视频 | 一片黄亚洲嫩模| 欧美色国产精品| 日韩精品久久理论片| 日韩片之四级片| 国产在线播精品第三| 国产网红主播福利一区二区| 风间由美一区二区av101| 综合久久给合久久狠狠狠97色 | 欧美日韩一卡二卡| 丝袜亚洲另类丝袜在线| 日韩一区二区在线看| 精品一区二区三区蜜桃| 久久在线免费观看| 成人黄色在线视频| 亚洲尤物视频在线| 日韩精品一区二区三区四区| 国产精品一区二区在线观看不卡| 欧美国产欧美综合| 欧美在线免费观看亚洲| 午夜av区久久| 久久这里只精品最新地址| 91在线porny国产在线看| 午夜天堂影视香蕉久久| 精品成人佐山爱一区二区| bt7086福利一区国产| 亚洲高清免费视频| 久久精品亚洲精品国产欧美kt∨| 91热门视频在线观看| 亚洲观看高清完整版在线观看| 日韩精品中午字幕| av亚洲精华国产精华|