⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pdftops.1

📁 这是一个做pdf阅读器的源代码文件,是大家学习阅读器资料的很好参考
💻 1
字号:
.\" Copyright 1996-2007 Glyph & Cog, LLC.TH pdftops 1 "27 February 2007".SH NAMEpdftops \- Portable Document Format (PDF) to PostScript converter(version 3.02).SH SYNOPSIS.B pdftops[options].RI [ PDF-file.RI [ PS-file ]].SH DESCRIPTION.B Pdftopsconverts Portable Document Format (PDF) files to PostScript so theycan be printed..PPPdftops reads the PDF file,.IR PDF-file ,and writes a PostScript file,.IR PS-file .If.I PS-fileis not specified, pdftops converts.I file.pdfto.I file.ps(or.I file.epswith the -eps option).  If .I PS-fileis \'-', the PostScript is sent to stdout..SH CONFIGURATION FILEPdftops reads a configuration file at startup.  It first tries to findthe user's private config file, ~/.xpdfrc.  If that doesn't exist, itlooks for a system-wide config file, typically /usr/local/etc/xpdfrc(but this location can be changed when pdftops is built).  See the.BR xpdfrc (5)man page for details..SH OPTIONSMany of the following options can be set with configuration filecommands.  These are listed in square brackets with the description ofthe corresponding command line option..TP.BI \-f " number"Specifies the first page to print..TP.BI \-l " number"Specifies the last page to print..TP.B \-level1Generate Level 1 PostScript.  The resulting PostScript files will besignificantly larger (if they contain images), but will print on Level1 printers.  This also converts all images to black and white.  Nomore than one of the PostScript level options (-level1, -level1sep,-level2, -level2sep, -level3, -level3Sep) may be given..RB "[config file: " psLevel ].TP.B \-level1sepGenerate Level 1 separable PostScript.  All colors are converted toCMYK.  Images are written with separate stream data for the fourcomponents..RB "[config file: " psLevel ].TP.B \-level2Generate Level 2 PostScript.  Level 2 supports color images and imagecompression.  This is the default setting..RB "[config file: " psLevel ].TP.B \-level2sepGenerate Level 2 separable PostScript.  All colors are converted toCMYK.  The PostScript separation convention operators are used tohandle custom (spot) colors..RB "[config file: " psLevel ].TP.B \-level3Generate Level 3 PostScript.  This enables all Level 2 features plusCID font embedding and masked image generation..RB "[config file: " psLevel ].TP.B \-level3SepGenerate Level 3 separable PostScript.  The separation handling is thesame as for -level2Sep..RB "[config file: " psLevel ].TP.B \-epsGenerate an Encapsulated PostScript (EPS) file.  An EPS file containsa single image, so if you use this option with a multi-page PDF file,you must use -f and -l to specify a single page.  No more than one ofthe mode options (-eps, -form) may be given..TP.B \-formGenerate a PostScript form which can be imported by software thatunderstands forms.  A form contains a single page, so if you use thisoption with a multi-page PDF file, you must use -f and -l to specify asingle page.  The -level1 option cannot be used with -form..TP.B \-opiGenerate OPI comments for all images and forms which have OPIinformation.  (This option is only available if pdftops was compiledwith OPI support.).RB "[config file: " psOPI ].TP.B \-noembt1By default, any Type 1 fonts which are embedded in the PDF file arecopied into the PostScript file.  This option causes pdftops tosubstitute base fonts instead.  Embedded fonts make PostScript fileslarger, but may be necessary for readable output..RB "[config file: " psEmbedType1Fonts ].TP.B \-noembttBy default, any TrueType fonts which are embedded in the PDF file arecopied into the PostScript file.  This option causes pdftops tosubstitute base fonts instead.  Embedded fonts make PostScript fileslarger, but may be necessary for readable output.  Also, somePostScript interpreters do not have TrueType rasterizers..RB "[config file: " psEmbedTrueTypeFonts ].TP.B \-noembcidpsBy default, any CID PostScript fonts which are embedded in the PDFfile are copied into the PostScript file.  This option disables thatembedding.  No attempt is made to substitute for non-embedded CIDPostScript fonts..RB "[config file: " psEmbedCIDPostScriptFonts ].TP.B \-noembcidttBy default, any CID TrueType fonts which are embedded in the PDF fileare copied into the PostScript file.  This option disables thatembedding.  No attempt is made to substitute for non-embedded CIDTrueType fonts..RB "[config file: " psEmbedCIDTrueTypeFonts ].TP.B \-preloadConvert PDF forms to PS procedures, and preload image data.  This usesmore memory in the PostScript interpreter, but generates significantlysmaller PS files in situations where, e.g., the same image is drawn onevery page of a long document..TP.BI \-paper " size"Set the paper size to one of "letter", "legal", "A4", or "A3".  Thiscan also be set to "match", which will set the paper size to match thesize specified in the PDF file..RB "[config file: " psPaperSize ].TP.BI \-paperw " size"Set the paper width, in points..RB "[config file: " psPaperSize ].TP.BI \-paperh " size"Set the paper height, in points..RB "[config file: " psPaperSize ].TP.B \-nocropBy default, output is cropped to the CropBox specified in the PDFfile.  This option disables cropping..RB "[config file: " psCrop ].TP.B \-expandExpand PDF pages smaller than the paper to fill the paper.  Bydefault, these pages are not scaled..RB "[config file: " psExpandSmaller ].TP.B \-noshrinkDon't scale PDF pages which are larger than the paper.  By default,pages larger than the paper are shrunk to fit..RB "[config file: " psShrinkLarger ].TP.B \-nocenterBy default, PDF pages smaller than the paper (after any scaling) arecentered on the paper.  This option causes them to be aligned to thelower-left corner of the paper instead..RB "[config file: " psCenter ].TP.B \-pagecropTreat the CropBox as the PDF page size.  By default, the MediaBox isused as the page size..TP.B \-duplexSet the Duplex pagedevice entry in the PostScript file.  This tellsduplex-capable printers to enable duplexing..RB "[config file: " psDuplex ].TP.BI \-opw " password"Specify the owner password for the PDF file.  Providing this willbypass all security restrictions..TP.BI \-upw " password"Specify the user password for the PDF file..TP.B \-qDon't print any messages or errors..RB "[config file: " errQuiet ].TP.BI \-cfg " config-file"Read.I config-filein place of ~/.xpdfrc or the system-wide config file..TP.B \-vPrint copyright and version information..TP.B \-hPrint usage information..RB ( \-helpand.B \-\-helpare equivalent.).SH EXIT CODESThe Xpdf tools use the following exit codes:.TP0No error..TP1Error opening a PDF file..TP2Error opening an output file..TP3Error related to PDF permissions..TP99Other error..SH AUTHORThe pdftops software and documentation are copyright 1996-2007 Glyph &Cog, LLC..SH "SEE ALSO".BR xpdf (1),.BR pdftotext (1),.BR pdfinfo (1),.BR pdffonts (1),.BR pdftoppm (1),.BR pdfimages (1),.BR xpdfrc (5).br.B http://www.foolabs.com/xpdf/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -