Even though XPS files have a simpler structure and take up less space than PDFs, they do not seem to have seized a tiny swath of popularity from PDFs so far.Associated programsChromeFirefoxMicrosoft Internet ExplorerMicrosoft XPS ViewerSafariDeveloped byMicrosoft, Ecma InternationalMIME typeapplication/vnd.ms-xpsdocumentUseful linksMore detailed information on XPS filesPDF FileFile extension.PDFCategoryDocument FileDescriptionAdobe Systems Portable Document Format (PDF) format provides all the contents of a printed document in electronic form, including text and images, as well as technical details like links, scales, graphs, and interactive content.You can open this file in free Acrobat Reader and scroll through the page or the entire document, which is generally one or more pages. This extension has received ISO certification and has been recognized as an ECMA-388 standard. They are backwards incompatible, so it is impossible to open one in the preceding versions unless it is converted it to XPS. These files go with versions of Windows prior to 8, which uses built-in support for OXPS files. "svg2pdf.pdf", SDFDoc :: e_remove_unused ) echo ( nl2br ( "Saved svg2pdf.File extension.XPSCategoryDocument FileDescriptionFixed-layout XPS files have the same function as PDFs, and they are sometimes regarded as an potential alternative to PDFs. "tiger.svg" ) $pdfdoc -> Save ( $outputPath. "newsletter.tiff", $tiff_options ) echo ( nl2br ( "Saved newsletter.tiff\n" ) ) // Convert SVG file to PDF echo ( nl2br ( "Converting SVG to PDF\n" ) ) $pdfdoc = new PDFDoc ( ) Convert :: FromSVG ( $pdfdoc, $inputPath. "\n" ) ) echo ( nl2br ( "Converting PDF to multipage TIFF\n" ) ) $tiff_options = new TiffOutputOptions ( ) $tiff_options -> SetDPI ( 200 ) $tiff_options -> SetDither ( true ) $tiff_options -> SetMono ( true ) Convert :: ToTiff ( $inputPath. $outputFile ) echo ( nl2br ( "Saved newsletter as HTML\n" ) ) // Convert PDF document to EPUB echo ( nl2br ( "Converting PDF to EPUB\n" ) ) $outputFile = "newsletter.epub" Convert :: ToEpub ( $inputPath. "\n" ) ) // Convert PDF document to HTML echo ( nl2br ( "Converting PDF to HTML\n" ) ) $outputFile = "newsletter" Convert :: ToHtml ( $inputPath. "\n" ) ) // Convert PDF document to XPS echo ( nl2br ( "Converting PDF to XPS\n" ) ) $outputFile = "newsletter.xps" Convert :: ToXps ( $inputPath. "\n" ) ) // Convert the PNG image to XPS echo ( nl2br ( "Converting PNG to XPS\n" ) ) $outputFile = "butterfly.xps" Convert :: ToXps ( $inputPath. "newsletter.pdf" ) echo ( nl2br ( "Converting pdfdoc to SVG\n" ) ) $outputFile = "pdf2svg v2.svg" Convert :: ToSvg ( $pdfdoc, $outputPath. "\n" ) ) // Convert the two page PDF document to SVG $pdfdoc = new PDFDoc ( $inputPath. $outputFile, SDFDoc :: e_remove_unused ) echo ( nl2br ( "Saved ". "simple-text.txt" echo ( nl2br ( "Converting from txt\n" ) ) Convert :: FromText ( $pdfdoc, $s1 ) $outputFile = "simple-text.pdf" $pdfdoc -> Save ( $outputPath. "\n" ) ) // Convert the TXT document to PDF $set = new ObjSet ( ) $options = $set -> CreateDict ( ) // Put options $options -> PutNumber ( "FontSize", 15 ) $options -> PutBool ( "UseSourceCodeFormatting", true ) $options -> PutNumber ( "PageWidth", 12 ) $options -> PutNumber ( "PageHeight", 6 ) $s1 = $inputPath.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |