CN115756348A - Partition printing method and device - Google Patents
Partition printing method and device Download PDFInfo
- Publication number
- CN115756348A CN115756348A CN202211484808.2A CN202211484808A CN115756348A CN 115756348 A CN115756348 A CN 115756348A CN 202211484808 A CN202211484808 A CN 202211484808A CN 115756348 A CN115756348 A CN 115756348A
- Authority
- CN
- China
- Prior art keywords
- preview operation
- input
- content
- preview
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本申请属于通信技术领域,具体涉及一种分区打印方法、装置。The present application belongs to the technical field of communications, and in particular relates to a partition printing method and device.
背景技术Background technique
随着通信技术的发展,人们在日常生活中越来越频繁的使用打印机,对打印机的使用的便利性要求也越来越高。With the development of communication technology, people use printers more and more frequently in their daily life, and their requirements for the convenience of using printers are also getting higher and higher.
在相关技术中,当需要将多个文件整合在一起打印时,需要先将多个文件中的内容整理到一个文件中,再对该文件中的内容进行手动排版,最后对排版之后得到的文件进行打印。In related technologies, when multiple files need to be integrated and printed together, it is necessary to organize the contents of the multiple files into one file first, then manually typeset the contents of the file, and finally edit the files obtained after the typesetting to print.
然而,采用上述方案,在打印时对多个文件内容进行手动排版,耗时较长,从而导致整个打印过程的效率较低。However, by adopting the above solution, manually typesetting the contents of multiple files during printing takes a long time, resulting in low efficiency of the entire printing process.
发明内容Contents of the invention
本申请实施例的目的是提供一种分区打印方法、装置,能够解决打印排版过程耗时较长,导致整个打印过程的效率较低的问题。The purpose of the embodiments of the present application is to provide a partition printing method and device, which can solve the problem that the printing and typesetting process takes a long time, resulting in low efficiency of the entire printing process.
第一方面,本申请实施例提供了一种分区打印方法,该方法包括:显示预览操作控件,该预览操作控件包括N个预览操作区域,其中,N为正整数;接收对该N个预览操作区域中的第一预览操作区域的第一输入;响应于该第一输入,在上述第一预览操作区域添加第一预打印内容,并按照上述第一预览操作区域对应的排版格式,显示上述第一预打印内容;接收用户的第二输入;响应于该第二输入,拼接上述预览操作控件中的每一个预览操作区域中显示的预打印内容,并按照目标打印参数,打印拼接后的预打印内容。In the first aspect, the embodiment of the present application provides a partition printing method, the method includes: displaying a preview operation control, the preview operation control includes N preview operation areas, wherein, N is a positive integer; receiving the N preview operation The first input of the first preview operation area in the area; in response to the first input, add the first pre-printed content in the first preview operation area, and display the above-mentioned first preview operation area according to the typesetting format corresponding to the first preview operation area A pre-printed content; receiving a second input from the user; in response to the second input, splicing the pre-printed content displayed in each preview operation area in the preview operation control, and printing the spliced pre-printed content according to the target printing parameters content.
第二方面,本申请实施例提供了一种分区打印装置,该装置包括:显示模块、接收模块和执行模块,其中:上述显示模块,用于显示预览操作控件,该预览操作控件包括N个预览操作区域,其中,N为正整数;上述接收模块,用于接收对上述N个预览操作区域中的第一预览操作区域的第一输入;上述显示模块,还用于响应于接收模块接收到的上述第一输入,在上述第一预览操作区域添加第一预打印内容,并按照上述第一预览操作区域对应的排版格式,显示上述第一预打印内容;上述接收模块,还用于接收用户的第二输入;上述执行模块,用于响应于接收模块接收到的上述第二输入,拼接上述预览操作控件中的每一个预览操作区域中显示的预打印内容,并按照目标打印参数,打印拼接后的预打印内容。In the second aspect, the embodiment of the present application provides a partition printing device, which includes: a display module, a receiving module, and an execution module, wherein: the above-mentioned display module is used to display a preview operation control, and the preview operation control includes N preview The operation area, wherein, N is a positive integer; the receiving module is used to receive the first input to the first preview operation area in the N preview operation areas; the display module is also used to respond to the input received by the receiving module For the first input, add the first pre-printed content in the first preview operation area, and display the first pre-printed content according to the typesetting format corresponding to the first preview operation area; the receiving module is also used to receive the user's The second input: the above-mentioned execution module is used to respond to the above-mentioned second input received by the receiving module, splice the pre-printed content displayed in each preview operation area in the above-mentioned preview operation control, and print the spliced content according to the target printing parameters preprinted content.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are processed by the The steps of the method described in the first aspect are realized when the controller is executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,电子设备可以显示预览操作控件,该预览操作控件包括N个预览操作区域,其中,N为正整数;接收对该N个预览操作区域中的第一预览操作区域的第一输入,用于在该第一预览操作区域添加第一预打印内容,并按照该第一预览操作区域对应的排版格式,显示上述第一预打印内容;然后,接收用户的第二输入,用于拼接上述预览操作控件中的每一个预览操作区域中显示的预打印内容,并按照目标打印参数,打印拼接后的预打印内容。如此,由于电子设备显示的预览操作控件可以将N个预览操作区域中的预打印内容自动进行排版,并能够将排版后的预打印内容拼接,因此,缩短了对预打印内容进行排版的耗时,从而提高了整个打印过程的效率。In this embodiment of the application, the electronic device may display a preview operation control, and the preview operation control includes N preview operation areas, where N is a positive integer; receiving the first preview operation area in the N preview operation areas an input, used to add the first pre-printed content in the first preview operation area, and display the above-mentioned first pre-printed content according to the typesetting format corresponding to the first preview operation area; then, receive the second input from the user, and use splicing the pre-printed content displayed in each preview operation area in the preview operation control, and printing the spliced pre-printed content according to the target printing parameters. In this way, since the preview operation control displayed on the electronic device can automatically typeset the pre-printed content in the N preview operation areas, and can splice the typesetting pre-printed content, thus shortening the time-consuming for typesetting the pre-printed content , thereby improving the efficiency of the entire printing process.
附图说明Description of drawings
图1是本申请实施例提供的一种分区打印方法的方法流程示意图之一;FIG. 1 is one of the method flow diagrams of a partition printing method provided in an embodiment of the present application;
图2是本申请实施例提供的一种分区打印方法所应用的界面实例示意图之一;Fig. 2 is one of the schematic diagrams of an example interface applied by a partition printing method provided by the embodiment of the present application;
图3是本申请实施例提供的一种分区打印方法所应用的界面实例示意图之二;Fig. 3 is the second schematic diagram of an interface instance applied to a partition printing method provided by the embodiment of the present application;
图4是本申请实施例提供的一种分区打印方法所应用的界面实例示意图之三;Fig. 4 is the third schematic diagram of an interface instance applied to a partition printing method provided by the embodiment of the present application;
图5是本申请实施例提供的一种分区打印方法所应用的界面实例示意图之四;Fig. 5 is the fourth schematic diagram of an interface example applied to a partition printing method provided by the embodiment of the present application;
图6是本申请实施例提供的一种分区打印方法所应用的界面实例示意图之五;Fig. 6 is the fifth schematic diagram of an interface instance applied to a partition printing method provided by the embodiment of the present application;
图7是本申请实施例提供的一种分区打印装置的结构示意图;Fig. 7 is a schematic structural diagram of a partition printing device provided by an embodiment of the present application;
图8是本申请实施例提供的一种电子设备的结构示意图;FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图9是本申请实施例提供的一种电子设备的硬件示意图。FIG. 9 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein and that references to "first", "second", etc. to distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的分区打印方法、装置进行详细地说明。The partition printing method and device provided in the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
本申请实施例提供的分区打印方法应用于对不同内容进行打印的场景中,具体的应用场景可以根据使用需求而定,本申请不做限定。The partition printing method provided in the embodiment of the present application is applied to the scenario of printing different contents, and the specific application scenario can be determined according to the usage requirements, which is not limited in the present application.
示例性地,以对三个文件(如文件1、文件2、文件3)中的内容进行打印的场景为例。在相关技术中,若用户想要将文件1、文件2、文件3中的内容整合在一起打印,则需要将该三个文件中的内容整理到一个新的文件A中;然后,打开该文件A,对其包括的内容手动进行排版;最后,再对排版之后的文件A中的内容进行打印。因此,上述整个打印过程中对文件A中的内容手动排版所耗时间较长,导致整个打印过程的效率较低。Exemplarily, a scenario of printing content in three files (such as
在本申请实施例中,若用户想要将文件1、文件2、文件3中的内容整合在一起打印,则可以先创建一个打印单(即预览操作控件),该打印单中包括三个方形区域(如区域1、区域2、区域3)(即预览操作区域);然后,用户可以分别对区域1、区域2和区域3进行输入,以将文件1、文件2、文件3中的内容分别添加至该区域1、区域2和区域3;接着,电子设备自动按照上述三个方形区域的排版格式,分别显示上述三个文件中的内容;最后,电子设备接收用户的打印输入,以将上述三个区域中显示的内容进行拼接,再进行打印。因此,缩短了整个打印过程中对打印内容进行排版的耗时,从而提高了整个打印过程的效率。In the embodiment of this application, if the user wants to print the contents of
本实施例提供的分区打印方法的执行主体可以为分区打印装置,该分区打印装置可以为电子设备,也可以为该电子设备中的控制模块或处理模块等。以下以电子设备为例来对本申请实施例提供的技术方案进行说明。The execution body of the partition printing method provided in this embodiment may be a partition printing device, and the partition printing device may be an electronic device, or may be a control module or a processing module in the electronic device. The technical solutions provided by the embodiments of the present application are described below by taking an electronic device as an example.
本申请实施例提供一种分区打印方法,如图1所示,该分区打印方法可以包括如下步骤201至步骤205:An embodiment of the present application provides a partition printing method. As shown in FIG. 1 , the partition printing method may include the
步骤201:电子设备显示预览操作控件。Step 201: The electronic device displays a preview operation control.
在本申请实施例中,上述预览操作控件包括N个预览操作区域。In the embodiment of the present application, the preview operation control includes N preview operation areas.
其中,N为正整数。Wherein, N is a positive integer.
示例性地,上述预览操作控件用于预览预打印内容的打印效果,以及接收用户调整预览操作控件的输入。Exemplarily, the above-mentioned preview operation control is used to preview the printing effect of the pre-printed content, and to receive an input from the user to adjust the preview operation control.
示例性地,上述预览操作控件可以以悬浮窗口的形式显示。Exemplarily, the above-mentioned preview operation control may be displayed in the form of a floating window.
示例性地,上述预览操作区域用于显示预打印内容。Exemplarily, the aforementioned preview operation area is used to display pre-printed content.
需要说明的是,上述预打印内容可以为电子设备本地存储的内容,也可以为电子设备即时从互联网获取的内容。It should be noted that the above pre-printed content may be the content stored locally by the electronic device, or may be the content obtained by the electronic device from the Internet immediately.
示例性地,上述预览操作控件中可以包含上述N个预览操作区域对应的区域窗口或区域框。Exemplarily, the preview operation control may include area windows or area boxes corresponding to the N preview operation areas.
需要说明的是,上述N个预览操作区域的大小可以相同,也可以不同。It should be noted that the sizes of the above N preview operation areas may be the same or different.
示例性地,上述N个预览操作区域的排列方式包括以下任一项:Exemplarily, the arrangement of the above N preview operation areas includes any of the following:
竖向排列方式;vertical arrangement;
九宫格排列方式;Jiugongge arrangement;
阶梯排列方式。Ladder arrangement.
举例说明,如图2中的(a)所示,预览操作控件10包括三个预览操作区域(如预览操作区域11、预览操作区域12、预览操作区域13)。该三个预览操作区域的排列方式为竖向排列方式;如图2中的(b)所示,预览操作控件10包括九个预览操作区域(如预览操作区域11至预览操作区域19)。该九个预览操作区域的排列方式为九宫格排列方式;如图2中的(c)所示,预览操作控件10包括六个预览操作区域(如预览操作区域11至预览操作区域16)。该六个预览操作区域的排列方式为阶梯排列方式。For example, as shown in (a) of FIG. 2 , the
需要说明的是,上述预览操作区域的排列方式不仅限于上述三种排列方式,其他任意可行性的排列方式均属于本申请的保护范围。It should be noted that the arrangement of the preview operation area is not limited to the above three arrangements, and any other feasible arrangement falls within the scope of protection of the present application.
在本申请实施例中,电子设备在显示上述预览操作控件之后,可以以默认的显示方式显示上述N个预览操作区域,也可以由用户自定义选择上述N个预览操作区域的显示方式。In the embodiment of the present application, after displaying the preview operation control, the electronic device may display the N preview operation areas in a default display mode, or a user-defined display mode may be selected for the N preview operation areas.
在本申请实施例中,电子设备在显示上述预览操作控件之后,若上述预览操作区域数量不足,则用户可以手动添加新的预览操作区域。In the embodiment of the present application, after the electronic device displays the above-mentioned preview operation control, if the number of the above-mentioned preview operation areas is insufficient, the user can manually add a new preview operation area.
步骤202:电子设备接收对预览操作控件中的N个预览操作区域中的第一预览操作区域的第一输入。Step 202: The electronic device receives a first input to a first preview operation area among N preview operation areas in the preview operation control.
在本申请实施例中,上述第一预览操作区域为上述N个预览操作区域中的一个或多个。In the embodiment of the present application, the above-mentioned first preview operation area is one or more of the above-mentioned N preview operation areas.
在本申请实施例中,上述第一输入用于将预打印内容添加至预览操作区域。In this embodiment of the present application, the above-mentioned first input is used to add pre-printed content to the preview operation area.
在本申请实施例中,上述第一输入可以为用户对上述第一预览操作区域的点击输入,或其他可行性输入,本申请实施例对此不作限定。In the embodiment of the present application, the above-mentioned first input may be a user's click input on the above-mentioned first preview operation area, or other feasible input, which is not limited in this embodiment of the present application.
一种可能的示例中,用户可以触控上述第一预览操作区域,以触发电子设备显示内容选择弹窗,然后在该内容选择弹窗中选择需要添加的预打印内容。In a possible example, the user may touch the first preview operation area to trigger the electronic device to display a content selection popup window, and then select the preprinted content to be added in the content selection popup window.
举例说明,结合图2中的(a),如图3中的(a)所示,用户点击预览操作区域11中的“添加”控件,则如图3中的(b)所示,电子设备显示内容选择弹窗11a,该内容选择弹窗11a中显示有内容1、内容2、内容3。若用户选中内容1,则如图3中的(c)所示,电子设备将内容1添加至预览操作区域11。For example, in combination with (a) in FIG. 2, as shown in (a) in FIG. 3, the user clicks the "Add" control in the
另一种可能的示例中,用户直接在上述第一预览操作区域中复制需要打印的预打印内容。In another possible example, the user directly copies the pre-printed content to be printed in the above-mentioned first preview operation area.
步骤203:电子设备响应于第一输入,在第一预览操作区域添加第一预打印内容,并按照第一预览操作区域对应的排版格式,显示第一预打印内容。Step 203: In response to the first input, the electronic device adds the first pre-printed content in the first preview operation area, and displays the first pre-printed content according to the typesetting format corresponding to the first preview operation area.
在本申请实施例中,上述排版格式可以为电子设备默认设置的,也可以为用户自定义设置的。In the embodiment of the present application, the above typesetting format may be set by default by the electronic device, or may be set by the user.
在本申请实施例中,上述排版格式是指上述预览操作区域中显示的预打印内容的内容参数。In the embodiment of the present application, the above-mentioned typesetting format refers to the content parameters of the pre-printed content displayed in the above-mentioned preview operation area.
示例性地,在上述预打印内容为文字内容时,上述内容参数包括:字体大小、字体颜色、字体间距等。Exemplarily, when the above-mentioned pre-printed content is text content, the above-mentioned content parameters include: font size, font color, font spacing, and the like.
示例性地,在上述预打印内容为图片内容时,上述内容参数包括:图片大小、图片亮度、图片分辨率等。Exemplarily, when the above-mentioned pre-printed content is picture content, the above-mentioned content parameters include: picture size, picture brightness, picture resolution and so on.
在本申请实施例中,上述N个预览操作区域中的每个预览操作区域可以对应一种排版格式,也可以对应多种排版格式。In the embodiment of the present application, each preview operation area among the above N preview operation areas may correspond to one typesetting format, or may correspond to multiple typesetting formats.
示例性地,上述N个预览操作区域中的每个预览操作区域对应的排版格式可以相同,也可以不同。Exemplarily, the typesetting formats corresponding to each of the N preview operation areas may be the same or different.
在本申请实施例中,电子设备在接收到用户的第一输入后,可以在电子设备本地存储的文件中选择文件将其添加至第一输入对应的预览操作区域。In the embodiment of the present application, after receiving the user's first input, the electronic device may select a file from files stored locally on the electronic device and add it to the preview operation area corresponding to the first input.
示例性地,上述一个预览操作区域中可以添加一种预打印内容,也可以添加多种预打印内容。例如,仅添加文字内容;或者,仅添加图片内容;或者,同时添加文字内容和图片内容。Exemplarily, one type of pre-printed content may be added to the aforementioned preview operation area, or multiple types of pre-printed content may be added. For example, add only text content; or, add only image content; or, add both text content and image content.
可选地,在本申请实施例中,上述步骤203中“电子设备按照第一预览操作区域对应的排版格式,显示第一预打印内容”可以包括如下步骤203a:Optionally, in the embodiment of the present application, in the
步骤203a:电子设备按照第一预览操作区域对应的排版格式,对第一预打印内容中目标内容的进行排版,并显示排版后的第一预打印内容。Step 203a: The electronic device typesets the target content in the first pre-printed content according to the typesetting format corresponding to the first preview operation area, and displays the typesetting first pre-printed content.
在本申请实施例中,上述目标内容包括以下至少一项:文字内容、图像内容、链接内容、上述第一预打印内容中的空白显示区域。In the embodiment of the present application, the above-mentioned target content includes at least one of the following: text content, image content, link content, and a blank display area in the above-mentioned first pre-printed content.
示例性地,在上述目标内容包括文字内容或图像内容的情况下,电子设备可以将该文字内容或图像内容直接复制到预览操作区域。Exemplarily, in the case that the above target content includes text content or image content, the electronic device may directly copy the text content or image content to the preview operation area.
示例性地,在上述目标内容包括链接内容的情况下,电子设备可以基于该链接内容,自动生成对应的文本内容或图像内容,并显示在预览操作区域。Exemplarily, in the case that the above target content includes link content, the electronic device can automatically generate corresponding text content or image content based on the link content, and display it in the preview operation area.
示例性地,在上述目标内容包括上述第一预打印内容的空白显示区域的情况下,电子设备可以将该空白显示区域移除,以将上下内容连接。Exemplarily, in the case that the target content includes a blank display area of the first pre-printed content, the electronic device may remove the blank display area to connect the upper and lower content.
举例说明,结合图2中的(a),如图4中的(a)所示,若用户点击预览操作区域11中的“添加”控件(即上述第一输入),则如图4中的(b)所示,可以将文字1和文字2添加至预览操作区域11中,且电子设备自动将文字1和文字2之间的空白显示区域删除;若用户点击预览操作区域12中的“添加”控件,则如图4中的(b)所示,可以将图片3添加至预览操作区域12中;若用户点击预览操作区域13中的“添加”控件,则如图4中的(b)所示,可以将链接4添加至预览操作区域13中,且电子设备自动将链接4对应的文字5和图片6显示在预览操作区域13。For example, in conjunction with (a) in FIG. 2, as shown in (a) in FIG. 4, if the user clicks the "add" control in the preview operation area 11 (that is, the above-mentioned first input), then as shown in FIG. 4 As shown in (b),
如此,电子设备可以将需要打印的内容直接复制到预览操作区域中,实现将碎片化的内容,按照自己的需求进行排版打印,减少纸张中的空白区域,使得整个打印过程的操作更加灵活、快捷。In this way, the electronic device can directly copy the content to be printed to the preview operation area, realize the typesetting and printing of the fragmented content according to its own needs, reduce the blank area in the paper, and make the operation of the entire printing process more flexible and faster .
步骤204:电子设备接收用户的第二输入。Step 204: The electronic device receives a second input from the user.
在本申请实施例中,上述第二输入用于打印预打印内容。In the embodiment of the present application, the above-mentioned second input is used for printing pre-printed content.
在本申请实施例中,上述第二输入可以为用户对上述预览操作控件的点击输入,或其他可行性输入,本申请实施例对此不作限定。In the embodiment of the present application, the above-mentioned second input may be the user's click input on the above-mentioned preview operation control, or other feasible input, which is not limited in the embodiment of the present application.
步骤205:电子设备响应于第二输入,拼接预览操作控件中的每一个预览操作区域中显示的预打印内容,并按照目标打印参数,打印拼接后的预打印内容。Step 205: The electronic device splices the pre-printed content displayed in each preview operation area in the preview operation control in response to the second input, and prints the spliced pre-printed content according to the target printing parameters.
在本申请实施例中,上述拼接可以为将每一个预览操作区域相邻的区域边缘紧贴显示。也就是说,每一个预览操作区域之间没有间隔。In the embodiment of the present application, the above splicing may be displaying the edges of adjacent areas of each preview operation area closely. That is, there is no gap between each preview operation area.
在本申请实施例中,上述目标打印参数可以包括:打印份数、打印边距、打印颜色等。In the embodiment of the present application, the above-mentioned target printing parameters may include: number of printed copies, printing margin, printing color, and the like.
示例性地,上述打印份数用于指示将拼接后的预打印内容重复打印相应的份数。Exemplarily, the above-mentioned number of printing copies is used to indicate the corresponding number of repeated printing of the spliced pre-printed content.
示例性地,上述打印边距用于指示拼接后的预打印内容至打印纸张边缘的距离。Exemplarily, the above-mentioned printing margin is used to indicate the distance from the pre-printed content after splicing to the edge of the printing paper.
示例性地,上述打印颜色用于指示打印拼接后的预打印内容所使用的颜色。Exemplarily, the above printing color is used to indicate the color used for printing the spliced pre-printed content.
在本申请实施例中,电子设备在完成打印参数的设置后,可以选择确认打印,即可以利用打印机将预览操作控件中的所有预打印内容打印出来。In the embodiment of the present application, after setting the printing parameters, the electronic device can choose to confirm printing, that is, the printer can be used to print out all the pre-printed content in the preview operation control.
可选地,在本申请实施例中,上述目标打印参数与上述预览操作控件对应的控件参数相关,上述步骤202之前,本申请实施例提供的分区打印方法还包括如下步骤201a和步骤201b:Optionally, in the embodiment of the present application, the above-mentioned target printing parameters are related to the control parameters corresponding to the above-mentioned preview operation control. Before the
步骤201a:电子设备接收对预览操作控件的第五输入。Step 201a: the electronic device receives a fifth input to the preview operation control.
在本申请实施例中,上述第五输入用于调整上述预览操作控件的控件参数。In the embodiment of the present application, the fifth input is used to adjust control parameters of the preview operation control.
在本申请实施例中,上述第五输入可以为用户对上述预览操作控件的控件边缘的拖动输入,或其他可行性输入,本申请实施例对此不做限定。In the embodiment of the present application, the above-mentioned fifth input may be a user's dragging input of the control edge of the above-mentioned preview operation control, or other feasible input, which is not limited in this embodiment of the present application.
步骤201b:电子设备响应于第五输入,调整预览操作控件的控件参数。Step 201b: the electronic device adjusts control parameters of the preview operation control in response to the fifth input.
在本申请实施例中,上述控件参数包括:上述预览操作控件的显示大小、上述预览操作控件的显示方向。In the embodiment of the present application, the above-mentioned control parameters include: the display size of the above-mentioned preview operation control, and the display direction of the above-mentioned preview operation control.
示例性地,上述预览操作控件的显示大小与打印纸张的大小相匹配。例如,电子设备放大上述预览操作控件之后,电子设备打印所使用的纸张大小也随之等比例变大。Exemplarily, the display size of the preview operation control matches the size of the printing paper. For example, after the electronic device enlarges the above-mentioned preview operation control, the size of the paper used for printing by the electronic device also becomes proportionally larger.
举例说明,结合图2中的(a),如图5中的(a)所示,若用户向右拖动(即上述第五输入)预览操作控件10的边缘,则如图5中的(b)所示,电子设备可以放大该预览操作控件10。For example, in combination with (a) in FIG. 2 , as shown in (a) in FIG. 5 , if the user drags to the right (that is, the fifth input) the edge of the
示例性地,上述预览操作控件的显示方向与打印纸张的方向相同。例如,电子设备将上述预览操作控件的显示方向调整为横向之后,电子设备打印时也在打印纸张上横向打印。Exemplarily, the display direction of the preview operation control is the same as the direction of the printing paper. For example, after the electronic device adjusts the display direction of the preview operation control to be horizontal, the electronic device also prints horizontally on the printing paper when printing.
如此,通过接收用户的输入,调整预览操作控件的控件参数,以调整最终打印所使用的纸张大小和方向,提高了打印过程的灵活性。In this way, by receiving the user's input, adjusting the control parameters of the preview operation control to adjust the size and orientation of the paper used for final printing, which improves the flexibility of the printing process.
在本申请实施例提供的分区打印方法中,电子设备可以显示预览操作控件,该预览操作控件包括N个预览操作区域,其中,N为正整数;接收对该N个预览操作区域中的第一预览操作区域的第一输入,用于在该第一预览操作区域添加第一预打印内容,并按照该第一预览操作区域对应的排版格式,显示上述第一预打印内容;然后,接收用户的第二输入,用于拼接上述预览操作控件中的每一个预览操作区域中显示的预打印内容,并按照目标打印参数,打印拼接后的预打印内容。如此,由于电子设备显示的预览操作控件可以将N个预览操作区域中的预打印内容自动进行排版,并能够将排版后的预打印内容拼接,因此,缩短了对预打印内容进行排版的耗时,从而提高了整个打印过程的效率。In the partition printing method provided in the embodiment of the present application, the electronic device can display a preview operation control, and the preview operation control includes N preview operation areas, where N is a positive integer; receiving the first one of the N preview operation areas The first input in the preview operation area is used to add the first pre-printed content in the first preview operation area, and display the above-mentioned first pre-printed content according to the typesetting format corresponding to the first preview operation area; then, receive the user's input The second input is used for splicing the pre-printed content displayed in each preview operation area of the above-mentioned preview operation control, and printing the spliced pre-printed content according to the target printing parameters. In this way, since the preview operation control displayed on the electronic device can automatically typeset the pre-printed content in the N preview operation areas, and can splice the typesetting pre-printed content, thus shortening the time-consuming for typesetting the pre-printed content , thereby improving the efficiency of the entire printing process.
可选地,在本申请实施例中,上述步骤205中“电子设备拼接预览操作控件中的每一个预览操作区域中显示的预打印内容”可以包括如下步骤205a:Optionally, in the embodiment of the present application, in the
步骤205a:电子设备在预览操作控件中的至少两个预览操作区域中显示有预打印内容的情况下,按照至少两个预览操作区域的打印顺序,拼接至少两个预览操作区域中显示的预打印内容。Step 205a: When the electronic device displays pre-printed content in at least two preview operation areas in the preview operation control, splice the pre-prints displayed in at least two preview operation areas according to the printing order of the at least two preview operation areas content.
在本申请实施例中,上述至少两个预览操作区域为上述N个预览操作区域中显示有预打印内容的预览操作区域。In the embodiment of the present application, the at least two preview operation areas are the preview operation areas in which the pre-printed content is displayed among the N preview operation areas.
在本申请实施例中,上述打印顺序与上述至少两个预览操作区域在上述预览操作控件中的位置顺序相匹配。In the embodiment of the present application, the printing order matches the position order of the at least two preview operation areas in the preview operation control.
在本申请实施例中,上述打印顺序用于指示电子设备按照上述至少两个预览操作区域在上述预览操作控件中的位置顺序进行打印。In the embodiment of the present application, the above printing order is used to instruct the electronic device to print according to the sequence of positions of the at least two preview operation areas in the above preview operation control.
可选地,在本申请实施例中,电子设备可以按照上述至少两个预览操作区域在上述预览操作控件中的位置顺序,自动为上述至少两个预览操作区域中的预打印内容添加编号。Optionally, in this embodiment of the present application, the electronic device may automatically add numbers to the pre-printed content in the at least two preview operation areas according to the sequence of positions of the at least two preview operation areas in the preview operation control.
在本申请实施例中,上述编号用于指示上述预打印内容的先后顺序。In the embodiment of the present application, the above-mentioned numbers are used to indicate the sequence of the above-mentioned pre-printed content.
举例说明,结合图4中的(b),电子设备可以按照预览操作区域11、预览操作区域12、预览操作区域13从上到下的位置顺序,依次在每个预览操作区域添加编号(如①、②、③)。For example, in conjunction with (b) in Figure 4, the electronic device can add numbers to each preview operation area in sequence according to the position sequence of the
如此,通过将多个预览操作区域中的预打印内容拼接在一起,并为其进行编号,提高了后续打印出的打印内容的整洁度,便于用户整理打印内容。In this way, by splicing together and numbering the pre-printed content in the multiple preview operation areas, the cleanliness of the subsequently printed printed content is improved, and it is convenient for the user to organize the printed content.
可选地,在本申请实施例中,上述步骤205a之前,本申请实施例提供的分区打印方法还包括如下步骤301至步骤303:Optionally, in the embodiment of the present application, before the above step 205a, the partition printing method provided in the embodiment of the present application further includes the following steps 301 to 303:
步骤301:电子设备接收对至少两个预览操作区域中的第二预览操作区域的第三输入。Step 301: The electronic device receives a third input to a second preview operation area of at least two preview operation areas.
在本申请实施例中,上述第三输入用于调整预览操作区域在预览操作控件中的显示位置。In the embodiment of the present application, the above-mentioned third input is used to adjust the display position of the preview operation area in the preview operation control.
在本申请实施例中,上述第三输入可以为用户对上述第二预览操作区域的拖动输入、点击输入,或其他可行性输入,本申请实施例对此不做限定。In the embodiment of the present application, the above-mentioned third input may be the user's drag input, click input, or other feasible input on the above-mentioned second preview operation area, which is not limited in the embodiment of the present application.
示例性地,上述第二预览操作区域可以为上述至少两个操作区域中的一个或多个。Exemplarily, the above-mentioned second preview operation area may be one or more of the above-mentioned at least two operation areas.
步骤302:电子设备响应于第三输入,调整第二预览操作区域在预览操作控件中的显示位置。Step 302: The electronic device adjusts the display position of the second preview operation area in the preview operation control in response to the third input.
一种可能的示例中,上述第三输入为对上述第二预览操作区域对应的调整控件的触控输入,此时,用户点击上述第二预览操作区域对应的调整控件,触发电子设备基于该点击输入对应的调整控件指示的方向,调整该第二预览操作区域的区域显示位置。In a possible example, the third input is a touch input to the adjustment control corresponding to the second preview operation area. At this time, the user clicks the adjustment control corresponding to the second preview operation area, and triggers the electronic device to Input the direction indicated by the corresponding adjustment control to adjust the area display position of the second preview operation area.
另一种可能的示例中,上述第三输入为对上述第二预览操作区域对应区域窗口或区域框的拖动输入,此时,用户拖动上述第二预览操作区域移动,触发电子设备基于该拖动输入的拖动方向,调整该第二预览操作区域的区域显示位置。In another possible example, the above-mentioned third input is a drag input to the area window or area box corresponding to the above-mentioned second preview operation area. At this time, the user drags the above-mentioned second preview operation area to move, triggering the electronic device to Drag the dragging direction of the input to adjust the area display position of the second preview operation area.
在本申请实施例中,上述调整预览操作区域的区域显示位置可以为将该预览操作区域的区域显示位置和与该预览操作区域调整方向相邻的其他预览操作区域的区域显示位置调换。In the embodiment of the present application, the above-mentioned adjustment of the area display position of the preview operation area may be to exchange the area display position of the preview operation area with the area display positions of other preview operation areas adjacent to the adjustment direction of the preview operation area.
步骤303:电子设备按照调整后的预览操作控件中的每一个预览操作区域的区域显示位置,调整至少两个预览操作区域的打印顺序。Step 303: The electronic device adjusts the printing order of at least two preview operation areas according to the adjusted area display position of each preview operation area in the preview operation control.
在本申请实施例中,电子设备在将预打印内容添加至预览操作区域后,还可以接收用户对该预览操作区域的输入,改变其在预览操作控件中的显示位置,进而改变该预览操作区域中的预打印内容的显示顺序。In the embodiment of the present application, after the electronic device adds the pre-printed content to the preview operation area, it can also receive the user's input to the preview operation area, change its display position in the preview operation control, and then change the preview operation area The display order of the preprinted content in .
举例说明,以上述第三输入为对预览操作区域对应的调整控件的点击输入为例。如图6中的(a)所示,预览操作控件10中还包括有“向下”控件和“向上”控件(即上述调整控件)。此时,若用户点击预览操作区域11对应的“向下”控件,则如图6中的(b)所示,电子设备将预览操作区域11和与该预览操作区域11向下方向相邻的预览操作区域12在预览操作控件10中的位置调换,以调整预览操作区域11和预览操作区域12的打印顺序。For example, take the above third input as an example of a click input on the adjustment control corresponding to the preview operation area. As shown in (a) of FIG. 6 , the
如此,通过拖动预览操作区域,即可调整预览操作区域的位置,以改变预览操作区域中的显示的预打印内容的显示顺序,使得电子设备可以更加便捷的设置预打印内容的打印顺序。In this way, by dragging the preview operation area, the position of the preview operation area can be adjusted to change the display order of the pre-printed content displayed in the preview operation area, so that the electronic device can more conveniently set the printing order of the pre-printed content.
可选地,在本申请实施例中,上述步骤204之前,本申请实施例提供的分区打印方法还包括如下步骤304和步骤305:Optionally, in the embodiment of the present application, before the
步骤304:电子设备在N个预览操作区域中的第三预览操作区域中显示有第二预打印内容的情况下,接收对第三预览操作区域的第四输入。Step 304: When the second pre-printed content is displayed in the third preview operation area among the N preview operation areas, the electronic device receives a fourth input to the third preview operation area.
在本申请实施例中,上述第四输入用于删除预打印内容。In the embodiment of the present application, the above fourth input is used to delete the pre-printed content.
在本申请实施例中,上述第四输入可以为用户对上述第三预览操作区域的点击输入,或其他可行性输入,本申请实施例对此不做限定。In the embodiment of the present application, the fourth input may be the user's click input on the third preview operation area, or other feasible input, which is not limited in the embodiment of the present application.
示例性地,上述第三预览操作区域为上述N个预览操作区域中显示有预打印内容的任意一个。Exemplarily, the third preview operation area is any one of the N preview operation areas that displays pre-printed content.
示例性的,上述第二预打印内容包括以下至少一项:文字内容、图像内容、链接内容。Exemplarily, the above-mentioned second pre-printed content includes at least one of the following: text content, image content, and link content.
步骤305:电子设备响应于第四输入,删除第二预打印内容。Step 305: The electronic device deletes the second pre-printed content in response to the fourth input.
在本申请实施例中,若发现上述N个预览操作区域中的某一预览操作区域中的预打印内容错误,则电子设备可以接收用户对该预览操作区域的第四输入,以将该预览操作区域中显示的预打印内容删除,之后,电子设备可以重新在该预览操作区域中添加新的预打印内容。In the embodiment of the present application, if it is found that the pre-printed content in one of the above-mentioned N preview operation areas is wrong, the electronic device may receive the user's fourth input to the preview operation area to make the preview operation After the pre-printed content displayed in the preview area is deleted, the electronic device can add new pre-printed content in the preview operation area again.
如此,通过接收用户的输入,即可将预打印内容删除,以便后续添加新的预打印内容,提高了电子设备修正预打印内容的灵活性。In this way, by receiving the user's input, the pre-printed content can be deleted so that new pre-printed content can be added later, which improves the flexibility of the electronic device to correct the pre-printed content.
本申请实施例提供的分区打印方法,执行主体可以为分区打印装置。本申请实施例中以分区打印装置执行分区打印方法为例,说明本申请实施例提供的分区打印装置。The partition printing method provided in the embodiment of the present application may be executed by a partition printing device. In the embodiment of the present application, the partition printing device executed by the partition printing device is taken as an example to describe the partition printing device provided in the embodiment of the present application.
本申请实施例提供一种分区打印装置,如图7所示,该分区打印装置400包括:显示模块401、接收模块402和执行模块403,其中:上述显示模块401,用于显示预览操作控件,该预览操作控件包括N个预览操作区域,其中,N为正整数;上述接收模块402,用于接收对上述N个预览操作区域中的第一预览操作区域的第一输入;上述显示模块401,还用于响应于接收模块402接收到的第一输入,在上述第一预览操作区域添加第一预打印内容,并按照上述第一预览操作区域对应的排版格式,显示上述第一预打印内容;上述接收模块402,还用于接收用户的第二输入;上述执行模块403,用于响应于接收模块402接收到的第二输入,拼接上述预览操作控件中的每一个预览操作区域中显示的预打印内容,并按照目标打印参数,打印拼接后的预打印内容。An embodiment of the present application provides a partition printing device. As shown in FIG. 7, the
可选地,在本申请实施例中,上述目标打印参数与上述预览操作控件对应的控件参数相关;其中,该控件参数包括:上述预览操作控件的显示大小、上述预览操作控件的显示方向。Optionally, in the embodiment of the present application, the above-mentioned target printing parameter is related to the control parameter corresponding to the above-mentioned preview operation control; wherein, the control parameter includes: the display size of the above-mentioned preview operation control, and the display direction of the above-mentioned preview operation control.
可选地,在本申请实施例中,上述显示模块401,具体用于按照上述第一预览操作区域对应的排版格式,对上述第一预打印内容中目标内容的进行排版,并显示排版后的上述第一预打印内容;其中,上述目标内容包括以下至少一项:文字内容、图像内容、链接内容、所示述第一预打印内容中的空白显示区域。Optionally, in the embodiment of the present application, the above-mentioned
可选地,在本申请实施例中,上述执行模块403,具体用于在上述预览操作控件中的至少两个预览操作区域中显示有预打印内容的情况下,按照上述至少两个预览操作区域的打印顺序,拼接上述至少两个预览操作区域中显示的预打印内容。Optionally, in the embodiment of the present application, the
可选地,在本申请实施例中,上述接收模块402,还用于在执行模块403按照上述至少两个预览操作区域的打印顺序,拼接上述至少两个预览操作区域中显示的预打印内容之前,接收对上述至少两个预览操作区域中的第二预览操作区域的第三输入;上述执行模块403,还用于:响应于接收模块402接收到的第三输入,调整上述第二预览操作区域在上述预览操作控件中的显示位置;按照调整后的上述预览操作控件中的每一个预览操作区域的区域显示位置,调整至少两个上述预览操作区域的打印顺序。Optionally, in the embodiment of the present application, the above-mentioned
可选地,在本申请实施例中,上述接收模块402,还用于在上述接收用户的第二输入之前,在上述N个预览操作区域中的第三预览操作区域中显示有第二预打印内容的情况下,接收对上述第三预览操作区域的第四输入;上述执行模块403,还用于响应于接收模块402接收到的第四输入,删除上述第二预打印内容。Optionally, in the embodiment of the present application, the receiving
本申请实施例提供的分区打印装置中,该分区打印装置可以显示预览操作控件,该预览操作控件包括N个预览操作区域,其中,N为正整数;接收对该N个预览操作区域中的第一预览操作区域的第一输入,用于在该第一预览操作区域添加第一预打印内容,并按照该第一预览操作区域对应的排版格式,显示上述第一预打印内容;然后,接收用户的第二输入,用于拼接上述预览操作控件中的每一个预览操作区域中显示的预打印内容,并按照目标打印参数,打印拼接后的预打印内容。如此,由于上述分区打印装置显示的预览操作控件可以将N个预览操作区域中的预打印内容自动进行排版,并能够将排版后的预打印内容拼接,因此,缩短了对预打印内容进行排版的耗时,从而提高了整个打印过程的效率。In the partition printing device provided in the embodiment of the present application, the partition printing device can display a preview operation control, and the preview operation control includes N preview operation areas, where N is a positive integer; A first input in the preview operation area, which is used to add the first pre-printed content in the first preview operation area, and display the above-mentioned first pre-printed content according to the typesetting format corresponding to the first preview operation area; then, receiving the user The second input is used for splicing the pre-printed content displayed in each preview operation area in the above-mentioned preview operation control, and printing the spliced pre-printed content according to the target printing parameters. In this way, because the preview operation control displayed by the above-mentioned partition printing device can automatically typesetting the pre-printed content in the N preview operation areas, and can splice the typesetting pre-printed content, therefore, the time for typesetting the pre-printed content is shortened. Time-consuming, thus improving the efficiency of the entire printing process.
本申请实施例中的分区打印装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtualreality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The partition printing apparatus in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or other devices other than the terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) devices, robots, wearable devices, ultra-mobile personalcomputers (ultra-mobile personalcomputers, UMPCs), netbooks or personal digital assistants (personal digital assistants, PDAs), etc., can also serve as servers, network attached storage (Network Attached Storage, NAS) , a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in this embodiment of the present application.
本申请实施例中的分区打印装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The partition printing device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的分区打印装置能够实现图1至图6的方法实施例实现的各个过程,为避免重复,这里不再赘述。The partition printing device provided in the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 6 , and details are not repeated here to avoid repetition.
可选地,如图8所示,本申请实施例还提供一种电子设备600,包括处理器601和存储器602,存储器602上存储有可在所述处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述分区打印方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 8 , the embodiment of the present application also provides an
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图9为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
其中,上述显示单元106,用于显示预览操作控件,该预览操作控件包括N个预览操作区域,其中,N为正整数;上述用户输入单元107,用于接收对上述N个预览操作区域中的第一预览操作区域的第一输入;上述显示单元106,还用于响应于用户输入单元107接收到的第一输入,在上述第一预览操作区域添加第一预打印内容,并按照上述第一预览操作区域对应的排版格式,显示上述第一预打印内容;上述用户输入单元107,还用于接收用户的第二输入;上述处理器110,用于响应于用户输入单元107接收到的第二输入,拼接上述预览操作控件中的每一个预览操作区域中显示的预打印内容,并按照目标打印参数,打印拼接后的预打印内容。Wherein, the above-mentioned
可选地,在本申请实施例中,上述目标打印参数与上述预览操作控件对应的控件参数相关;其中,该控件参数包括:上述预览操作控件的显示大小、上述预览操作控件的显示方向。Optionally, in the embodiment of the present application, the above-mentioned target printing parameter is related to the control parameter corresponding to the above-mentioned preview operation control; wherein, the control parameter includes: the display size of the above-mentioned preview operation control, and the display direction of the above-mentioned preview operation control.
可选地,在本申请实施例中,上述显示单元106,具体用于按照上述第一预览操作区域对应的排版格式,对上述第一预打印内容中目标内容的进行排版,并显示排版后的上述第一预打印内容;其中,上述目标内容包括以下至少一项:文字内容、图像内容、链接内容、所示述第一预打印内容中的空白显示区域。Optionally, in the embodiment of the present application, the above-mentioned
可选地,在本申请实施例中,上述处理器110,具体用于在上述预览操作控件中的至少两个预览操作区域中显示有预打印内容的情况下,按照上述至少两个预览操作区域的打印顺序,拼接上述至少两个预览操作区域中显示的预打印内容。Optionally, in the embodiment of the present application, the above-mentioned
可选地,在本申请实施例中,上述用户输入单元107,还用于在处理器110按照上述至少两个预览操作区域的打印顺序,拼接上述至少两个预览操作区域中显示的预打印内容之前,接收对上述至少两个预览操作区域中的第二预览操作区域的第三输入;上述处理器110,还用于:响应于用户输入单元107接收到的第三输入,调整上述第二预览操作区域在上述预览操作控件中的显示位置;按照调整后的上述预览操作控件中的每一个预览操作区域的区域显示位置,调整至少两个上述预览操作区域的打印顺序。Optionally, in the embodiment of the present application, the above-mentioned
可选地,在本申请实施例中,上述用户输入单元107,还用于在上述接收用户的第二输入之前,在上述N个预览操作区域中的第三预览操作区域中显示有第二预打印内容的情况下,接收对上述第三预览操作区域的第四输入;上述处理器110,还用于响应于用户输入单元107接收到的第四输入,删除上述第二预打印内容。Optionally, in the embodiment of the present application, the
在本申请实施例提供的电子设备中,电子设备可以显示预览操作控件,该预览操作控件包括N个预览操作区域,其中,N为正整数;接收对该N个预览操作区域中的第一预览操作区域的第一输入,用于在该第一预览操作区域添加第一预打印内容,并按照该第一预览操作区域对应的排版格式,显示上述第一预打印内容;然后,接收用户的第二输入,用于拼接上述预览操作控件中每一个预览操作区域中显示的预打印内容,并按照目标打印参数,打印拼接后的预打印内容。如此,由于电子设备显示的预览操作控件可以将N个预览操作区域中的预打印内容自动进行排版,并能够将排版后的预打印内容拼接,因此,缩短了对预打印内容进行排版的耗时,从而提高了整个打印过程的效率。In the electronic device provided in the embodiment of the present application, the electronic device may display a preview operation control, and the preview operation control includes N preview operation areas, where N is a positive integer; receiving the first preview in the N preview operation areas The first input in the operation area is used to add the first pre-printed content in the first preview operation area, and display the above-mentioned first pre-printed content according to the typesetting format corresponding to the first preview operation area; then, receive the user's first pre-printed content The second input is used for splicing the pre-printed content displayed in each preview operation area of the above-mentioned preview operation control, and printing the spliced pre-printed content according to the target printing parameters. In this way, since the preview operation control displayed on the electronic device can automatically typeset the pre-printed content in the N preview operation areas, and can splice the typesetting pre-printed content, thus shortening the time-consuming for typesetting the pre-printed content , thereby improving the efficiency of the entire printing process.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(GraphicsProcessing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in the embodiment of the present application, the
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。The
处理器110可包括一个或多个处理单元;可选的,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述分区打印方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by a processor, each process of the above-mentioned partition printing method embodiment is realized, and the same To avoid repetition, the technical effects will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述分区打印方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above-mentioned partition printing method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述分区打印方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to realize the various processes in the above-mentioned partition printing method embodiment, and can achieve the same technical effect , to avoid repetition, it will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211484808.2A CN115756348A (en) | 2022-11-24 | 2022-11-24 | Partition printing method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211484808.2A CN115756348A (en) | 2022-11-24 | 2022-11-24 | Partition printing method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115756348A true CN115756348A (en) | 2023-03-07 |
Family
ID=85338790
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211484808.2A Pending CN115756348A (en) | 2022-11-24 | 2022-11-24 | Partition printing method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115756348A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010161679A (en) * | 2009-01-09 | 2010-07-22 | Murata Machinery Ltd | Image processing apparatus and program for image processing apparatus |
| CN102710879A (en) * | 2010-10-13 | 2012-10-03 | 株式会社东芝 | Image forming apparatus and image forming processing setting method |
| CN104850368A (en) * | 2009-03-10 | 2015-08-19 | 佳能株式会社 | Print control apparatus and method |
| CN103116480B (en) * | 2011-11-16 | 2016-09-14 | 佳能株式会社 | Printing equipment and layout change method |
| CN110618795A (en) * | 2018-06-19 | 2019-12-27 | 阿里巴巴集团控股有限公司 | Printing processing method and device and electronic equipment |
| CN112988087A (en) * | 2021-02-25 | 2021-06-18 | 北大方正集团有限公司 | Imposition method, computer-readable storage medium, and computer device |
-
2022
- 2022-11-24 CN CN202211484808.2A patent/CN115756348A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010161679A (en) * | 2009-01-09 | 2010-07-22 | Murata Machinery Ltd | Image processing apparatus and program for image processing apparatus |
| CN104850368A (en) * | 2009-03-10 | 2015-08-19 | 佳能株式会社 | Print control apparatus and method |
| CN102710879A (en) * | 2010-10-13 | 2012-10-03 | 株式会社东芝 | Image forming apparatus and image forming processing setting method |
| CN103116480B (en) * | 2011-11-16 | 2016-09-14 | 佳能株式会社 | Printing equipment and layout change method |
| CN110618795A (en) * | 2018-06-19 | 2019-12-27 | 阿里巴巴集团控股有限公司 | Printing processing method and device and electronic equipment |
| CN112988087A (en) * | 2021-02-25 | 2021-06-18 | 北大方正集团有限公司 | Imposition method, computer-readable storage medium, and computer device |
Non-Patent Citations (2)
| Title |
|---|
| 张春燕 等: "《Indesign CS5教程》", vol. 2021, 31 January 2021, 华中科技大学出版社, pages: 56 - 57 * |
| 梦工场科技集团: "《Photoshop视觉设计》", vol. 2017, 31 August 2017, 重庆大学出版社, pages: 171 - 172 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102722899B (en) | Positioning printing system for report | |
| WO2021233291A1 (en) | Screen capture method and apparatus, and electronic device | |
| CN112162805B (en) | Screenshot method and device and electronic equipment | |
| US20160196251A1 (en) | Method and apparatus for annotating an electronic document | |
| WO2022166893A1 (en) | Information display method and apparatus, electronic device, and storage medium | |
| WO2023103949A1 (en) | Video processing method and apparatus, electronic device and medium | |
| WO2023155885A1 (en) | Icon arrangement method and apparatus, and electronic device | |
| WO2024088317A1 (en) | Application interface display method and apparatus, electronic device, and storage medium | |
| CN116107531A (en) | Interface display method and device | |
| WO2025055860A1 (en) | File editing method, terminal, electronic device and storage medium | |
| WO2024078490A1 (en) | Picture processing method and apparatus, and electronic device and medium | |
| WO2023083158A1 (en) | Text selection method, text selection apparatus, and electronic device | |
| WO2023241563A1 (en) | Data processing method and electronic device | |
| US8456666B2 (en) | Printer driver interface and methods | |
| CN110262723B (en) | A kind of office assistant method and assistant system | |
| WO2023185701A1 (en) | Display method and apparatus, electronic device, and readable storage medium | |
| WO2023045922A1 (en) | Information input method and apparatus | |
| WO2023155874A1 (en) | Application icon management method and apparatus, and electronic device | |
| CN115756348A (en) | Partition printing method and device | |
| US20130188218A1 (en) | Print Requests Including Event Data | |
| US11609732B2 (en) | Information processing device displaying database image in first display region and partial enlarged image in second display region | |
| WO2023174328A1 (en) | Screen control method and apparatus, electronic device, and storage medium | |
| CN116027950A (en) | Screen capture method and screen capture device | |
| CN101089807A (en) | Watermark printing method and printing device | |
| CN116661713A (en) | File printing method and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |