postscript to pdf converter

I am using "VeryPDF_PSToPDF" API to convert PS (Postscript), EPS to PDF, the return code is -2

Hello,

We have purchased "PS to PDF" VeryDOC developer license and currently testing it from C# application.

The sample app that comes with SDK (C#_Example) works out of box. However, if I use the same application in my test application, which is almost same as "SDK's C#_Example" , I don't see the PDF output. The return code is -2 (and not 0 , which I see in SDK 's sample app).

I didn't find API documentation after downloading SDK (I only see "Readme.txt", which doesn't have information about APIs) .

Can you please let me know what does "-2" return code mean in PS to PDF conversion and how to troubleshoot this issue?

Thanks
Customer
---------------------------------------------------------
I am using "VeryPDF_PSToPDF" API to convert ps to PDF.
The return code is -2.
I installed SDK and don't find API documentation (all I saw there is a readme.txt file, which didn't find relevant for this issue).

The C# sample app that was shipped with SDK works. But, when I run this in my test application, which is almost similar to SDK test app, it doesn't create output with "-2" return code.

Can you please help me to troubleshoot ?

Thanks
Customer
---------------------------------------------------------
We have released a new version of "Postscript to PDF Converter SDK" yesterday, you may download it from following web page to try,

https://www.verydoc.com/ps-to-pdf.html
https://www.verydoc.com/ps2pdfsdk.zip

after you download it, please by following steps to test it in C# application,

1. Please run install.vbs to install "ps2pdfcom.exe" into your system first, "ps2pdfcom.exe" is the COM interface to "ps2pdf.dll" library, "ps2pdfcom.exe" can be called from both 32bit and 64bit applications,

2. You can call "ps2pdfcom.ps2pdf" from C# code to convert from PS file to PDF file, for example,

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ps2pdfcom;
using System.IO;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string appPath = Path.GetDirectoryName(Application.ExecutablePath);
            string strInFile = appPath + "\\test.ps";
            string strOutFile = appPath + "\\_test.pdf";
            string strLicenseKey = "-$ XXXX-XXXX-XXXX-XXXX";

            string strCmd = strLicenseKey + " \"" + strInFile + "\" \"" + strOutFile + "\"";

            System.Type VeryPDFType = System.Type.GetTypeFromProgID
                       ("ps2pdfcom.ps2pdf");
            ps2pdfcom.ps2pdf VeryPDFCom = (ps2pdfcom.ps2pdf)
                       System.Activator.CreateInstance(VeryPDFType);
            VeryPDFCom.com_VeryPDF_PSToPDF(strCmd);
            MessageBox.Show("Converter finished.");
        }
    }
}

3. OK, you should no problem to convert from PS file to PDF file now.

If you get an error with VeryPDF_PSToPDF() function, you may use different conversion mode to try again, for example,

VeryPDF_PSToPDF("ps2pdf -$ XXXXXXXXXXXXX -mode 0 D:\test.ps D:\out.pdf");
VeryPDF_PSToPDF("ps2pdf -$ XXXXXXXXXXXXX -mode 1 D:\test.ps D:\out.pdf");
VeryPDF_PSToPDF("ps2pdf -$ XXXXXXXXXXXXX -mode 2 D:\test.ps D:\out.pdf");
VeryPDF_PSToPDF("ps2pdf -$ XXXXXXXXXXXXX -mode 3 D:\test.ps D:\out.pdf");
VeryPDF_PSToPDF("ps2pdf -$ XXXXXXXXXXXXX -mode 4 D:\test.ps D:\out.pdf");

We hope one of modes will work fine to you.

VeryDOC

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
dwg to image converter, dwg to pdf converter, dwg to vector converter

How to convert a DXF or DWG file to PDF file and maintain original measurements (paper size)?

I am using a dxf file and the original drawing is about 74 ". I convert it and open the PDF up in PDF Reader and the drawing is about half the size. Any suggestions.

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

image
Please download "DWG to Vector Converter Command Line" from following web page to try, you can use "DWG to Vector Converter Command Line" to convert your DXF file to PDF file properly,

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

If you encounter any problem with "DWG to Vector Converter Command Line" software, please feel free to let us know.

VeryDOC
-----------------------------------------------
I am using this program. I want to open the dxf and convert to pdf and keep the measurements. I want to be able to print it out on the a cad printer. Life size. But when I use this program it changes the measurements of the dxf. That is why I sent you all three documents. The original the pdf created by this program and the jpg which will show you the size it is suppose to be. I need to print life size not 8.5 x 11 inch.

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

image
You can run following command line to convert your DXF file to PDF file with correct measurements,

dwg2vec.exe -fixed D:\downloads\Final.dxf D:\downloads\Final.pdf

Please look at a converted PDF file in attachment, this PDF file's paper size is 2.42x1.50 inch, it is same as your original DXF file.

image

VeryDOC

See Also:

PDF to DWG Converter Command Line,
https://www.verydoc.com/pdf-to-dwg-dxf.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)
pcl, ps, pdf page counter

We would like to analyze .spl file and display the print job information, such as paper size, number of pages, print volume in color or B/W

Hello. We are a MFP rental company in Taiwan.

We would like to analyze this kind of printing file

C:\Windows\System32\spool\PRINTERS\*.spl

Printing languages of PCL and PS frequently required.

We would like to analyze .spl file and display the print job information, such as paper size, number of pages, print volume in color or B/W.

Do you provide this solution?

Your feedback would be much appreciated.

Thank you and Best regards,
Customer
---------------------------------------

image
Thanks for your message, "Spool File Page Counter SDK" has this function, you may download the trial version of "Spool File Page Counter SDK" from following web page to try, you can use it to read page count, paper size, color information for each page, etc. information from PCL, PS, PDF, SPL, EMF, etc. spool files easily,

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

VeryDOC

See Also:

PCL, PS, PDF Page Counter:
https://www.verydoc.com/blog/category/pcl-ps-pdf-page-counter

How to read from Windows Spool file to determine the page size, page count and if it is color / mono?
https://www.verydoc.com/blog/how-to-read-from-windows-spool-file-to-determine-the-page-size-page-count-and-if-it-is-color-mono.html

PDF Page Counter SDK, Pages BW or Color, how to get color, gray, black and white color information from PDF, PS, PCL, PRN, SPL-EMF, etc. spool file formats?
https://www.verydoc.com/blog/pdf-page-counter-sdk-pages-bw-or-color-how-to-get-color-gray-black-and-white-color-information-from-pdf-ps-pcl-prn-spl-emf-etc-spool-file-formats.html

64bit version of Spool File Page Counter SDK. How to call Spool File Page Counter SDK from 64bit application?
https://www.verydoc.com/blog/64bit-version-of-spool-file-page-counter-sdk-how-to-call-spool-file-page-counter-sdk-from-64bit-application.html

How to convert SPL file (Windows Spooling File Format) to PDF file?
https://www.verydoc.com/blog/how-to-convert-spl-file-windows-spooling-file-format-to-pdf-file.html

Intercepting data sent to a Windows printer,
https://www.verydoc.com/blog/intercepting-data-sent-to-a-windows-printer.html

How to intercept and capture a print job and convert it to PDF & Plain Text & Image files and then print?
https://www.verydoc.com/blog/how-to-intercept-and-capture-a-print-job-and-convert-it-to-pdf-plain-text-image-files-and-then-print.html

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: -1 (from 1 vote)
pdf viewer ocx control

How to open and view a PDF file from internet? How to enable and disable Context Menu in PDF Viewer ActiveX (OCX) Control?

Hi,

>>I see supports URL links.
>>But I can't run this program
>>"(AxPdfview1.OpenPDF("http://cpabm-kao.cpami.gov.tw/bmh/files/FIGB/2016FIGB.pdf", "", "")".
>>Because the beta version?

The trial version is not support PDF URL Links yet, however, this function is supported in full version, after you purchase the "PDF Annotator SDK ActiveX for C#.NET" software, please send to us your Order ID, we will send the full version to you asap, the full version will allow you to open the PDF file from internet.

>>2.I do not want users get source file. Can be cancel right-click copy?

Yes, no problem, after you purchase the software, please send to us your Order ID, we will provide a new version of "PDF Annotator SDK ActiveX for C#.NET" to you, we will disable "right-click" function in the new version.

>>3. Have printer to support?

"PDF Annotator SDK ActiveX for C#.NET" software is not support printer yet, if you wish print the PDF files to Windows Printer, we suggest you may download and purchase "PDF Print Manager SDK for .NET" from following web page, you can use this product to print your PDF files easily,

http://www.verypdf.com/app/pdf-print-cmd/try-and-buy.html
http://www.verypdf.com/pdfprint/pdfprint_cmd.zip

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

>>1. Can be open control (on/off) for right-click copy?

What do you mean for the "right-click copy"? do you mean the Context Menu of right mouse click?

>>2. I hope you will be able to provide the information or description file for the system functions.
>>e.g. component description
>>AxPdfview1.OpenPDF("D:\\test.pdf", "UserPassword", "OwnerPassword") - "open pdf"                                          
>>AxPdfview1.ViewNextPage() - "next page"
>>AxPdfview1.ViewPreviousPage() - "previous page"
>>AxPdfview1.ZoomIn() - "zoom ln"

Thanks for your message, please look at the description for the functions at below,

Methods in PDF Viewer OCX Control (ActiveX):
1. BOOL OpenPDF(LPCTSTR lpszPDFFile, ...)
2. ClosePDF()
Description: Open and close PDF Viewer window.

3. void SetFindText(LPCTSTR lpszFindText)
4. void FindNextText()
5. void FindPreviousText()
Description: Search text string in PDF pages.

6. void RotateViewLeft()
7. void RotateViewRight()
Description: Rotate PDF pages.

8. void ViewNextPage()
9. void ViewPreviousPage()
10. void ViewFirstPage()
11. void ViewLastPage()
12. void ViewPage()
Description: Move between PDF pages.

13. void ZoomFitPage()
14. void ZoomActualPage()
15. void ZoomFitWidth()
16. void Zoom(float nZoom)
17. void ZoomIn()
18. void ZoomOut()
Description: Zoom PDF pages.
 
19. void ViewModeSinglePage()
20. void ViewModeFacing()
21. void ViewModeContinuous()
22. void ViewModeContinuousFacing()
23. void SetViewMode(long nViewMode)
Description: View PDF pages in different modes.

24. void ShowHideBookmarks()
Description: Show or hide bookmark window.

25. void SetRegCode(LPCTSTR lpszRegCode)
Description: Set License Key to PDF Viewer OCX.

>>3. And what do I get system analysis file after the purchase?

What do you mean for the "system analysis file"? do you mean for the full version?
if yes, after you purchase the software, you will receive the license key immediately,
please pass the license key to PDF Viewer OCX, the trial version will be changed to full version automatically.

VeryPDF
-----------------------------------------------------------------------------------

Hi,

>>Yes, let me can control on/off for the context menu of right mouse click.

Yes, no problem, we will add a new method to allow you to Enable/Disable context menu on the right mouse click.

>>Because I am a programmer, so I need information about that function (as
>>shown below).
>>You can reference this url
>>(http://www.chestysoft.com/ximage/manual.htm#ondblclick) for the 20.

In general, Delphi will show function description automatically, however, if it can't show, we will provide function list with detailed description, so you can call the functions with correct parameters easily, please don't worry about this matter.

VeryPDF
-----------------------------------------------------------------------------------

We have added following two functions into the new version,

1. Support PDF URL Links, Open the PDF file from internet
2. Control on/off for the context menu of right mouse click

Please download the new version from following URL to try again,

https://www.verydoc.com/pdfviewerocx.zip

>>1. Support PDF URL Links, Open the PDF file from internet

You can open a PDF file from internet by following sample code, OpenPDF() method is support both local and web PDF files automatically,

PDFViewOCX.OpenPDF "http://online.verypdf.com/examples/cloud-api/multipage.pdf", "", ""

>>2. Control on/off for the context menu of right mouse click

You can enable Context Menu by following code,

PDFViewOCX.ShowContextMenu (1)

You can disable Context Menu by following code,

PDFViewOCX.ShowContextMenu (0)

VeryDOC

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
postscript to image converter, postscript to pdf converter, postscript to text converter

How to submit PDF and Postscript files to server and convert them to image files?

Hi Support,

I am interested in your *Postscript to Image converter* or if you have any software that support PDF to image direction, that will even better.

Our product is server and client based structure (and our product is service based) and this conversion feature will be only used on the server side. The way that our product work is that client will submit a pdf to server and server will then process the conversion and grant view-able access for all clients to the result (images). Therefore, I just want to
make sure whether a server license below is all we need:

Postscript to Image Converter SDK/COM Server License v2.0
1 Server License

Again, if you have a similar tool for PDF to image, that will be better for us.

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

image
Thanks for your message, yes, we have "Postscript to Image Converter SDK/COM" product, you may download and purchase it from following web page,

https://www.verydoc.com/ps-to-image.html
https://www.verydoc.com/ps2imgsdk.zip
https://www.verydoc.com/order_ps2img_sdk_dev.htm

We have also a "PDF to Image Converter COM/SDK" product, you may download and purchase it from following web page,

http://www.verypdf.com/app/pdf-to-image-converter/try-and-buy.html#buy-cvt-com
http://www.verypdf.com/pdf2tif/pdf2image_sdk_trial.zip
http://www.verypdf.com/order_pdf2img_sdk_svr.html

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)