本文介绍了EMF到PCL转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我要求将EMF文件转换为PCL。我已经从EMF文件中读取了所有记录类型。如何将EMF记录转换为相应的PCL格式(我对PCL命令有一些了解,但对EMF和PCL中的值之间的关系不太了解?



例如,考虑EMF记录类型EMR_EXTTEXTOUTW,我知道X和Y坐标,使用的字体,字符间距等。如何将这些XY坐标转换为PCL中的相应位置?有哪些因素(目的地)分辨率,页面大小等)我应该考虑转换这些参数。如果可能的话,请给出一个代码片段。



提前谢谢。

Hi,

I have a requirement to convert EMF file to PCL. I have read all the record types from EMF file. How can I transform the EMF records to corresponding PCL format (I have some idea about the PCL commands, but don''t know much about the relation between values in EMF and PCL?

For example, consider the EMF record type "EMR_EXTTEXTOUTW", I know the X & Y coordinates, font used, character spacing etc. How can I convert these XY coordinate to corresponding position in PCL? What are the factors(destination resolution, pagesize etc) should I consider for converting these parameters. If possible, please give a code snippet.

Thanks in advance.

推荐答案


这篇关于EMF到PCL转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-14 00:48