高技术通讯2025,Vol.35Issue(2):124-133,10.DOI:10.3772/j.issn.1002-0470.2025.02.002
基于用户级兼容技术的高效打印机驱动迁移方法
Efficient printer driver migration based on user-level compatibility technology
摘要
Abstract
The lack of printer drivers has been a longstanding issue for global Linux desktop users.In office environ-ments,numerous outdated printers are in use,typically supporting only X86 Windows printer drivers.However,domestically manufactured computer platforms commonly use Linux and various non-X86 instruction set architec-ture.Against the backdrop of information technology innovation,there is an urgent need to efficiently migrate these outdated devices to domestically manufactured computer platforms.Existing methods involve running the Windows through system-level binary translation for printing,resulting in low efficiency and high license costs.To address these issues,this paper proposes a printer driver migration method based on user-level compatibility technologies,aiming to efficiently migrate X86 Windows printer drivers to domestically manufactured computer platforms.This method consists of two parts:the operating system(OS)compatibility layer and user-level binary translator.The OS compatibility layer is responsible for converting system library call related to printer drivers into calls compatible with the host OS.In addition,user-level binary translator is responsible for translating X86 instructions into instruc-tions of the host central processing unit(CPU).Since it does not require running Windows,the proposed migration method is more efficient and incurs no additional license costs compared to the system-level binary translation meth-od.Experimental results indicate that using this method to print the same content is approximately 10 times faster than the system-level binary translation method.Furthermore,this method has been successfully applied to domesti-cally manufactured computer platforms equipped with Loongson CPUs,demonstrating its feasibility and stability in the market.关键词
打印机驱动/二进制翻译/操作系统兼容Key words
printer driver/binary translation/operating system compatibility引用本文复制引用
谢本壹,张福新..基于用户级兼容技术的高效打印机驱动迁移方法[J].高技术通讯,2025,35(2):124-133,10.基金项目
中国科学院战略性先导科技专项(XDC05020100)资助项目. (XDC05020100)