verypdf blog

Use Encrypt pdf to encrypt your PDF files

Good day!

I just would like to inquire up to what platform or version of PDF viewer does the trial version of your encryptpdf in command line supports?  If we would avail or buy the encryptpdf in command line would it be able to support the password filled option if the user opens the pdf file in pdf vista viewer?
=====================

The PDF file which encrypted by EncryptPDF Command Line product can be viewed by all version of Adobe Reader, from Adobe Reader 1.0 to 9.0, so please don't worry about this matter.

VeryPDF
=====================
Am sorry if my question is too confusing, what I mean is, when a password filled encrypted file using the trial version of encryptpdf via the command line, it can be opened using the pdf vista viewer without asking for the password of the file. Do you have a newer version of the encryptpdf in command line which supports the password filed option? Or do we really have to buy the version that would support the said problem?
=====================

You can run following command line to encrypt your PDF file without "open" password, you can view output PDF file without password,

EncryptPDF -i c:\sample.pdf -o C:\out.pdf -w owner -e 40 -p

You can also encrypt your PDF file with "open" password, you will be prompted by a password when you open this PDF file,

EncryptPDF -i c:\sample.pdf -o C:\out.pdf -w owner -u user -e 40 -p

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)
pdf print

I can’t get PDF Print SDK to work

I was very enthusiastic about your pdf printing sdk and If I can get the demo to print I am certain we will be making a purchase, However, your demo does not seem to work. I get no errors but nothing is ever sent to the printer. I've tried using the printer name that we use, but it just does not print at all.
 
The code seems straightforward enough. Do I need an actual license key to work with the demo? Other than pathing to the dll and the printer name I have changed nothing in your code example. However neither this code nor your compiled applications will print. The documentation with the demo is pretty skimpy and insufficient for me to be able to figure out what is going on, I am hoping the documentaiton in your licensed version is more comprehensive.
 
The code I've used is below, I get the same result with this that I do when I run your compiled apps. Always a return code of -4. Nothing more and nothing prints. I really want to use your solution if it can be made to actually work. Please help so I can present this to my superiors as a viable solution to our pdf printing requirements.
 
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.IO;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
private static string LicenseKey = null;
private static string PrintCommandTemplate = "pdfprint -$ \"[LicenseKey]\" -printer \"<PrinterName>\" \"<DocFullPath>\"";
public Form1()
{
InitializeComponent();
}
[DllImport("c:\\pdfprint_sdk\\bin\\pdfprintsdk.dll")]
public static extern int VeryPDF_PDFPrint(string CommandLine);
public static long PrintDoc(string FullDocumentName, string PrinterName)
{
string PrintCommand = PrintCommandTemplate;
if (LicenseKey != null)
PrintCommand = PrintCommand.Replace("[LicenseKey]", LicenseKey);
else
PrintCommand = PrintCommand.Replace("[LicenseKey]", "XXXXXXXXXXXXXXXX");
PrintCommand = PrintCommand.Replace("<PrinterName>", PrinterName).Replace("<DocFullPath>", FullDocumentName);
MessageBox.Show(PrintCommand);
return VeryPDF_PDFPrint(PrintCommand);
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
string appPath = Path.GetDirectoryName(Application.ExecutablePath);
string strPDFFile = (appPath + "\\readme.pdf");
//long nRet = PrintDoc(strPDFFile, "docPrint");
long nRet = PrintDoc(strPDFFile, "E1BO-XWC5687");
MessageBox.Show(nRet.ToString());
}
}
}
==========================================================
Please refer to following return codes,

int WINAPI VeryPDF_PDFPrint(LPCTSTR lpCommand)

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.
"-4" is "Can't locate specify printer in this computer.", just for checking, do you have full control permission to "E1BO-XWC5687" printer in your system?

Also, we suggest you may download PDFPrint Command Line product from our website to try,

https://www.verypdf.com/pdfprint/index.html#dl

you can add -debug parameter to print the detailed log message, for example,

pdfprint.exe -debug -printer "E1BO-XWC5687" C:\test.pdf

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)
verypdf blog

EMF to Vector Converter

We have downloaded an evaluation of "Emf to Vector Convertor". We have tested several conversion of WMF files into SWF. And for each conversion's result , we have a small problem of proportion. The swf converted files are stretched slightly on width.

Have you ever detected that kind of problem?
Have you a solution for that problem?

You can find attached a wmf converted to a swf with your software.
================================

The converted SWF file looks fine, please look at following screenshot, can you please kindly point to us where is wrong in this SWF file?

Convert EMF to SWF
Convert EMF to SWF

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)
doc to any converter

combine multiple MS Office documents into a single PDF

From what I see on you web site, it looks like DOC2Any might meet my needs.
 
I need to combine multiple MS Office documents into a single PDF.
 
We will be running this on a single server, and using Classic ASP (written VBScript) to pass a list of files to be added to the PDF.
 
Do you have any documentation or code samples available on the site to show how to accomplish this?
===============================
Thanks for your message, you can use -append 2 parameter to append a DOC file to an existing PDF file, for example,

doc2any.exe -append 2 C:\001.doc C:\out.pdf
doc2any.exe -append 2 C:\002.doc C:\out.pdf
doc2any.exe -append 2 C:\003.doc C:\out.pdf
......

Please refer to more ASP, C#, etc. examples from following web page,

http://www.verydoc.com/doc-to-any-shell.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)
pdf print

Change bin/tray in pdf print command line

I'm french. I'm testing PDFPrint v2.5.
I have some values from my program in DEVMODE (bin 257, tray 11, orientation 2).
How can I use it directly in command line with PDFPrint.EXE?
 
Could you give me an example please?
===========================
You can use -chgbin, -orient, etc. parameters, for example,

Pdfprint.exe -chgbin 11 -orient 2 C:\test.pdf

You can also save and load DEVMODE directly, for example,

   pdfprint.exe -savedevmode C:\file.dat -printer "VeryPDF PCL Writer"

   pdfprint.exe -loaddevmode C:\file.dat -printer "VeryPDF PCL Writer" C:\input.pdf

We hoping above command lines will helpful to you, please to try.

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)