PDF to PDF/A Converter

Wrong PDF/A Converted Document, the different fonts in original PDF file and converted PDF/A file

Hello,

Our problem:
We generate an PDF with our ERP-System. After that the Batch-Converter converts this PDF into a PDF A.

The original document contains the fonts Arial. When we copy some lines out of the PDF after the converting process and paste it to any text editor the fonts is completely different (Russian-Fonts)

We need your help! All our customers cannot process these documents in their system.

Best regards
Customer
---------------------------------------------------

Wrong PDF/A Converted Document, the different fonts in original PDF file and converted PDF/A file
Thanks for your message, you may download "PDF to PDF/A Converter Command Line" from this web page to try,

https://www.verydoc.com/pdf-to-pdfa.html
https://www.verydoc.com/pdf2pdfa_cmd.zip

after you download it, you can use "-mode 2" parameter to convert from your normal PDF files to PDF/A files, this "-mode 2" parameter will analyze all objects in PDF file, it will check and repair all objects in PDF file and arrange them to comply with the PDF/A compliance, this parameter is great to process various kinds of PDF files over the world, you can use this parameter like below,

pdf2pdfa.exe -mode 2 "sample1.pdf" "_sample1-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample2.pdf" "_sample2-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample3.pdf" "_sample3-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample4.pdf" "_sample4-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample5.pdf" "_sample5-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample6.pdf" "_sample6-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample7.pdf" "_sample7-pdfa.pdf"

VeryDOC

PCL, PS, PDF Page Counter

Error on pcltool.dll when a large number of files are processed

Hello!

We are using the Spool File Page Counter SDK on our print management service. Basically, we have a service and every time it intercepts a new print job, it analyzes its .SPL file.

So, we could have multiple threads accessing and using the SDK at the same time, it works well when there aren't a large number of files being processed.

But on our load/stress tests we usually send a large number of print jobs to the printers, that's when we are getting an error within the SDK, on the windows event viewer a pcltool.dll error can be found.

After the first error occurs, we will get the same problem every time we try to analyze a file, no matter how many files or its sizes.

I'm sending a print of the problem, I believe that is related to the amount of files that the SDK try to process, maybe a thread problem, as a many of them are using the SDK at the same time.

In our production version, we will most likely face this kind of environment, where a large number of files will be processed at the "same time".

Have you ever faced this kind of issue ? Is there a solution for this or a workaround that we could use?

Customer
---------------------------------------
here is the print of the error.

I forgot to mention but when this error occurs, the results of the SDK analyzes are all wrong.

Error on pcltool.dll when a large number of files are processed

Customer
---------------------------------------
Yes, I guess it may caused by multiple thread problem. In order to solve this problem completely, I guess the following two solutions may useful to you,

Solution 1:

If you are calling ReadInfo.dll library inside a multiple thread function in your source code, you may call ReadInfoFromAllFormats() function to parse all of your SPL files one by one, you may use a Global Value or a Mutex Object to avoid multiple thread call to ReadInfoFromAllFormats() function at same time, this problem will be solved completely.

Solution 2:

You can create a simple Command Line EXE application to call ReadInfoFromAllFormats() function from ReadInfo.dll library, then you can call this EXE application from your main EXE application, because this Command Line EXE application running inside another process space, so you can run multiple instances of this Command Line EXE application without any problem.

With this method, you could able to use "Spool File Page Counter SDK" to analyze more of your SPL files at same time.

We hoping above two solutions will useful to you, you may give them to try.

VeryDOC

---------------------------------------

After I sent the ticket to you, I thought another solution.

I guess this problem may caused by memory management mechanism between C# and C++, I have another solution for you to solve this problem quickly and completely.

This solution will work like below,

1. You may register FileInfoCOM.exe into your system by following command line with administrator privilege,

FileInfoCOM.exe /regserver

You can also run "install.vbs" to register FileInfoCOM.exe into your system automatically.

2. You can use FileInfoCOM.exe to instead of ReadInfo.dll DLL library, you can call FileInfoCOM.exe from C# by following sample source code,

--------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using FileInfoCOM;

namespace ParsingTest {
    class Program {

        static void Main(string[] args)
        {
            if (args.Length != 1)
            {
                Console.WriteLine("test.exe C:\\test.pcl");
                Console.WriteLine("test.exe C:\\test.ps");
                return;
            }
            Console.Write("args length is ");
            Console.WriteLine(args.Length); // Write array length
            for (int i = 0; i < args.Length; i++) // Loop through array
            {
                string argument = args[i];
                Console.Write("args index ");
                Console.Write(i); // Write index
                Console.Write(" is [");
                Console.Write(argument); // Write string
                Console.WriteLine("]");
            }
            string fileName = args[0];
            int bIsRenderToPDF = 0;
            int bwPageCount = 0;
            int colorPageCount = 0;
            int copyCount = 0;
            double nPageWidth = 0;
            double nPageHeight = 0;
            string strPaperSizeName = new string(' ', 300);

            FileInfoCOM.FileInfoClass objFileInfoCom = new FileInfoCOM.FileInfoClassClass();

            objFileInfoCom.com_ReadInfoSetCode("XXXXXXXXXXXXXXXXXX");
            objFileInfoCom.com_ReadInfoFromPCLFile(fileName, bIsRenderToPDF, ref bwPageCount, ref colorPageCount,
                    ref copyCount, ref nPageWidth, ref nPageHeight, ref strPaperSizeName);

            Console.WriteLine(String.Format("File: {0}", fileName));
            Console.WriteLine(String.Format("Render To PDF: {0}", bIsRenderToPDF));
            Console.WriteLine(String.Format("BW Pages: {0}", bwPageCount));
            Console.WriteLine(String.Format("Color Pages: {0}", colorPageCount));
            Console.WriteLine(String.Format("Width: {0}", nPageWidth));
            Console.WriteLine(String.Format("Height: {0}", nPageHeight));
            Console.WriteLine(String.Format("Paper name: {0}", strPaperSizeName));
        }
    }
}
--------------------

3. You may call "FileInfoCOM.FileInfoClass objFileInfoCom" from a multiple thread function to parse more SPL files at same time, you can use this method to check if you could parse more SPL files from C# multiple threads properly.

Because "FileInfoCOM.exe" is another EXE process, it does use a different memory management mechanism compare to C# process, I guess the "FileInfoCOM.exe" will able to solve this problem to you too.

VeryDOC

PCL, PS, PDF Page Counter

Error at FileInfoCOM.exe when I try to count the page number from SPL, PCL, PDF, PS, SPL-EMF, Spool files by Spool File Page Counter SDK

Hello,

We are using the Spool File Page Counter SDK in one of our projects.
Basically, we're monitoring the windows print spooler and every time that a new print job is identified, the application gets its respective .SPL file and process it through your SDK.
We are getting an error in this process though, for some reason the SDK is not being able to process some .SPL file and crashes the windows spoolsv.exe, as the file is kept in the SDK process.

Here is the log from windows event viewer that revealed the error:

Faulting application name: FileInfoCOM.exe, version: 1.0.0.0, time stamp: 0x59093997
Faulting module name: ReadInfo.dll, version: 1.0.0.1, time stamp: 0x5c9e7533
Exception code: 0xc0000005
Fault offset: 0x00004da0
Faulting process id: 0x26f8
Faulting application start time: 0x01d4f92f883a560c
Faulting application path: C:\Program Files (x86)\NetClientService\FileInfoCOM.exe
Faulting module path: C:\Program Files (x86)\NetClientService\ReadInfo.dll
Report Id: bdeaec7e-6523-11e9-a3f6-000c2931ae13
Faulting package full name: %14
Faulting package-relative application ID: %15

My question is: Have you guys faced this kind of issue before? Is this a well know behavior or not ?

Thank you! 
Customer
------------------------------

Error at FileInfoCOM.exe when I try to count the page number from SPL, PCL, PDF, PS, SPL-EMF, Spool files by Spool File Page Counter SDK
We suggest you may download the latest version of Spool File Page Counter SDK from our website to try again,

https://www.verydoc.com/spool-page-count.html
https://www.verydoc.com/ps-and-pcl-info-sdk.zip

If you still have same problem with the latest version of Spool File Page Counter SDK product, please feel free send to us your sample SPL file for test purpose, after we check your sample SPL file, we will figure out a solution to you asap.

VeryDOC

DWG to PDF Converter, DWG to Vector Converter

AutoCAD DWG and DXF to PDF Converter v2.2 failed to convert my DWG files to PDF files

I finally got the files to add. I've clicked all the filenames and one of them and then clicked the "Make pdf" button, named the file in the place I want it but nothing ever shows up. How do I get these files to convert so I can see if we want to purchase this program?

AutoCAD DWG and DXF to PDF Converter v2.2 failed to convert my DWG files to PDF files

Customer
-------------------------------------------
Thanks for your sample DWG files, we will test with AutoCAD DWG and DXF to PDF Converter v2.2 shortly. In the meantime, we suggest you may download VeryDOC DWG to Vector Converter Command Line from our website to try, DWG to Vector Converter Command Line does support all versions of DWG formats, we hope this product will work better to you.

btw, I just tested these DWG files with VeryDOC DWG to Vector Converter Command Line software, these DWG files can be converted to PDF files without any problem, you may download VeryDOC DWG to Vector Converter Command Line from this web page and try it by yourself,

https://www.verydoc.com/dwg-to-vector.html
https://www.verydoc.com/verydoc_dwg2vector_cmd.zip

after you download it and unzip it to a folder, you can run following command line to batch convert all of your DWG files to PDF files properly,

dwg2vec.exe D:\downloads\*.dwg

Please look at following screenshot for a PDF file which converted from your DWG file,

AutoCAD DWG and DXF to PDF Converter v2.2 failed to convert my DWG files to PDF files

VeryDOC
-------------------------------------------

PDF Editor

Regarding Subscription to PDF Editor OCX controls (AxPDFOCXLib library) from C# source code

Hi Team,

Good Morning...!!!

We are in development of some .Net applications for our clients and have a requirement of disabling Print/SaveAs options in PDF files.

We have studied and analysed about your tool PDF Editor OCX ActiveX services for PDF which is almost meets our requirement and decided to take the subscription to it.

But before that we need to clarify some queries regarding ActiveX control and small demo on how it integrates and works.

So, could you please provide us specific point of contact from your team who can help us on the same?

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

Regarding Subscription to PDF Editor OCX controls (AxPDFOCXLib library) from C# source code
Thanks for your message, we suggest you may download the trial version of PDF Editor OCX Control (ActiveX) Developer License $2999.00 from this web page to try,

http://www.verypdf.com/app/pdf-editor/try-and-buy.html#buy-dev
http://www.verypdf.com/pdf-editor/pdfeditor_ocx.zip

This demo package contains VB, VC, C# and VB.NET examples, you can compile and run these demo projects easily.

We have also PDF Viewer OCX Control (ActiveX) which can be used to view PDF files only, you may download PDF Viewer OCX Control from this web page to try,

http://www.verypdf.com/dl2.php/pdfviewerocx.zip

If you encounter any problem with these products, please feel free to let us know, we will assist you asap.

VeryPDF
--------------------------------------
Hi Team,

Thanks for your response.

I've already downloaded your trial version of PDF Editor OCX Control (ActiveX) and tried, But I'm getting issue with "AxPDFOCXLib.dll" and "PDFOCXLib.dll" files
(Error CS0246 The type or namespace name 'AxPDFOCXLib' could not be found ). I've tried to copy the dll's from others projects which are available in your zip file but couldn't found. Tried by adding "AxInterop.PDFOCXLib.dll" and "Interop.PDFOCXLib.dll" files from PDFAnnotator-C# project but still no luck and also tried to download those dll's separately from your site or from internet but haven't found.

I've attached the screen shot of solution for your reference.

Could you please share those dll's with us? so that we can compile and run the trial version of PDF Editor OCX Control (ActiveX).

Regards,
Customer
--------------------------------------
You need run a CMD window with administrator privilege first, and run following command line to register pdfocx.ocx into your system,

regsvr32 pdfocx.ocx

after you register pdfocx.ocx successful, you will able to 'AxPDFOCXLib' properly.

VeryPDF

See Also:

http://www.verypdf.com/wordpress/201604/royalty-free-pdf-annotator-ocx-activex-control-for-c-and-net-developers-component-to-view-and-annotate-pdf-documents-42537.html