Uses the PDFPrinting.NET print library for perfect printing results

PDFPrinting.NET print library can be used to batch print PDF files without require Adobe Acrobat and Adobe Reader applications. Here you can take a quick look at the most important features of PDFPrinting.NET.

image

PDFPrinting.NET Print Library Features:

  • Print PDF files from any .NET application
  • Built-in font rendering engine.
  • Handles any PDF compression and encryption.
  • Full control over margins and scaling.
  • Advanced rasterization engine for image printing.
  • Works perfectly on any kind of printer.
  • Reduced spool size and faster spooling.
  • Adheres strictly to pdf specification.
  • Standalone solution without outside dependencies.
  • Working with password protected PDF documents.
  • Custom print properties. Set page range, landscape, copies, resolution, scaling, print in color, paper size, source tray, collate, printer name or duplex. The below sample code demonstrates how to set those settings manually through your code.
  • Silent printing enables you to print out documents in the background without user intervention. The below code sample will print out the PDF document to your default printer with default settings.
  • Silent printing with already installed Adobe Reader. In case you would like to print using Adobe Reader for some specific document where our rendering doesn't meet your needs. The below sample code will invoke Adobe Reader in the background without being visible and print out the document.

    pdfprint.exe -shell D:\test.pdf
    pdfprint.exe -shell2 D:\test.pdf

PDFPrint Command Line and SDK can be found from this web page,

http://www.verypdf.com/app/pdf-print-cmd/index.html
http://www.verypdf.com/app/pdf-print-cmd/pdfprint-sdk-manual.html

School See Also:

PDF Print Manager SDK for .NET
http://www.e-pdfconverter.com/print-pdf-sdk-for-net/index.html

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 PDF Print | Tagged | Leave a comment

Error message in Office when a file is blocked by registry policy settings or File Block settings

A file is blocked when you open or save the file in a Microsoft Office program. In this situation, you may receive an error message that resembles one of the following:

  • You are attempting to open a file that is blocked by your registry policy setting.

  • You are attempting to open a file type <File Type> that has been blocked by your File Block settings in the Trust Center.

  • You are attempting to open a file that was created in an earlier version of Microsoft Office. This file type is blocked from opening in this version by your registry policy setting.

  • You are attempting to save a file that is blocked by your registry policy setting.

  • You are attempting to save a file type <File Type> that has been blocked by your File Block settings in the Trust Center.

Light bulb Resolution

To resolve this issue, try the following general resolutions to change the File Block settings based on the version of Office that you installed:

For Office 2013 or Office 2010

Change the File Block settings to disable the restriction of certain file types:

  1. Click File > Options.
    If you cannot open a file in Office 2013 or Office 2010, open a blank document to start the Office application. For example, if you cannot open a Word file, open a new document in Word 2013 or Word 2010 to see the option.
  2. In the Options window, click Trust Center > Trust Center Settings.
  3. In the Trust Center window, click File Block Settings, and then clear the "Open" or "Save" check box for the file type that you want to open or save.
    Note Clear the option means allow user to open or save the file. Check the option means block the file.

    image

  4. Click OK two times.
  5. Try to open or save the file that was blocked again.

For Office 2007 or Office 2003

There is no "Trust Center" in Office 2007 or Office 2003. Therefore, you have to change the value of the FileOpenBlock registry subkey to disable the restriction of certain file types.
Important Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.

  1. Exit Office.
  2. Click Start, click Run, type regedit in the Open box, and then click OK.
  3. Locate and then click the following registry subkey:
    For Office 2007:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\<Application_name>\Security\FileOpenBlock
    For Office 2003:HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\<Application_name>\Security\FileOpenBlock
    Note
    • Application_name should be the Office application (for example, Word, Excel, Powerpoint, Visio)that has the problem.
    • If the subkey does not exist, you must create it manually. The following screenshot is a sample of Word 2007 FileOpenBlock subkey:

      image

  4. After you select the subkey that is specified in step 3, locate the following DWORD value: BinaryFiles, FilesBeforeVersion and Converters.
    Note If this value does not exist, you must create it. To do this, follow these steps:
    1. Right-click FileOpenBlock , select New, click DWORD Value, and then type BinaryFiles as the name of the DWORD Value.
    2. Right-click FileOpenBlock , select to New, click DWORD Value, and then type FilesBeforeVersion as the name.
    3. Right-click FileOpenBlock , select to New, click DWORD Value, and then type Converters as the name.

    For more information about these DWORD value, check the FileBlockOpen DWORD values list.

  5. Right-click the BinaryFiles DWORD value, and then click Modify. In the Value data box, type 0, and then click OK.
  6. Set the Value data of the FilesBeforeVersion and Converters to 0. The following screenshot is a sample of Word 2007.
    Note Value data 0 means allow user to open the file. 1 means block the file.

    image

  7. On the File menu, click Exit to exit Registry Editor.
  8. Try to open or save the file that was blocked again.
Next step if you still cannot open or save the files in Office 2007 or Office 2003

If you still cannot open or save the files, try the following steps:

  1. Determinate the type of the file that cannot be opened: Right-click the file and select Properties. Check the Type of file property.

    image

  2. Check the FileBlockOpen DWORD values list, and find the corresponding DWORD value.
  3. Add the DWORD value into the FileOpenBlock subkey, and set the value data to 0.

School See Also:

http://www.verypdf.com/wordpress/201307/i-am-getting-the-following-error-error-you-are-attempting-to-open-a-file-that-is-blocked-by-your-file-block-settings-in-the-trust-center-in-line-27-with-pdf-to-excel-converter-v2-0-and-37401.html

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 VeryPDF Blog | Tagged | Leave a comment

About the PDF Converter Services Online

VeryPDF Cloud API Platform Home Page,

http://www.verypdf.com/online/cloud-api/index.html

Based on the popular PDF Converter Services which build on VeryPDF Cloud API, a server based product intended for on-premise deployment, the PDF Converter Services Online is a subscription based service accessible via a REST based API as well as third party systems such as Microsoft Flow.

Software developers and workflow designers can use this service to:

  • Convert a large number of file types to PDF with perfect fidelity.
  • Merge multiple files into a single PDF.
  • Apply watermarks.
  • Encrypt PDF files.
  • Apply PDF restrictions (restrict print, copying of content etc.).
  • Carry out Optical Character Recognition (OCR).
  • Cross convert files (doc to docx, docx to xlsx, xls to docx etc.)

Functionality can be accessed from a large number of platforms including:

  • Microsoft Flow: The VeryPDF PDF Converter Service is included in Flow's list of standard services, there is nothing to install. Just create a flow, add a workflow action. The Convert Document one is good to start with. For more details see this Knowledge Base Article.
  • REST Clients: API access has been launched and sample code for the likes of Python, Ruby, Java, .NET, PHP, CURL will follow shortly.
  • Swagger clients: The REST API uses a Swagger based API definition file to describe the available services. Any platform that understands Swagger can consume this file to access the API. The same file can be used to generate client and server libraries for the platform of your choice using editor.swagger.io.
  • SharePoint Online: Integration with the SharePoint Online user interface as well as SharePoint Designer workflows is available today via the PDF Converter for SharePoint Online. Sample code to integrate with client side JavaScript will follow shortly.

For more details see the following articles:

http://www.verypdf.com/online/cloud-api/index.html

http://www.verypdf.com/wordpress/category/verypdf-cloud-api

http://www.verypdf.com/wordpress/201307/verypdf-cloud-api-platform-pdf-to-image-converter-cloud-api-37745.html

http://www.verypdf.com/wordpress/201308/verypdf-cloud-api-platform-image-to-pdf-converter-cloud-api-37831.html

http://www.verypdf.com/wordpress/201307/verypdf-cloud-api-platform-pdf-to-text-converter-cloud-api-37763.html

http://www.verypdf.com/wordpress/201405/verypdf-cloud-api-platform-pdf-to-word-converter-cloud-api-convert-pdf-to-word-doc-rtf-formats-40475.html

http://www.verypdf.com/wordpress/201308/verypdf-cloud-api-platform-pdf-page-extraction-pdf-splitter-cloud-api-37869.html

http://www.verypdf.com/wordpress/201308/verypdf-cloud-api-platform-complete-pdftoolbox-functions-pdf-merger-cloud-api-37883.html

http://www.verypdf.com/wordpress/201308/verypdf-cloud-api-platform-pdf-stamper-cloud-api-38024.html

This is a very actively developed product. Check back often or contact us for more information.

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 VeryPDF Cloud API | Tagged , , | Leave a comment

How to remove demo watermark from PDF file?

I received over 200 email PDFs and they have a red square and the word DEMO. When I went to your website there are over 30 selections. I do not know which one will remove the problem. I only need it this one time.

Then I am interested in making a flipbook from my PDFs. I tried downloading you trial version. I could not get it to setup. Very confusing!!

Help!
Customer
-------------------------------------------------

image
>>I received over 200 email PDFs and they have a red square and the word DEMO. When I went to your website there are over 30 selections. I do not know which one will remove the problem. I only need it this one time.

Thanks for your message, you can use "VeryPDF PDF Text Replacer" to replace demo watermark to a null string, you may download "VeryPDF PDF Text Replacer GUI" or "VeryPDF PDF Text Replacer Command Line" from this web page to try,

http://www.verypdf.com/app/pdf-text-replacer/try-and-buy.html
http://www.verypdf.com/dl2.php/verypdf-pdftextreplacer.exe

http://www.verypdf.com/app/pdf-text-replacer/try-and-buy.html#buy-cmd
http://www.verypdf.com/wordpress/201303/verypdf-releases-pdf-text-replacer-command-line-software-35653.html
http://www.verypdf.com/dl2.php/pdftextreplacer_cmd.zip

If you are using the command line version, you can run following command line to replace demo watermark to a null string,

pdftr.exe -contentreplace "Demo Watermark=>"" D:\test.pdf D:\out.pdf

>>Then I am interested in making a flipbook from my PDFs. I tried downloading you trial version. I could not get it to setup. Very confusing!!

You can download and install "VeryPDF Flipbook Maker" from this web page to convert from PDF files to Flash Flipbooks,

http://www.verypdf.com/app/flipbook-maker/price.html
http://www.verypdf.com/dl2.php/verypdf-flipbook-maker.exe

You can also use the Flipbook Maker Online version from this web page, Online Flipbook Maker does convert from PDF files to both Flash and HTML5 Flipbooks,

http://www.verypdf.com/online/free-flipbook-maker-online.php

VeryPDF

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 PDF Text Replacer | Tagged , , | Leave a comment

pdfprint can not find printer when run it from Local System user account

Hello,

I have a problem with pdfprint...

When I call pdfprint.exe with this command from the command - line:

C:\programme\pdfprint_cmd\pdfprint.exe "-$" "XXXXXXXXXXX" -winfont -debug -printer "G11009960_SAP_HPLJM452_TST1" -printtofile c:\jobs\xout1.txt c:\jobs\x.pdf

the program works fine, no problem.

When I start the program from a other program, I receive the message:

Can't locate the ""G11009960_SAP_HPLJM452_TST1"" printer in this computer, please double check the printer name and to try again.
returning with exit code 0xfffffffc

The pdfprint version is 3.80 and is running on a Windows Server 2016.

The same combination (calling program / called program) works on Windows 2008 R2 without any problem, but with version 3.50.

I don't think that is a problem from pdfprint, but perhaps you have an idea what the problem could be.

Thank you for your help.

Regards
Customer
---------------------------------------------------

image

http://www.verypdf.com/app/pdf-print-cmd/index.html

Maybe your calling program ran inside "Local System" user account, please arrange pdfprint.exe run inside an normal user account, because some printers are not work properly inside the "Local System" user account, you have to run pdfprint.exe from an interactive user account to locate all printers properly.

VeryPDF
---------------------------------------------------
Hello,

that was the solution, now it works.

Thank you for your help.
Customer

School See Also:

How do I call pdfprint from Windows Service or Local System to print the PDF file to network printer?
http://www.verypdf.com/wordpress/201109/how-do-i-call-pdfprint-from-windows-service-or-local-system-to-print-the-pdf-file-to-network-printer-2310.html

How to run pdfprint.exe from PHP and Windows Service on a dedicated server? pdfprint command line can not be run from Local System User Account,
http://www.verypdf.com/wordpress/201609/how-to-run-pdfprint-exe-from-php-and-windows-service-on-a-dedicated-server-pdfprint-command-line-can-not-be-run-from-local-system-user-account-43029.html

Privileges required to print PDF files from Local System or Local Service accounts,
http://www.verypdf.com/wordpress/201602/privileges-required-to-print-pdf-files-from-local-system-or-local-service-accounts-42230.html

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 PDF Print | Tagged | Leave a comment
Page 1 of 1,39012345...102030...Last »