# US 2026/0064334 A1 · Printing method and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0064334 A1
- Document ID: US20260064334A1
- Status: Published application
- Kind: A1
- Application number: 19/381,599
- Filed: 2025-11-06
- Published: 2026-03-05
- Earliest claimed: 2023-08-29
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jiawei Guo
- Web page: https://patentgrep.com/patent/US20260064334A1

## CPC

- G06F 3/1224: {Client or server resources management}
- G06F 3/1228: {Printing driverless or using generic drivers}
- G06F 3/1203: {Improving or facilitating administration, e.g. print management}
- G06F 3/1208: {resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview}
- G06F 3/1256: {User feedback, e.g. print preview, test print, proofing, pre-flight checks}
- G06F 9/452: {Remote windowing, e.g. X-Window System, desktop virtualisation (protocols for virtual reality H04L67/131)}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 3/1288: {in client-server-printer device configuration}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This application provides a printing method and an electronic device, and relates to the field of printing technologies. The electronic device includes a host operating system and a virtual operating system that is deployed in a virtual container in the host operating system. The method includes: In response to a print request operation performed on a target application, the electronic device invokes a first print service to send a print task to a second print service via a virtual channel; and then sends a print instruction to a target printer through the second print service based on the print task, where the target application is an application on the virtual operating system, the first print service is a print service on the virtual operating system, and the second print service is a print service on the host operating system.

## Claims

### Claim 1

A printing method, comprising:
in response to a print request operation performed on a target application, invoking a first print service to send a print task to a second print service via a virtual channel, wherein the target application is an application on a virtual operating system, the first print service is a print service on the virtual operating system, and the second print service is a print service on a host operating system, wherein the virtual operating system is deployed in a virtual container of the host operating system; and
sending a print instruction to a target printer through the second print service based on the print task.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the print request operation comprises a trigger operation for a first print interface and a first print control operation performed on the first print interface, wherein the trigger operation for the first print interface is used to trigger display of the first print interface, and a printer in a printer option displayed in the first print interface is different from a printer connected to the host operating system.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the print task comprises print file information and a print parameter, and the print parameter does not comprise a printer identifier.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the print file information comprises a to-be-printed target file.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the print file information comprises a storage path of a to-be-printed target file.

### Claim 6 (depends on 5)

The method according to claim 5, wherein sending the print instruction to the target printer through the second print service based on the print task comprises:
mounting the storage path of the to-be-printed target file to a specified directory on the host operating system;
reading the to-be-printed target file from the specified directory; and
sending the print instruction to the target printer through the second print service based on the to-be-printed target file and the print parameter.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the virtual channel is a remote desktop protocol (RDP) communication channel.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the RDP communication channel comprises a server and a client, the server is installed on the virtual operating system, and the client is installed on the host operating system.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the first print service is cupsd, and invoking the first print service to send the print task to the second print service via the virtual channel comprises:
invoking a target backend in the cupsd to send the print task to the server of the RDP communication channel;
invoking the server of the RDP communication channel to send the print task to the client of the RDP communication channel; and
invoking the client of the RDP communication channel to send the print task to the second print service.

### Claim 10 (depends on 1)

The method according to claim 1, wherein sending the print instruction to the target printer through the second print service based on the print task comprises:
displaying a second print interface in the host operating system based on the print task, wherein the second print interface is used by a user to select the target printer; and
in response to a second print control operation performed on the second print interface, sending the print instruction to the target printer through the second print service.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the second print interface comprises a preview window, and the preview window is used to display a to-be-printed target file.

### Claim 12 (depends on 10)

The method according to claim 10, wherein the second print control operation is an operation of clicking a print button in the second print interface.

### Claim 13 (depends on 10)

The method according to claim 10, wherein the second print control operation comprises an operation of selecting the target printer in the second print interface.

### Claim 14 (depends on 10)

The method according to claim 10, wherein the second print control operation comprises an operation of setting a print parameter in the second print interface.

### Claim 15 (depends on 1)

The method according to claim 1, wherein the virtual operating system comprises at least one of a Linux operating system, a Unix operating system, or a MacOS operating system.

### Claim 16 (depends on 15)

The method according to claim 15, wherein the virtual operating system is the Linux operating system, and the first print service is a printing system service cupsd.

### Claim 17 (depends on 1)

The method according to claim 1, wherein the host operating system comprises at least one of a Harmony operating system, a Windows operating system, or an Android operating system.

### Claim 18 (depends on 17)

The method according to claim 17, wherein the host operating system is the Harmony operating system, and the second print service is Huawei Print.

### Claim 19

An electronic device, comprising a memory and a processor, wherein the memory is configured to store a computer program, and the processor is configured to execute the computer program stored in the memory to:
in response to a print request operation performed on a target application, invoke a first print service to send a print task to a second print service via a virtual channel, wherein the target application is an application on a virtual operating system, the first print service is a print service on the virtual operating system, and the second print service is a print service on a host operating system; and
send a print instruction to a target printer through the second print service based on the print task.

### Claim 20

A computer-readable storage medium, storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to:
in response to a print request operation performed on a target application, invoke a first print service to send a print task to a second print service via a virtual channel, wherein the target application is an application on a virtual operating system, the first print service is a print service on the virtual operating system, and the second print service is a print service on a host operating system; and
send a print instruction to a target printer through the second print service based on the print task.
