What is ps format?
PostScript with the suffix .PS is best known for its use as a page description language in the electronic and desktop publishing areas. Since PostScript describes the nature of a file's contents rather than just specifying how they look, PostScript content can be scaled effectively to any size. For example, a postcard-sized PostScript file could be expanded to the size of a billboard without any loss in quality.
Which software can be used to rotate the page when converting?
You can choose HTML Converter Command Line as your converting tool because it is a powerful HTML conversion software which allows you to create previews or thumbnails of web pages in a number of different formats, such as TIF, TIFF, JPG, JPEG, GIF, PNG, BMP, PCX, TGA, JP2 (JPEG2000), PNM, etc. It also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.HTML Converter command line application can be called from within ASP, VB, VC, Delphi, BCB, Java, .NET and COM+ etc. program languages. It uses advanced techniques to allow efficient asynchronous multithreaded operations. Please download HTML Converter Command Line at http://www.verypdf.com/htmltools/htmltools.zip. After downloading the file into your computer,you will see an executable file in the folder called htmltools.exe which is the called program in the conversion of format.So you can call it in the command line.
How to do?
You can convert emf to ps format according to the following steps.
Step1.Run cmd.exe program
You can run cmd.exe program by two ways,one is regular way,the other one is the quick way.
The regular one:Click “start”—“run” and input “cmd” in “open” edit box of the popup dialog box.End with “OK” button.
The quick one:Press “Windows”+ “R” at the same time.
Step2.Input command line
The command line contains called program,parameter,source file and target file.There is a basic structure for you to refer to.
htmltools.exe –rotate value “input.emf” output.ps
htmltools.exe stands for the called program.
–rotate value stands for the rotation rectangle.The value can be set as 90,180 and 270.
“input.emf” stands for the source file.
output.ps stands for the target file.
You can see the following example which can help you to understand the command line above better.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 270 "C:\Documents and Settings\admin\Desktop\New Folder\test0001.emf" "C:\Documents and Settings\admin\Desktop\New Folder\test.ps"
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of htmltools.exe which can be dragged into cmd.exe dialog box directly.
-rotate 270 is the rotation angle for the source file.
"C:\Documents and Settings\admin\Desktop\New Folder\test0001.emf" is the path of source file.
"C:\Documents and Settings\admin\Desktop\New Folder\test.ps" is the definition to the target file,including the path and name.If you don’t specify the path for target file,you will get the file in current directory.
Step3.Find the target file
The target file will be saved in specified directory which means the process of converting emf to ps is over.
There are more articles about HTML Converter Command Line at http://www.verypdf.com/wordpress/ and you can read them.