HPGL is the HP graphics language designed for specifying 2D graphical information for the HP range of plotters. It is efficient and easy to write and read. The language itself has a large number of instructions, most of the ones not touched on here relate directly to plotter devices, for a full description of the language the HPGL descript is normally provided with an HPGL compatible plotter. And how to get the hpgl files from another format file ,such as text files? Well, it is not a tough problem, since DOC to Any Converter Command Line has been designed. DOC to Any Converter Command Line could help you convert text to hpgl----txt to hpgl without any error! Also this dreaming converting tool could help you convert text files to hpgl files from each page of text files to multiple hpgl files easily. Here is the method to convert rtf file to hpgl file with DOC to Any Converter Command Line below.
However, interested in this professional tool, please do not hesitate to download it by clicking here, it is really free !!!! In addition, to obtain its full function right now, please click here. Here is the method to convert text files to hpgl files based on different output patterns below:
Anyway, whichever you will convert text files to hpgl files, you have to need to run the operating environment of DOC to Any Converter Command Line and start DOC to Any Converter Command Line. So first, to open the running environment, there are 2 ways for you to choose:
- click “start” button>select “Run”>input “cmd”>click “ok” button, then the command prompt window could be opened
- click the hotkey of “Windows+R” on the keyboard>input “cmd.exe”>click “ok” button, then the dialog box could be popup on the screen of pc
and here is the current directory below:
C:\Documents and Settings\admin>
And in the current directory, you could start DOC to Any Converter Command Line directly, likely, there are 2 ways for you to select to start DOC to Any Converter Command Line:
- input the path of ‘doc2any.exe’ directly to start DOC to Any Converter Command Line
- drag and drop the program of ‘doc2any.exe’ into the command prompt window directly
After the start of DOC to Any Converter Command Line, if you would like to edit the properties of text files, the parameters could be inputted behind the path of “doc2any.exe”, and here “<options>” is a represent of any parameters you want to input to set the properties of the targeting files. Then add the source file and prepare the targeting path, which could determine whether the conversion is the single conversion or the batch conversion. Thus, to drag and drop the source file into the command prompt window could be the easiest way to add the source files, and to add the single text file, you could drag and drop it into the command prompt window, but what if we want to add dozens of the text files for the batch conversion? Do not worry, DOC to Any Converter Command Line still could be your effective converter, for the wild card character “*” could be used to replace all of the file names in the conversion, after all of the source files could be collected into the uniform folder or on the same disc. Then, input the targeting path directly, which is also compatible with the wildcard character “*” for the batch conversion, at last, click “enter” to convert text to hpgl based on the single conversion or the batch conversion. And to get the more difference between the single conversion and the batch conversion, please see the examples below separately:
the single conversion:
C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space><options><space> D:\f\cat.txt<space>E:\out\cat.hpgl<enter>
Thank you for choosing our product.
<options> must be inputted between the path of “doc2any.exe” and the path of the source file.
the batch conversion:
C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space><options><space> D:\f\*.txt<space>E:\out\*.hpgl<enter>
Thank you for choosing our product.
----------------------------------------------------------------------------------
And if you want to convert each page of the text files into the single targeting files based on the batch conversion, the key point to get the single hpgl files from each page of txt files, is to input the percent character “%” behind the targeting file name, more info, please see the following example:
C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space><options><space> D:\f\*txt<space>E:\out\*%.hpgl<enter>
Thank you for choosing our product.
Note: the key point to convert Rich Text Format to hpgl in batches is to replace all the file names with the wildcard character “*”.
This is the end to convert text to hpgl---txt to hpgl, and thank you for reading this article!