Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们有一个通过 LPT 端口打印的旧软件,并且我们将 ESC 代码 14 和 18 传递给双宽度打印,当我们使用 LPT 端口时这非常有效,但是当将同一台打印机更改为 USB 端口时,所有字体都打印相同的小尺寸并且它将字符 14 打印为 --> ♫。我们已经通过 USB 尝试了通用文本打印机驱动程序,但它不会打印 ESC 代码,它打印为 .(dot) 14 但不是大的双宽度
通过使用 Windows API Escape() 函数
http://www.swissdelphicenter.com/torry/showcode.php?id=716