Hi guys , I am trying to convert a web page to pdf , I have searched about this a lot but I did find any answer

I have one program to convert using YAHP converter but I couldn't understand its parameters used in the program

String  fontPath = getParameter(args, "--fontpath");
String  password= getParameter(args, "--password");
String  keystorePath     = getParameter(args, "--ks");
String  keystorePassword = getParameter(args, "--kspassword");
String  keyPassword   = getParameter(args, "--keypassword");
String  cryptReason		 = getParameter(args, "--cryptreason");
String  cryptLocation    = getParameter(args, "--cryptlocation");

I don't know what are valid values can be assign to these parameters?!!!!

please guys if you have another way to convert please teach me it and show me the sample of the code if possible
thanks a lot

Edited by peter_budo: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)

7 Years
Discussion Span
Last Post by Airshow

At the risk of stating the obvious .....

For one-off conversion(s), then do it manually. With Adobe Acrobat (version??) installed, you should be able to print to PDF - "Adobe PDF" appears under "Select Printer". Under Windows you may also have right-click "Append to existing PDF" and "Convert to Adobe PDF". Probably similar under MacOS/*nix.


This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.