PostScript to Text/PDF/Image

Ps2txt command line

Hi
I have downloaded your trial version which looks as though it works on
our .ps files running it from a command line. I have about 20 files I
want to convert to text, preferably in a batch job, how do I do this and
what license do I need.
Regards
=================================
You can run following command line to convert all PS files to text files
at one time,

#1: Convert all PS files to TXT files in D:\temp folder,

for %F in (D:\temp\*.ps) do "C:\VeryPDF\ps2txt.exe" "%F" "%~dpnF.txt"

Postscript to Text Converter Server License is USD195 per server, you
can purchase it from our website directly,

http://www.verydoc.com/ps-to-text.html

VeryPDF
===================================
is it possible to run this from within a python script and if so how do I do it?
===================================
ps2txt.exe is a command line application, you can call it from any script, of course, you can call it from python script too, please refer to following sample code,
~~~~~~~~~~~~~~~~~~~~~~
import commands

( stat, output ) = commands.getstatusoutput( "C:\VeryPDF\ps2txt.exe C:\test.pdf C:\out.txt" )

if( stat == 0 ):
    print "Command succeeded, here is the output: %s" % output
else:
    print "Command failed, here is the output: %s" % output
~~~~~~~~~~~~~~~~~~~~~~
VeryPDF
======================================
HI sorry to be a pain but I have 2 questions ifrstly when I ran the script you suggested I got:
 
Command failed, here is the output: '{' is not recognized as an internal or external command,
operable program or batch file.
 
so I am not sure what I should be changing, it is python 2.6 I am using.
 
Secondly assuming we do get it to work what changes do I need to make to pick out all .ps files from a mixed directory to produce a txt file for each ps file of the same name
 
Regards
======================================
You need use correct path to the ps2txt.exe, for example, if you place ps2txt.exe to C:\ folder, you need use following code,

( stat, output ) = commands.getstatusoutput( "C:\ps2txt.exe C:\test.pdf C:\out.txt" )

You can call following command line from a .bat file to Convert all PS files to TXT files in D:\temp folder,

For %%F in (D:\temp\*.ps) do "C:\VeryPDF\ps2txt.exe" "%%F" "%%~dpnF.txt"

You can then call this .bat file form your Python code, for example,

( stat, output ) = commands.getstatusoutput( "C:\test.bat" )

VeryPDF
======================================

Hi I have now got ps2txt.exe running from Python under Windows. import commands does not work under Windows so I had to use this instead:
 
def getstatusoutput(cmd):
    """Return (status, output) of executing cmd in a shell."""
    """This new implementation should work on all platforms."""
    import subprocess
    print cmd
    pipe = subprocess.Popen(cmd, shell=True, universal_newlines=True,
            stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
    output = str.join("", pipe.stdout.readlines())
    sts = pipe.wait()
    print sts
    print output
    if sts is None:
        sts = 0
    return sts, output
 
cmd = 'C:/ps2txt/ps2txt/ps2txt.exe "C:/ps2txt/ps2txt/test.ps" "C:/ps2txt/ps2txt/ab.txt"'
 
getstatusoutput(cmd)
which worked for a single file. So I then tried your for statement initiall from a bat file then from the command line and I got this
 
so the question now is what am I doing wrong on the command line or in the bat file which is behind the commandline window in the picture
 
Thank you
========================================

We have sent an example to you just now, please check it.

Thank you.
VeryPDF

PDF Print

PDFPrint return code or error code

Does your PDFPrint application work with 64-bit Windows 2008 (R1)?

Regards,
=====================================
Yes, our PDFPrint Command Line product does support 64-bit Windows 2008 (R1) system, that's no problem.

VeryPDF
======================================
Hi,

I am trying to run the pdfprint.exe command from a PL/SQL program and the pdfprint.exe returns an %ERRORLEVEL% value of -5.  Can you tell me what %ERRORLEVEL% -5 indicates?

Regards,
======================================
I figured out what -5 meant (can't find file), but I would like to know what a return code (ERRORLEVEL) of -13 means please.
======================================

Hi,

Please refer to following return values,

Return values:
   0: Print PDF file successfully.
-10: PDFPrint Library is damaged.
-11: Something is wrong in the command line options.
-101: Can't start "spooler" service, please start "spooler" service from Service Manager by manual.
  -4: Can't locate specify printer in this computer.
-12: Can't open specify printer.
-13: Something is wrong when set options to printer.
  -5: No input PDF file for printing.
   9: Password Required to open this PDF file.
Other values: Something is wrong during render PDF file.

VeryPDF

XPS to PDF Converter

Need product features info please, XPS to PDF Converter

I am preparing to download trial packages as we enter into the implementation phase of development.  I have one more question about conversion from XPS -> PDF, please...

We will need to produce PDF files with embedded movies (multi-frame GIF).  Are these features fully supported in your product?  Else, what are the limitations, and what are the alternate ways to support this need?
======================================
Our XPS to PDF Converter will convert first frame from GIF file to PDF file, because PDF format doesn't support GIF animation, please understand this matter.
VeryPDF

DOC to Any Converter

Converting Word Doc File to PDF Issue…

Here is another issue...
 
When I make a call to the doc2any.exe to convert a doc file, it leaves an instance of Winword open in memory.
 
Function Doc2AnyDOCtoPS(strFileIn As String, strFileOut As String)
  Dim shell As Object
  Dim strConvert As String
  Set shell = CreateObject("WScript.Shell")
  strConvert = "C:\Workdir\DocToAny\doc2any_cmd\doc2any.exe" & " " & strFileIn & " " & strFileOut
  shell.Run strConvert, 1, True
End Function
 
I need to call this function in a loop to convert doc files and the function leaves an instance of Word open for every conversion.
 
Please advise...
 
Thanks,
==========================================

Please add –killoffice parameter to kill office process after conversion, for example,

doc2any.exe -killoffice 1 "C:\in.doc" C:\out.pdf

VeryPDF
===========================================
A couple questions...

What exactly does this option do? When should it be used? 

-useoffice <int> : Use MS Office to render DOC,DOCX,RTF,TXT,PPT,PPTX,PPTS,PPTSX,XLS,XLSX formats

-useoffice 0: Don't use MS Office to convert DOC,DOCX,RTF,TXT,PPT,PPTX,XLS,XLSX formats

-useoffice 1: Use MS Office to convert DOC,DOCX,RTF,TXT,PPT,PPTX,XLS,XLSX formats The conversion from Doc to TIF is very slow. Is there any thing that can be done speed up the conversion?

Basically, I have the call out to doc2any.exe in a loop to convert a folder full of doc files. Each time doc2any.exe is call it loads an instance of Winword.exe to convert the file. It is taking 20-25 secondes to convert each doc.

Thanks,
===========================================

In general, you can use following command line to convert your DOC file to TIFF file,

Doc2any.exe -useoffice 1 -useprinter -xres 300 -yres 300 -bitcount 1 -compression 4 C:\test.doc C:\out.tif

You can convert one DOC file to TIFF file at one time, please don't run several instances of doc2any.exe at one time, we hoping this method will work better for you.

VeryPDF

PDFStamp Command Line

PDFStamp SDK server version

I'd like to be able to have our clients annotate a jpg. For example, easily number a jpg file with numbers 1 through 9 and then write a note about each one of those points. We want them to come to our main site and make the annotations there. Can your server version do that? And can you help us customize the tools (to simplify them)? We really just need people to be able to put numbers with arrows, and then write comments. Or perhaps there is another tool that already does just this? Thank you for your help. regards,
=================================

Hi,

Our PDF Stamp SDK can be used to annotate JPG, PDF, TIFF and other image formats, you can download the trial version of PDF Stamp SDK from following web page to try,

https://www.verypdf.com/pdfstamp/index.htm#dl
https://www.verypdf.com/pdfstamp/pdfstamp_cmd.zip
VeryPDF