## How to turn off the filename and footer text printing at the bottom of the page when it prints using HTMLPrint to Any Converter Command Line?

Hello:

I have a couple of questions regarding:
HTMLPrint to Any Converter Command Line.

1) how much does it cost?
2) is there an easy way to turn off the file name printing at the bottom of the page when it prints?
3) can it run successfully as a service under the Windows 2012 OS?

Customer
---------------------------------------------------------------
In addition is there any way to stop the header info from being chopped off on the left and right of the documents printed?

Customer
---------------------------------------------------------------
I fixed the header issue. Is there any way to turn off the footer without removing the header too?

Customer
---------------------------------------------------------------

>>HTMLPrint to Any Converter Command Line.
>>1) how much does it cost?

Thanks for your message, the cost of HTMLPrint to Any Converter Command Line Server License is USD399 per server, the developer license is USD2495 per developer, you may purchase it from our website directly,

https://www.verydoc.com/htmlprint-to-any.html

>>2) is there an easy way to turn off the file name printing at the bottom of the page when it prints?
>>I fixed the header issue. Is there any way to turn off the footer without removing the header too?

You can simple set footer text with a space, for example,

html2any.exe -hfflag on -header "HTML Header" -footer " " -printtopdf D:\out.pdf http://www.verydoc.com

We hope -footer " " option will solve above two issues for you, you may give it a try.

>>3) can it run successfully as a service under the Windows 2012 OS?

Yes, it does support Windows 2012 OS, if you encounter any problem on Windows 2012 OS, please feel free to let us know, we will assist you asap.

VeryDOC

VN:F [1.9.20_1166]
VN:F [1.9.20_1166]

## How to convert from Landscape Excel Spreadsheet to PDF Document with -nooffice option?

Hello,

I am trying to convert an Excel document to PDF with doc2any.exe. The conversion was working when using Excel, but I need the conversion to occur through a scheduled task. Since this is not running in an interactive mode, the conversion is failing. I am attempting to convert the document by passing in -nooffice, but it is not picking up on the fact that the excel document has the page set to landscape. I tried to pass in -printerpaper "11x8.5in", but it is still being printed to 8.5x11. I also tried passing in -useprinter, but I am getting the same results.

I also tried to pass in in width and height as landscape (

c:\doc2any_cmd\doc2any.exe -debug -nooffice -width 792 -height 612 -view test.xlsx test.pdf

) and getting the same results.

Is there a way to have the excel document converted to a landscape PDF without using MS Excel?

Thanks,
Customer
-----------------------------------------------

https://www.verydoc.com/doc-to-any.html

Thanks for your message, the page size (-width 792 -height 612) and page orientation options will be ignored when you use -nooffice option, if you need to use the paper size option, you have to remove the -nooffice option, and also arrange doc2any.exe work from an interactive user account instead of system user account, because without "-nooffice" option, doc2any.exe will use MS Office to convert from Office documents to PDF files, MS Office application can't work properly from Local System user account, you have to run doc2any.exe from an interactive user account in order to get it work properly.

VeryDOC

VN:F [1.9.20_1166]
VN:F [1.9.20_1166]

## Can't get correct page count from RAW .SPL files

Hello!

I'm working on a c# application that needs to analyse a .spl file in order to get some information about print jobs, to be more specific, I would like to have Page-Level colour detection in spool files since such information is not present on windows spooler API.

That when I came across VeryDOC API, I download the trial version of Spool File Page Counter SDK and made some tests with C-Sharp-AnyCPU project, basically I'm pausing the printing job when its spooled and analyzing the .spl file to get the correct page count.

The problem is that the API works well when the file is pooled as an EMF format, but when is RAW (most of them are) it gets all messy and wrong.

Is there any way to analyze .spl RAW files? can I convert the .spl to PCL or PS depending on the printer driver?
VeryDOC
----------------------------------------------

* How to Count PDF Pages in a Folder using Spool File Page Counter SDK?

https://www.verydoc.com/spool-page-count.html

----------------------------------------------
Thanks for your message, yes, you are right, Spool File Page Counter SDK does support EMF-SPL, Postscript, PCL (include PCL-5C, PCL-5E, PCL-XL), PDF, EMF Spooling formats, it doesn't support RAW Spool format, because RAW format is just a binary format, it's not a specific file format like PDF, PS, PCL or EMF-SPL formats, so it's impossible to analyze the RAW format and read the information from RAW format, please understand this matter.

VeryDOC

VN:F [1.9.20_1166]
VN:F [1.9.20_1166]

## How to Batch Convert or Print XPS files to PDF files? Best software to convert from XPS to PDF.

This tutorial shows how to use "VeryDOC XPS to PDF Converter Command Line" to convert an XPS file to a PDF document. "VeryDOC XPS to PDF Converter Command Line" is a best XPS to PDF Converter that allows creating PDF files from XPS files on the fly.

VeryDOC XPS to PDF Converter Command Line can be downloaded from this web page,

VeryDOC XPS to PDF Converter Command Line is a standalone application, it doesn't require Adobe Acrobat or Adobe Reader installed in the system. It's an native XPS processing, fast and precise.

XPS (XML Paper Specification) is a fixed file format developed by Microsoft similar to PDF but based on XML instead of the PostScript language. By installing VeryDOC XPS to PDF Converter Command Line you can easily convert XPS files to PDF documents.

After you download and unzip xps2pdf.zip to a folder, you can run xps2pdf.exe and get more command line options,

C:\>E:\xps2pdf\xps2pdf.exe
XPS to PDF Converter Command Line v2.0
XPS to PDF Converter does convert XPS files to PDF, EPS, PS, BMP, TIFF, JPEG, PNG, PCX, etc. formats.
http://www.verypdf.com
http://www.verydoc.com
Email: support@verydoc.com
Release Date: Feb 16 2019
Usage: xps2pdf [options] <xps-file> [<out-file>]
-producer <string>    : Set 'producer' to PDF file
-creator <string>     : Set 'creator' to PDF file
-subject <string>     : Set 'subject' to PDF file
-title <string>       : Set 'title' to PDF file
-author <string>      : Set 'author' to PDF file
-keywords <string>    : Set 'keywords' to PDF file
-openpwd <string>     : Set 'open password' to PDF file
-ownerpwd <string>    : Set 'owner password' to PDF file
-keylen <int>         : Key length (40 or 128 bit)
-keylen 0:  40 bit RC4 encryption (Acrobat 3 or higher)
-keylen 1: 128 bit RC4 encryption (Acrobat 5 or higher)
-keylen 2: 128 bit AES encryption (Acrobat 7 or higher)
-permission <int>     : Restrictions
-permission 0  : Deny anything
-permission 1  : Allowed print the document
-permission 2  : Allowed modify the content of the document
-permission 4  : Allowed copy text and graphics from the document
-permission 8  : Allowed add or modify annotations
-permission 16 : Allowed fill in interactive form fields
-permission 32 : Allowed extract text and graphics from the document
-permission 64 : Allowed assemble the document
-permission 128: Allowed print the document with high resolution
-linearize            : Optimize PDF file for fast web view
-width <int>          : Set page width to PDF file
-height <int>         : Set page height to PDF file
-multipagetif         : Create multipage TIFF format
-xres <int>           : Set X resolution to image file
-yres <int>           : Set Y resolution to image file
-bitcount <int>       : Set color depth for image conversion
-useprinter           : Convert XPS to PDF file using Viirtual Printer
-skip                 : don't overwrite an output file if it already exists
-$<string> : input registration key Examples: xps2pdf.exe C:\in.xps C:\out.pdf xps2pdf.exe C:\in\*.xps C:\out\*.pdf xps2pdf.exe -producer "Test Producer" -creator "Test Creator" -subject "Test Subject" C:\in.xps C:\out.pdf xps2pdf.exe -linearize C:\in.xps C:\out.pdf xps2pdf.exe -ownerpwd 123 -keylen 2 -permission 128 C:\in.xps C:\out.pdf for /r D:\test %F in (*.xps) do "xps2pdf.exe" "%F" "%~dpnF.pdf" for %F IN (D:\test\*.xps) DO "xps2pdf.exe" "%F" "%~dpnF.pdf" xps2pdf.exe -xres 600 -yres 600 C:\in.xps C:\out.jpg xps2pdf.exe -xres 600 -yres 600 C:\in.xps C:\out-%04d.jpg xps2pdf.exe -width 1024 -height 768 C:\in.xps C:\out-%04d.jpg xps2pdf.exe -xres 600 -yres 600 -bitcount 1 C:\in.xps C:\out-%04d.tif xps2pdf.exe -xres 600 -yres 600 -bitcount 1 C:\in.xps C:\out.tif xps2pdf.exe C:\in.xps C:\out.ps xps2pdf.exe C:\in.xps C:\out.eps xps2pdf.exe C:\in.xps C:\out.bmp xps2pdf.exe C:\in.xps C:\out.tif xps2pdf.exe C:\in.xps C:\out.jpg xps2pdf.exe C:\in.xps C:\out.png xps2pdf.exe C:\in.xps C:\out.pcx In general, you can run following command lines to convert a XPS file to PDF file, xps2pdf.exe -producer "Test Producer" -creator "Test Creator" -subject "Test Subject" -title "Test Title" -author "Test Author" -keywords "Test Keywords" -ownerpwd 123 -keylen 2 -permission 132 test.xps _test.pdf xps2pdf.exe -xres 600 -yres 600 -bitcount 1 test.xps _test-600dpi-1.tif xps2pdf.exe -xres 600 -yres 600 -bitcount 24 test.xps _test-600dpi-24.tif xps2pdf.exe -xres 600 -yres 600 test.xps _test-600dpi.jpg xps2pdf.exe -xres 600 -yres 600 -bitcount 24 test.xps _test-600dpi-24.png xps2pdf.exe -xres 600 -yres 600 -bitcount 1 test.xps _test-600dpi-1.png xps2pdf.exe test.xps _test.ps If you wish use Virtual Printer to convert a XPS file to PDF file, you may use "-useprinter" option, for example, xps2pdf.exe -useprinter test.xps out.pdf -useprinter option will print XPS file to a Postscript Printer first, and then convert from Postscript files to PDF files again, this option will maintain original contents and layout between XPS and PDF files completely. If you with batch convert all of XPS files to PDF files in a folder with one command line, you can use wildcard character for the XPS files, for example, xps2pdf.exe *.xps xps2pdf.exe -useprinter *.xps VeryDOC XPS to PDF Converter Command Line is a great software to convert from XPS files to PDF files without any third-party software installed, you can just download and try it for free. VN:F [1.9.20_1166] Rating: 0.0/10 (0 votes cast) VN:F [1.9.20_1166] Rating: 0 (from 0 votes) Posted in XPS to PDF And Image Converter | Tagged | Leave a comment ## How to Convert XPS to PDF in Different Ways? How to use Virtual Printer to convert from XPS file to PDF file? Both XPS and PDF are used to produce and share finalized documents: resumes, newsletters, invoices, legal documents, financial reports, tax returns and other types of documents. XPS format was meant to replace PDF as a universal standard for documents, but as for now PDF seems to have won this digital war. Though both formats have pretty much the same functionality, XPS (XML Paper Specification XPS, Open XML Paper Specification, OXPS), compared to PDF (Portable Document Format), seems to be almost dead in the water. If your colleague or friend receives an XPS file from you, they might find it difficult to open or even consider it as malware. It is possible to convert XPS to PDF in a variety of ways: using offline desktop applications (manually, automatically or in batch mode), using command line interface (CLI), online converters, a virtual printer or a script file. How to convert xps to pdf offline? The simplest way to convert between XPS and PDF files we can think of is to use a standalone desktop software called VeryDOC XPS to PDF Converter Command Line application, this application can be downloaded from this web page, VeryDOC XPS to PDF Converter Command Line software can be used easily to convert from XPS files to PDF files. Besides saving to PDF, it also converts multiple XPS files to image formats, such as JPG, TIFF or PNG. VeryDOC XPS to PDF Converter Command Line has following options, C:\>E:\xps2pdf\xps2pdf.exe XPS to PDF Converter Command Line v2.0 XPS to PDF Converter does convert XPS files to PDF, EPS, PS, BMP, TIFF, JPEG, PNG, PCX, etc. formats. http://www.verypdf.com http://www.verydoc.com Email: support@verydoc.com Release Date: Feb 16 2019 Usage: xps2pdf [options] <xps-file> [<out-file>] -producer <string> : Set 'producer' to PDF file -creator <string> : Set 'creator' to PDF file -subject <string> : Set 'subject' to PDF file -title <string> : Set 'title' to PDF file -author <string> : Set 'author' to PDF file -keywords <string> : Set 'keywords' to PDF file -openpwd <string> : Set 'open password' to PDF file -ownerpwd <string> : Set 'owner password' to PDF file -keylen <int> : Key length (40 or 128 bit) -keylen 0: 40 bit RC4 encryption (Acrobat 3 or higher) -keylen 1: 128 bit RC4 encryption (Acrobat 5 or higher) -keylen 2: 128 bit AES encryption (Acrobat 7 or higher) -permission <int> : Restrictions -permission 0 : Deny anything -permission 1 : Allowed print the document -permission 2 : Allowed modify the content of the document -permission 4 : Allowed copy text and graphics from the document -permission 8 : Allowed add or modify annotations -permission 16 : Allowed fill in interactive form fields -permission 32 : Allowed extract text and graphics from the document -permission 64 : Allowed assemble the document -permission 128: Allowed print the document with high resolution -linearize : Optimize PDF file for fast web view -width <int> : Set page width to PDF file -height <int> : Set page height to PDF file -multipagetif : Create multipage TIFF format -xres <int> : Set X resolution to image file -yres <int> : Set Y resolution to image file -bitcount <int> : Set color depth for image conversion -useprinter : Convert XPS to PDF file using Viirtual Printer -skip : don't overwrite an output file if it already exists -$ <string>           : input registration key
Examples:
xps2pdf.exe C:\in.xps C:\out.pdf
xps2pdf.exe C:\in\*.xps C:\out\*.pdf
xps2pdf.exe -producer "Test Producer" -creator "Test Creator" -subject "Test Subject" C:\in.xps C:\out.pdf
xps2pdf.exe -linearize C:\in.xps C:\out.pdf
xps2pdf.exe -ownerpwd 123 -keylen 2 -permission 128 C:\in.xps C:\out.pdf
for /r D:\test %F in (*.xps) do "xps2pdf.exe" "%F" "%~dpnF.pdf"
for %F IN (D:\test\*.xps) DO "xps2pdf.exe" "%F" "%~dpnF.pdf"
xps2pdf.exe -xres 600 -yres 600 C:\in.xps C:\out.jpg
xps2pdf.exe -xres 600 -yres 600 C:\in.xps C:\out-%04d.jpg
xps2pdf.exe -width 1024 -height 768 C:\in.xps C:\out-%04d.jpg
xps2pdf.exe -xres 600 -yres 600 -bitcount 1 C:\in.xps C:\out-%04d.tif
xps2pdf.exe -xres 600 -yres 600 -bitcount 1 C:\in.xps C:\out.tif
xps2pdf.exe C:\in.xps C:\out.ps
xps2pdf.exe C:\in.xps C:\out.eps
xps2pdf.exe C:\in.xps C:\out.bmp
xps2pdf.exe C:\in.xps C:\out.tif
xps2pdf.exe C:\in.xps C:\out.jpg
xps2pdf.exe C:\in.xps C:\out.png
xps2pdf.exe C:\in.xps C:\out.pcx

"-useprinter" is a new option which included in the latest version of VeryDOC XPS to PDF Converter Command Line software, this option will execute following works,

1. Install a Virtual Postscript Printer into your system first.
2. Print XPS file to this Virtual Postscript Printer to create a PS file.
3. Convert the PS file to PDF or other formats.

"-useprinter" is a great option and it can maintain the contents and layout from original XPS files perfectly. "-useprinter" option will install a "VeryPDF Postscript Writer" virtual printer into your system, so you need use administrator privilege to run xps2pdf.exe application when you use "-useprinter" option, xps2pdf.exe will fail to install "VeryPDF Postscript Writer" virtual printer if it hasn’t administrator privilege option.

Without use of "-useprinter" option, VeryDOC XPS to PDF Converter Command Line software will parse the every elements from XPS file and write them to PDF file one by one, the speed of this conversion process is very fast.

If you encounter any problem with VeryDOC XPS to PDF Converter Command Line software, please feel free to let us know, we will assist you asap.

XPS Document Format: Open XML Paper Specification (also referred to as OpenXPS) is an open specification for a page description language and a fixed-document format. Microsoft developed it as the XML Paper Specification (XPS). It is an XML-based specification, based on a new print path (print processing data representation and data flow) and a color-managed vector-based document format that supports device independence and resolution independence. In Windows 8 .xps was replaced with the ECMA standard .oxps format which is not natively supported in older Windows versions.

VN:F [1.9.20_1166]