CN110554846A - Print image forming method and system, print control and driving method and apparatus, and non-transitory storage medium - Google Patents

Print image forming method and system, print control and driving method and apparatus, and non-transitory storage medium Download PDF

Info

Publication number
CN110554846A
CN110554846A CN201910837404.9A CN201910837404A CN110554846A CN 110554846 A CN110554846 A CN 110554846A CN 201910837404 A CN201910837404 A CN 201910837404A CN 110554846 A CN110554846 A CN 110554846A
Authority
CN
China
Prior art keywords
printing
bold
intermediate file
print
characters
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.)
Granted
Application number
CN201910837404.9A
Other languages
Chinese (zh)
Other versions
CN110554846B (en
Inventor
王恒
雷艳虎
冯林江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Pantum Electronics Co Ltd
Original Assignee
Zhuhai Pantum Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhuhai Pantum Electronics Co Ltd filed Critical Zhuhai Pantum Electronics Co Ltd
Priority to CN201910837404.9A priority Critical patent/CN110554846B/en
Publication of CN110554846A publication Critical patent/CN110554846A/en
Application granted granted Critical
Publication of CN110554846B publication Critical patent/CN110554846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • G06F3/1215Improving printing performance achieving increased printing speed, i.e. reducing the time between printing start and printing end
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1244Job translation or job parsing, e.g. page banding
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention provides a printing imaging method and system, a printing control and driving method and device and a non-transient storage medium, wherein the method comprises the following steps: the printing control device detects whether the document to be printed has bold characters; when the document to be printed has the bold characters, converting the bold characters into non-bold characters in the process of converting the document to be printed into the intermediate file; setting a bold mark for the non-bold characters converted from the bold characters in the intermediate file; sending the intermediate file to a print driving device; the printing driving device judges whether the intermediate file has a thickening mark; when the judgment result is yes, in the process of converting the intermediate file into the printing language, carrying out thickening processing on the non-thickened characters with the thickened marks in the intermediate file according to a preset image processing algorithm; and generating a printing driving instruction according to the printing language after the thickening processing. By the technical scheme, the data processing amount in the printing process can be reduced, and the printing speed and the user experience are improved.

Description

Print image forming method and system, print control and driving method and apparatus, and non-transitory storage medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of imaging technologies, and in particular, to a printing imaging method and system, a printing control and driving method and apparatus, and a non-transitory storage medium.
[ background of the invention ]
open source systems (such as Linux systems) are gradually improved in ecology, and more users and developers of the open source systems are provided; for example, the winning numbers kylin, zhongkefand, etc. all began to adopt the Linux architecture. Such an operating system is usually based on a universal UNIX printing system (referred to as a CUPS for short), and in the implementation scheme of CUPS printing, it is often necessary to transmit an intermediate file, which is obtained by converting a document to be printed into a PDF format, to a print driver, and the print driver can convert words in the document to be printed into a bitmap, so that the bitmap becomes a PCL (bitmap font object) format recognizable by a printer.
The method comprises the steps that for bold characters in a document to be printed, in the process of converting the bold characters into an intermediate file in a PDF format, all round library lines of the whole bold characters need to be thickened, when a print driving device calls a Ghost Script to process the intermediate file, the thickened characters after the thickening processing are converted into a large number of vector descriptions, the vector descriptions are different from bitmaps and are obtained by combining a plurality of different vector graphics, and each vector needs to correspond to one print command, so that a simple thickening process needs to correspond to a large number of print commands. As a result, the amount of data that the entire system needs to process is enormous, seriously affecting the printing speed.
Therefore, how to increase the printing speed in the framework of the above-mentioned CPUS solution is a technical problem to be solved urgently.
[ summary of the invention ]
the embodiment of the invention provides a printing and imaging method and system, a printing control and driving method and device and a non-transient storage medium, aims to solve the technical problem of low printing speed caused by the fact that a printing driving device processes a large number of printing commands in the related art, and can effectively improve the printing speed.
In a first aspect, an embodiment of the present invention provides a printing and imaging method, used in a printing and imaging system, where the printing and imaging system includes a printing control device and a printing driving device, and includes: the printing control device responds to the acquired printing command and detects whether the document to be printed has bold characters; when the document to be printed has the bold characters, the printing control device converts the bold characters into non-bold characters in the process of converting the document to be printed into an intermediate file; the printing control device sets a thickening mark for the non-thickening character converted from the thickening character in the intermediate file; the printing control device sends the intermediate file carrying the thickened identifier to the printing driving device; the printing driving device judges whether the intermediate file has a thickened mark; when the judgment result is that the intermediate file has the bold mark, the printing driving device performs bold processing on the non-bold characters with the bold mark in the intermediate file according to a preset image processing algorithm in the process of converting the intermediate file into the printing language; and the printing driving device generates a printing driving instruction according to the printing language after the thickening processing.
In the above embodiment of the present invention, optionally, the method further includes: the print control device acquires function information of the connected print driving device in response to the acquired print command; inquiring whether the printing driving device corresponding to the printing control device meets a preset requirement or not according to the function information; and in the case that the print driving device satisfies the predetermined requirement, performing the step of detecting whether the document to be printed has bolded characters.
in a second aspect, an embodiment of the present invention provides a printing control method, used in a printing control apparatus, including: acquiring a printing command; responding to the printing command, and detecting whether a document to be printed has bolded characters; when the document to be printed has the bold characters, converting the bold characters into non-bold characters in the process of converting the document to be printed into an intermediate file; setting a bold mark for the non-bold characters converted from the bold characters in the intermediate file; and sending the intermediate file carrying the thickening identifier to a printing driving device so that the printing driving device performs thickening processing on the non-thickening characters with the thickening identifier in the process of converting the intermediate file into a printing language.
In the above embodiment of the present invention, optionally, before the step of converting the document to be printed into an intermediate file, the method further includes: and judging whether the font to which the bolded characters belong has the corresponding bolded font, wherein under the condition that the judgment result shows that the font to which the bolded characters belong does not have the corresponding bolded font, the step of converting the bolded characters into non-bolded characters in the process of converting the document to be printed into the intermediate file is carried out.
in the above embodiment of the present invention, optionally, when the document to be printed has the bold type, the method further includes: and under the condition that the font to which the bold characters belong has the corresponding bold font according to the judgment result, directly sending the bold characters to the printing driving device according to the corresponding bold font format in the process of converting the document to be printed to the intermediate file so that the printing driving device directly converts the intermediate file into the printing language.
In the above embodiment of the present invention, optionally, before the step of detecting whether the document to be printed has the bolded characters, the method further includes: acquiring function information of the connected print driving apparatus; and judging whether the print driving device has a function of thickening the non-thickened characters or not according to the function information, wherein if the print driving device has the function of thickening the non-thickened characters, the step of detecting whether the document to be printed has the thickened characters or not is carried out.
in a third aspect, an embodiment of the present invention provides a print driving method for a print driving apparatus, including: acquiring an intermediate file from a printing control device; judging whether the intermediate file has a thickening mark; when the judgment result is that the intermediate file has the bold mark, in the process of converting the intermediate file into the printing language, according to a preset image processing algorithm, performing bold processing on the non-bold characters with the bold mark in the intermediate file; and generating a printing driving instruction according to the printing language after the thickening processing.
In the above embodiment of the present invention, optionally, the method further includes: and when the judgment result shows that the intermediate file does not have the thickening mark, directly converting the intermediate file into the printing language.
in the above-described embodiment of the present invention, optionally, the bold mark is a custom format name set in advance in the print control apparatus and/or the print driving apparatus.
In the above embodiment of the present invention, optionally, the preset image processing algorithm includes: carrying out binarization image gray level processing on the intermediate file to obtain a first image; in the process of traversing all pixels in the first image, converting adjacent white pixels of each black pixel into gray pixels to obtain a second image; carrying out binarization processing on the second image to obtain a third image; and generating the printing language after the thickening processing according to the third image.
In a fourth aspect, an embodiment of the present invention provides a print control apparatus, including: a print command acquisition unit configured to acquire a print command; the bold character detection unit is used for responding to the printing command and detecting whether a document to be printed has bold characters; the character conversion unit is used for converting the bold characters into non-bold characters in the process of converting the document to be printed into an intermediate file when the document to be printed has the bold characters; a bold mark setting unit, configured to set a bold mark for the non-bold character converted from the bold character in the intermediate file; and the intermediate file sending unit is used for sending the intermediate file carrying the thickening identifier to a printing driving device so that the printing driving device performs thickening processing on the non-thickening characters with the thickening identifier in the process of converting the intermediate file into a printing language.
In the above embodiment of the present invention, optionally, the method further includes: a first determining unit, configured to determine whether a font to which the bold character belongs has a corresponding bold font before the word converting unit converts the bold character into the non-bold character, where the word converting unit converts the bold character into the non-bold character if the determination result indicates that the font to which the bold character belongs does not have the corresponding bold font.
In the above embodiment of the present invention, optionally, the method further includes: and the execution unit is used for directly sending the bold characters to the printing driving device according to the corresponding bold font format in the process of converting the document to be printed to the intermediate file when the judgment result shows that the font to which the bold characters belong has the corresponding bold font when the document to be printed has the bold font, so that the printing driving device can directly convert the intermediate file into the printing language.
In the above embodiment of the present invention, optionally, the method further includes: a function information acquisition unit configured to acquire function information of the connected print driving apparatus before the bold character detection unit detects whether the document to be printed has the bold characters; and a second judging unit, configured to judge, according to the function information, whether the print driving apparatus has a function of performing a bolding process on the non-bolded character, where in a case where the print driving apparatus has a function of performing a bolding process on the non-bolded character, the step of detecting whether a document to be printed has a bolded character is performed.
in a fifth aspect, an embodiment of the present invention provides a print driving apparatus, including: an intermediate file acquiring unit for acquiring an intermediate file from the print control apparatus; the thickening identification judging unit is used for judging whether the intermediate file has a thickening identification; the thickening processing unit is used for thickening the non-thickened characters with the thickening marks in the intermediate file according to a preset image processing algorithm in the process of converting the intermediate file into the printing language under the condition that the judging result shows that the intermediate file has the thickening marks; and the driving instruction generating unit is used for generating a printing driving instruction according to the printing language after the thickening processing.
in the above embodiment of the present invention, optionally, the method further includes: and the intermediate file conversion unit is used for directly converting the intermediate file into the printing language under the condition that the judgment result shows that the thickening mark is not contained in the intermediate file.
In the above-described embodiment of the present invention, optionally, the bold mark is a custom format name set in advance in the print control apparatus and/or the print driving apparatus.
in the above embodiment of the present invention, optionally, the preset image processing algorithm includes: carrying out binarization image gray level processing on the intermediate file to obtain a first image; in the process of traversing all pixels in the first image, converting adjacent white pixels of each black pixel into gray pixels to obtain a second image; carrying out binarization processing on the second image to obtain a third image; and generating the printing language after the thickening processing according to the third image.
In a sixth aspect, an embodiment of the present invention provides a print control apparatus, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the second aspects above.
In a seventh aspect, an embodiment of the present invention provides a print driving apparatus, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the third aspects above.
In an eighth aspect, an embodiment of the present invention provides a print image forming system including the print control apparatus described in the sixth aspect above and the print driving apparatus described in the seventh aspect above.
in a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer-executable instructions for executing the method flow of any one of the first aspect, the second aspect or the third aspect.
The technical solution above, aiming at the technical problem of low printing speed caused by a large amount of print commands processed by a print driving device in the related art, specifically, in a print imaging system, which at least includes a print control device and a print driving device, a user can perform a printing operation at a client, the print control device arranged in the client can receive the print command, the print control device detects whether a document to be printed has a bolded character or not in response to the obtained print command, if the bolded character exists, the bolded character is converted into a non-bolded character in the process of converting the document to be printed into an intermediate file, so that the intermediate file does not have the bolded character, the step of generating the bolded character is removed from the process of producing the intermediate file, and then a large amount of corresponding print commands do not need to be generated for the bolded character in the subsequent process of converting the intermediate file into a print language, therefore, the printing driving device is beneficial to combining with subsequent work of the printing driving device, the workload of the whole printing imaging system is reduced, and the printing efficiency is improved. Meanwhile, in order to enable the print driving apparatus to recognize the bolded characters in the subsequent steps, the print control apparatus may set a bolded flag for the non-bolded characters converted from the bolded characters in the intermediate file, and finally, the print control apparatus sends the intermediate file carrying the bolded flag to the print driving apparatus.
The printing driving device can be arranged at a client side, can also be arranged at a printing device side, and can also be independently arranged, after the printing driving device receives the intermediate file, firstly, whether the intermediate file has the thickening identification needs to be judged, if the intermediate file has the thickening identification, the thickening character exists in the intermediate file is described, therefore, the thickening characters can be identified through the thickening identification, and in addition, the printing driving device is provided with a preset image processing algorithm which is specially used for thickening the characters in the non-thickening form, so the characters with the thickening identification can be thickened by applying the preset image processing algorithm.
As can be seen from the foregoing background art, in the related art, the print control apparatus converts a document to be printed with bolded characters into bitmaps, and the print driving apparatus changes the bitmaps into a large number of vector diagrams and then generates a print command, because the vector diagrams occupy a large space and have a large processing difficulty relative to the bitmaps, the print driving apparatus is burdened with the print commands corresponding to the large number of vector diagrams, has a high calculation amount, and is slow in printing speed.
In the technical scheme of the invention, when the printing control device converts the document to be printed with the bold characters into the bitmap, the bold characters of the document are displayed in a non-bold character form, so that the number of formed vector diagrams is greatly reduced, the number of corresponding required printing commands is greatly reduced, the calculation difficulty is reduced, and the printing speed is increased. On the basis, simple thickening processing is carried out on the non-thickened characters with the thickened marks in the intermediate file through a preset image processing algorithm, so that a large amount of increase of vector diagrams is not involved, and a large amount of printing commands are still not generated.
Through the technical scheme, the font thickening process in the intermediate file conversion process originally is cancelled, and the non-thickened fonts needing to be thickened and displayed in the intermediate file are thickened in the process of generating the printing language, so that a large number of vector diagrams and corresponding printing commands can be avoided, the data processing amount of the printing process is greatly reduced, and the printing speed and the user experience are improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 illustrates a flow diagram of a print imaging method according to one embodiment of the present invention;
FIG. 2 shows a flow diagram of a print control method according to one embodiment of the invention;
Fig. 3 shows a flowchart of a print control method according to another embodiment of the present invention;
FIG. 4 shows a flow diagram of a print driving method according to one embodiment of the invention;
FIG. 5 is a schematic diagram illustrating a word-bolding process according to one embodiment of the invention;
FIG. 6 shows a flow diagram of a print imaging method according to another embodiment of the invention;
Fig. 7 shows a block diagram of a print control apparatus according to an embodiment of the present invention;
Fig. 8 is a block diagram showing a print control apparatus according to another embodiment of the present invention;
Fig. 9 shows a block diagram of a print driving apparatus according to an embodiment of the present invention;
fig. 10 shows a block diagram of a print driving apparatus according to another embodiment of the present invention;
FIG. 11 shows a block diagram of a print imaging system according to one embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
the terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Open source systems (such as Linux systems) are gradually improved in ecology, and more users and developers of the open source systems are provided; for example, the winning numbers kylin, zhongkefand, etc. all began to adopt the Linux architecture. Such an operating system is usually based on a universal UNIX printing system (referred to as a CUPS for short), and in the CUPS printing implementation scheme, a print driver needs to call ghost script to perform intermediate file processing. Specifically, it is often necessary to transmit an intermediate file for converting a document to be printed into a PDF format or the like to a print driver apparatus, and the print driver apparatus may convert words in the document to be printed into a bitmap, which is in a PCL (bitmap font object) format recognizable by a printer.
In this way, during printing of normal characters (not bold), the print control device such as WPS transmits normal fonts, PDF stores normal fonts, and host Script converts the normal fonts into bitmap fonts (bit maps) and into PCL formats (bit map font objects) that can be recognized by the print driver.
However, in the processing of bold characters, the print control apparatus needs to perform border thickening on the bold characters, that is, to thicken all contour lines of the entire normal characters in the course of producing the PDF file, so as to obtain the bold characters. In this way, when the Ghost Script processes the PDF, the bold font obtained by the edge-thickening process is converted into a large number of vector descriptions, and the vector descriptions need to be obtained by combining a plurality of different vector graphics, and correspond to a plurality of print commands, so that the amount of data to be processed by the print driving apparatus is very large, which affects the printing speed.
In view of this problem, the technical solution of the present invention provides a new printing method based on the CPUS solution to increase the printing speed, and the following describes the technical solution of the present invention in detail through several embodiments and accompanying drawings.
FIG. 1 shows a flow diagram of a print imaging method according to one embodiment of the invention.
As shown in fig. 1, a print image forming method according to an embodiment of the present invention is used in a print image forming system including a print control apparatus and a print driving apparatus, and the flow of the method includes:
in step 102, the printing control device detects whether the document to be printed has bold characters in response to the acquired printing command.
In the printing and imaging system, at least two parts of a printing control device and a printing driving device are included, a user can perform printing operation at a client, the printing control device arranged in the client can receive a printing command (for example, the user clicks printing operation in application software, and the printing control device can receive a corresponding printing command), and the printing control device responds to the acquired printing command and detects whether a document to be printed has bold characters.
And 104, when the document to be printed has the bold characters, the printing control device converts the bold characters into non-bold characters in the process of converting the document to be printed into an intermediate file.
If the bold characters exist, the bold characters are converted into the non-bold characters in the process of converting the document to be printed into the intermediate file, so that the intermediate file does not have the bold characters, the step of processing the bold characters is shifted out from the process of processing the intermediate file, and the bold characters do not need to be processed according to a host Script module carried by an operating system in the subsequent process of converting the intermediate file into the printing language, so that a large number of corresponding printing commands are avoided, the subsequent work of combining a printing driving device is facilitated, the workload of the whole printing imaging system is reduced, and the printing efficiency is improved.
step 106, the printing control device sets a bold mark for the non-bold character converted from the bold character in the intermediate file.
And 108, the printing control device sends the intermediate file carrying the thickened identifier to a printing driving device.
meanwhile, in order to enable the print driving apparatus to recognize the bolded characters in the subsequent steps, the print control apparatus may set a bolded flag for the non-bolded characters converted from the bolded characters in the intermediate file, and finally, the print control apparatus sends the intermediate file carrying the bolded flag to the print driving apparatus.
In step 110, the print driver determines whether the intermediate file has a bold mark.
Step 112, when the determination result is that the intermediate file has the bold mark, the print driving apparatus performs a bold processing on the non-bold character having the bold mark in the intermediate file according to a preset image processing algorithm in the process of converting the intermediate file into the print language.
After the print driving device receives the intermediate file, firstly, whether the intermediate file has a bold mark or not needs to be judged, if the intermediate file has the bold mark, the bold mark is shown to be in the intermediate file, so the bold marks can be identified, and a preset image processing algorithm special for thickening the words in the non-bold form is arranged in the print driving device, and the preset image processing algorithm does not need to convert the thickened font into a large number of vector descriptions according to a Ghost Script module carried by an operating system; namely, the technical scheme provided by this embodiment adds a custom image processing algorithm for performing thickening processing on non-thickened characters with thickening identifiers on the basis of a Ghost Script module of an operating system; therefore, the words with the bold marks can be bold by applying a preset image processing algorithm.
And step 114, the printing driving device generates a printing driving instruction according to the printing language after the thickening processing.
As can be seen from the foregoing background art, in the related art, the print control apparatus converts a document to be printed with bolded characters into bitmaps, and the print driving apparatus changes the bitmaps into a large number of vector diagrams and then generates a print command, because the vector diagrams occupy a large space and have a large processing difficulty relative to the bitmaps, the print driving apparatus is burdened with the print commands corresponding to the large number of vector diagrams, has a high calculation amount, and is slow in printing speed.
In the technical scheme of the invention, when the printing control device converts the document to be printed with the bold characters into the bitmap, the bold characters of the document are displayed in a non-bold character form, so that the number of formed vector diagrams is greatly reduced, the number of corresponding required printing commands is greatly reduced, the calculation difficulty is reduced, and the printing speed is increased. On the basis, simple thickening processing is carried out on the non-thickened characters with the thickened marks in the intermediate file through a preset image processing algorithm, so that a large amount of increase of vector diagrams is not involved, and a large amount of printing commands are still not generated.
on the basis of the embodiment shown in fig. 1, the method further comprises the following steps: the print control device acquires function information of the connected print driving device in response to the acquired print command; inquiring whether the printing driving device corresponding to the printing control device meets a preset requirement or not according to the function information; and in the case that the print driving device satisfies the predetermined requirement, performing the step of detecting whether the document to be printed has bolded characters.
That is, the print control apparatus needs to determine the function support of the print driving apparatus before detecting whether the document to be printed has the bold print, and specifically, may acquire the function information of the connected print driving apparatus, and determine whether the print driving apparatus satisfies a predetermined requirement according to the function information, where the predetermined requirement indicates that the print driving apparatus has a function of bold printing the word with the bold print mark by applying the preset image processing algorithm described in the embodiment shown in fig. 1, and the function information includes the identification information indicating that the print driving apparatus has the function or does not have the function, so that it may be determined whether the corresponding print driving apparatus can bold print the word with the bold print mark by applying the preset image processing algorithm according to the function information. If so, the step of detecting whether the document to be printed has bolded characters described in the embodiment shown in FIG. 1 is entered. Otherwise, the document to be printed may be subjected to print processing by a general printing manner provided in the related art.
through the technical scheme, the problem of printing failure caused by the fact that the functions of the printing control device and the printing driving device are asynchronous can be solved, the printing driving device capable of applying the preset image processing algorithm and the printing driving device incapable of applying the preset image processing algorithm can be compatible, and practicability and convenience are provided for the printing process.
Fig. 2 shows a flowchart of a print control method according to an embodiment of the present invention.
as shown in fig. 2, a print control method according to an embodiment of the present invention is used for a print control apparatus, the method including:
at step 202, a print command is obtained.
In the printing imaging system, at least two parts of a printing control device and a printing driving device are included, a user can perform printing operation at a client, the printing control device arranged in the client can receive a printing command, and the printing control device responds to the acquired printing command to detect whether a document to be printed has boldface characters.
Step 204, responding to the printing command, and detecting whether the document to be printed has the bolded characters.
If the bold characters exist, the bold characters are converted into the non-bold characters in the process of converting the document to be printed into the intermediate file, and thus the intermediate file does not have the bold characters, the step of generating the bold characters is shifted out from the process of producing the intermediate file, and a large amount of corresponding printing commands do not need to be generated for a large amount of bold characters in the subsequent process of converting the intermediate file into the printing language, so that the subsequent work of combining a printing driving device is facilitated, the workload of the whole printing imaging system is reduced, and the printing efficiency is improved.
Step 206, when the document to be printed has the bold characters, converting the bold characters into non-bold characters in the process of converting the document to be printed into an intermediate file.
And 208, setting a bold mark for the non-bold characters converted from the bold characters in the intermediate file.
Step 210, sending the intermediate file carrying the bold mark to a print driving device, so that the print driving device performs bold processing on the non-bold characters with the bold mark in the process of converting the intermediate file into a print language.
Meanwhile, in order to enable the print driving apparatus to recognize the bolded characters in the subsequent steps, the print control apparatus may set a bolded flag for the non-bolded characters converted from the bolded characters in the intermediate file, and finally, the print control apparatus sends the intermediate file carrying the bolded flag to the print driving apparatus.
Fig. 3 shows a flowchart of a print control method according to another embodiment of the present invention.
As shown in fig. 3, a print control method according to another embodiment of the present invention is used for a print control apparatus, the method including:
Step 302, a print command is obtained.
Step 304, in response to the print command, acquiring function information of the connected print driving apparatus.
Step 306, judging whether the print driving device has the function of thickening the non-thickened character according to the function information, if so, entering step 308, and if not, entering step 310.
Step 308, responding to the printing command, detecting whether the document to be printed has the bolded characters.
And step 310, printing the document to be printed by adopting a common mode, and ending the process.
If the print driver has the function of thickening the non-thickened characters, the process proceeds to step 308, where it is detected whether the document to be printed has thickened characters, and if the print driver does not have the function of thickening the non-thickened characters, the process proceeds to step 310, where the document to be printed is printed in a normal manner.
Therefore, the versions of the print control device and the print driving device are not necessarily corresponding, and therefore, in an actual scene, the print driving device may not have a function of performing the bolding processing on the non-bolded characters in the process of converting the printing language, and therefore, if the bold characters are directly changed into the non-bolded characters in the print control device, if the print driving device does not support the bolding processing in the process of converting the printing language, the printing of the bold characters in the document to be printed fails or the bold characters are printed in the form of the non-bolded characters, which affects the printing effect. Therefore, this judgment step is added to ensure smooth progress of the print job.
Step 312, when the document to be printed has the bold characters, determining whether the font to which the bold characters belong has the corresponding bold font, if so, entering step 314, and if not, entering step 316.
And step 314, in the process of converting the document to be printed into the intermediate file, directly sending the bold characters to the print driving device according to a corresponding bold font format, so that the print driving device directly converts the intermediate file into the print language.
If the bold characters in the document to be printed have corresponding bold font a ', the bold characters of the original font a can be directly converted into non-bold characters under the bold font a ' in the process of converting the document to the intermediate file, so that the printing driving device does not need to perform bold processing on the intermediate file, directly converts the intermediate file into the printing language by adopting a common printing mode, and prints the non-bold characters under the bold font a '.
Therefore, the printing process can be flexibly simplified according to the actual font storage condition in the printing control device, and the printing speed is favorably improved.
Step 316, converting the bold characters into non-bold characters in the process of converting the document to be printed into the intermediate file.
step 318, a bold mark is set for the non-bold character converted from the bold character in the intermediate file.
and 320, sending the intermediate file carrying the bold mark to a print driving device, so that the print driving device performs bold processing on the non-bold characters with the bold mark in the process of converting the intermediate file into a print language.
As can be seen from the embodiments shown in fig. 2 and fig. 3, the font thickening process originally in the intermediate file conversion process is cancelled, and the non-thickened fonts to be thickened and displayed in the intermediate file are thickened in the process of generating the printing language, so that a large number of vector diagrams and corresponding printing commands can be avoided, the data processing amount in the printing process is greatly reduced, and the printing speed and the user experience are improved.
Fig. 4 shows a flowchart of a print driving method according to an embodiment of the present invention.
as shown in fig. 4, a print driving method according to an embodiment of the present invention is for a print driving apparatus, the method including:
in step 402, an intermediate file from a print control apparatus is acquired.
Step 404, determining whether the intermediate file has a bold mark, if yes, entering step 406, and if no, entering step 408.
And 406, in the process of converting the intermediate file into the printing language, according to a preset image processing algorithm, performing thickening processing on the non-thickened characters with the thickened marks in the intermediate file.
wherein the bold mark is a custom format name set in advance in the print control apparatus and/or the print driving apparatus. If the intermediate file has the bold marks, it is indicated that the intermediate file has the non-bold characters converted from the bold characters, and the non-bold characters with the bold marks need to be subjected to re-bold processing in the process of converting the intermediate file into the printing language so as to realize accurate printing of the document to be printed corresponding to the intermediate file.
Since the printing control device displays the bold characters in the form of the non-bold characters when converting the document to be printed with the bold characters into the bitmap, the number of formed vector diagrams is greatly reduced, and therefore, the number of printing commands required by the printing drive device is greatly reduced, the calculation difficulty is reduced, and the printing speed is increased. On the basis, simple thickening processing is carried out on the non-thickened characters with the thickened marks in the intermediate file through a preset image processing algorithm, so that a large amount of increase of vector diagrams is not involved, and a large amount of printing commands are still not generated.
Step 408, directly converting the intermediate file into the printing language.
If the intermediate file does not have the bold mark, the intermediate file does not have the non-bold characters converted from the bold characters, and the bold reduction processing is not needed, so that the intermediate file can be directly converted into the printing language by directly adopting a common printing mode.
step 410, generating a print driving command according to the print language.
And finally, generating a printing driving instruction according to the obtained printing language, and sending the printing driving instruction to printing equipment to image the document to be printed corresponding to the intermediate file.
Wherein the preset image processing algorithm comprises: carrying out binarization image gray level processing on the intermediate file to obtain a first image; in the process of traversing all pixels in the first image, converting adjacent white pixels of each black pixel into gray pixels to obtain a second image; carrying out binarization processing on the second image to obtain a third image; and generating the printing language after the thickening processing according to the third image.
Under the condition that the intermediate file is a black-and-white binary image, the intermediate file can be subjected to binarization image gray scale processing to obtain a first image, so that word thickening is realized by increasing gray pixels. The method for processing the binary image gray scale is various, including but not limited to a component method, a maximum value method, an average value method and a weighted average method.
After the first image subjected to the gray scale processing of the binary image is obtained, the adjacent white pixels of each black pixel can be converted into gray pixels to obtain a second image, and thus, in the second image, the range occupied by each black pixel is widened, namely, thickened.
As shown in fig. 5, a row of black pixels is formed in a horizontal bar in the non-bolded character, and white pixels above, below, to the left, and to the right of each black pixel are converted into gray pixels, thereby bolding the horizontal bar. And then, carrying out binarization processing on the second image, restoring to obtain a third image, and finally generating the printing language subjected to thickening processing according to the third image. However, the embodiment is not limited thereto, and all the adjacent white pixels of each black pixel may be converted into gray pixels in the specific embodiment corresponding to the gray pixels; it can also add 1, 2 … … to the upper, lower, left and right sides, or just add 1, 2 … … to the lower right side to distinguish different thickening degrees.
Of course, the preset image processing algorithm includes, but is not limited to, the above-mentioned manner, and in the thickening process in the above-mentioned manner, the step of converting the adjacent white pixel of each black pixel into a gray pixel may be further replaced by the following steps: and converting the white pixels in the appointed adjacent range of each black pixel into gray pixels, wherein the appointed adjacent range can be flexibly set according to the requirement of font thickening and can comprise any pixel speed in any direction of the black pixels.
Therefore, the printing driving device only needs to perform simple pixel expansion in the process of converting the printing language without dealing with a large amount of printing commands, and does not involve a large amount of increase of vector diagrams, and still does not generate a large amount of printing commands, thereby reducing the calculation difficulty and improving the printing speed. Through the technical scheme, the font thickening process in the intermediate file conversion process originally is cancelled, simple and convenient thickening processing is carried out on non-thickened fonts needing to be thickened and displayed in the intermediate file in the process of generating the printing language, a large number of vector diagrams and corresponding printing commands can be avoided, the data processing amount of the printing process is greatly reduced, and the printing speed and the user experience are improved.
FIG. 6 shows a flow diagram of a print imaging method according to another embodiment of the invention.
As shown in fig. 6, a print image forming method according to another embodiment of the present invention is implemented by cooperation of two parts, namely, application software and a driver, and includes the steps of:
Step 602, the application software reads the flag in the print driver PPD, determines whether the new bold implementation is supported, and if the determination result is yes, the process proceeds to step 604, and if the determination result is no, the process proceeds to step 610.
The printing image forming system at least comprises a printing control device and a printing driving device, wherein the printing control device comprises but is not limited to application software, and the printing driving device is provided with a driving program. Before printing, function support of the driver is required to be determined, and specifically, function information of the connected driver may be acquired, and it is determined whether the driver satisfies a predetermined requirement according to the function information, where the predetermined requirement refers to that the driver has a function of applying a preset image processing algorithm to bold a word with a bold mark as described in the embodiment shown in fig. 1, and the function information includes identification information indicating that the driver has the function or does not have the function, so that it may be determined whether the corresponding driver can apply the preset image processing algorithm to bold the word with the bold mark according to the function information. If so, the step of detecting whether the document to be printed has bolded characters described in the embodiment shown in FIG. 1 is entered. Otherwise, the document to be printed may be subjected to print processing by a general printing manner provided in the related art. Therefore, the problem of printing failure caused by the function asynchronism of the application software and the driver can be avoided, and the practicability and convenience are provided for the printing process.
In step 604, the application software judges whether the document has bold characters, if yes, the step 606 is entered, and if no, the step 610 is entered.
If the bold characters exist, the method goes to step 606, and determines whether a printing mode of thickening the characters with the thickened marks can be adopted by applying a preset image processing algorithm, otherwise, the method goes to step 610, and prints the characters by using a common printing mode provided in the related art.
In step 606, the application software determines whether the bold font has a font with a bold version, and if yes, the process goes to step 610, and if no, the process goes to step 608.
If the bold characters in the document to be printed have the corresponding bold font a ', the bold characters of the original font a can be directly converted into the non-bold characters under the bold font a ' in the process of converting the bold characters into the intermediate file, so that the driver does not need to perform the bold processing on the intermediate file, directly converts the intermediate file into the printing language by adopting a common printing mode, and prints the non-bold characters under the bold font a '.
At step 608, the application software eliminates the step of using the contour bolding method.
At step 610, the application software executes the printing process provided in the related art.
Step 612, the application software changes the font name of the Bold font, adds the Bold typeface for the font name, and generates a new PDF file.
the Bold type is a Bold identification which is a custom format name set in the printing control device and/or the printing drive device in advance and can be used for a drive program to recognize Bold type.
In step 614, the driver determines that the received PDF file from the application has Bold typeface in its font name.
In step 616, if the font name has a Bold typeface, the driver applies a preset image processing algorithm to thicken the font corresponding to the font name.
And the driver identifies the Bold characters according to the Bold character patterns and performs thickening processing on the Bold characters by using a preset image processing algorithm, wherein the preset image processing algorithm comprises but is not limited to a binary image gray processing mode.
and step 618, the driver generates a PCL command according to the thickening result and sends the PCL command to the printer.
Finally, the driver sends the PCL command to the printer, and drives the printer to perform printing work.
through the technical scheme, the font thickening process in the intermediate file conversion process originally is cancelled, and the non-thickened fonts needing to be thickened and displayed in the intermediate file are thickened in the process of generating the printing language, so that a large number of vector diagrams and corresponding printing commands can be avoided, the data processing amount of the printing process is greatly reduced, and the printing speed and the user experience are improved.
fig. 7 shows a block diagram of a print control apparatus according to an embodiment of the present invention.
As shown in fig. 7, a print control apparatus 700 according to an embodiment of the present invention includes: a print command acquisition unit 702 for acquiring a print command; a bold word detection unit 704 for detecting whether a document to be printed has a bold word in response to the print command; a word conversion unit 706, configured to, when the document to be printed has the bolded word, convert the bolded word into a non-bolded word in a process of converting the document to be printed into an intermediate file; a bold mark setting unit 708, configured to set a bold mark for the non-bold character converted from the bold character in the intermediate file; an intermediate file sending unit 610, configured to send the intermediate file carrying the bold mark to a print driving apparatus, so that the print driving apparatus performs a process of bold processing on the non-bold character having the bold mark in a process of converting the intermediate file into a print language.
In the above embodiment of the present invention, optionally, the method further includes: a first determining unit, configured to determine whether a font to which the bold character belongs has a corresponding bold font before the word converting unit 706 converts the bold character into the non-bold character, where the word converting unit converts the bold character into the non-bold character if the determination result indicates that the font to which the bold character belongs does not have the corresponding bold font.
In the above embodiment of the present invention, optionally, the method further includes: and the execution unit is used for directly sending the bold characters to the printing driving device according to the corresponding bold font format in the process of converting the document to be printed to the intermediate file when the judgment result shows that the font to which the bold characters belong has the corresponding bold font when the document to be printed has the bold font, so that the printing driving device can directly convert the intermediate file into the printing language.
In the above embodiment of the present invention, optionally, the method further includes: a function information acquisition unit configured to acquire function information of the print driving apparatus that has been connected, before the bold character detection unit 704 detects whether the bold characters are present in the document to be printed; and a second judging unit, configured to judge, according to the function information, whether the print driving apparatus has a function of performing a bolding process on the non-bolded character, where in a case where the print driving apparatus has a function of performing a bolding process on the non-bolded character, the step of detecting whether a document to be printed has a bolded character is performed.
The printing control apparatus 700 uses the solution described in any one of the embodiments shown in fig. 2 and fig. 3, and therefore, has all the technical effects described above, and will not be described again here.
Fig. 8 shows a block diagram of a print control apparatus according to another embodiment of the present invention.
as shown in fig. 8, a print control apparatus 800 according to another embodiment of the present invention includes at least one memory 802; and a processor 804 communicatively coupled to the at least one memory 802; wherein the memory stores instructions executable by the at least one processor 804, the instructions being configured to perform the aspects of any of the embodiments of fig. 2 and 3 described above. Therefore, the print control apparatus 800 has the same technical effect as any one of the embodiments of fig. 2 and 3, and will not be described again.
fig. 9 shows a block diagram of a print driving apparatus according to an embodiment of the present invention.
As shown in fig. 9, a print driving apparatus 900 according to an embodiment of the present invention includes: an intermediate file acquisition unit 902 for acquiring an intermediate file from the print control apparatus; a bold mark judgment unit 904, configured to judge whether the intermediate file has a bold mark; the thickening processing unit 906 is configured to, when the determination result is that the intermediate file has the thickening identifier, perform thickening processing on the non-thickened characters having the thickening identifier in the intermediate file according to a preset image processing algorithm in the process of converting the intermediate file into the printing language; a driving instruction generating unit 908, configured to generate a printing driving instruction according to the printing language after the thickening processing.
In the above embodiment of the present invention, optionally, the method further includes: and the intermediate file conversion unit is used for directly converting the intermediate file into the printing language under the condition that the judgment result shows that the thickening mark is not contained in the intermediate file.
In the above-described embodiment of the present invention, optionally, the bold mark is a custom format name set in advance in the print control apparatus and/or the print driving apparatus.
In the above embodiment of the present invention, optionally, the preset image processing algorithm includes: carrying out binarization image gray level processing on the intermediate file to obtain a first image; in the process of traversing all pixels in the first image, converting adjacent white pixels of each black pixel into gray pixels to obtain a second image; carrying out binarization processing on the second image to obtain a third image; and generating the printing language after the thickening processing according to the third image.
the print driving apparatus 900 uses any one of the solutions in the embodiment shown in fig. 4, and therefore, has all the technical effects described above, and will not be described again here.
Fig. 10 shows a block diagram of a print driving apparatus according to another embodiment of the present invention.
As shown in fig. 10, the print driving apparatus 1000 according to an embodiment of the present invention includes at least one memory 1002; and a processor 1004 communicatively coupled to the at least one memory 1002; wherein the memory stores instructions executable by the at least one processor 1004 and configured to perform the scheme of any of the above embodiments of fig. 4. Therefore, the print driving apparatus 1000 has the same technical effect as any one of the embodiments in fig. 4, and is not described herein again.
FIG. 11 shows a block diagram of a print imaging system according to one embodiment of the present invention.
as shown in fig. 11, a print image forming system 1100 according to an embodiment of the present invention includes a print control apparatus 800 shown in fig. 8 and a print driving apparatus 1000 shown in fig. 10, and therefore, the print image forming system 1100 is configured to implement the scheme described in any one of the embodiments of fig. 1 to 6, and has all the technical effects described above, and will not be described again here.
The print imaging system 1100 of embodiments of the present invention can exist in a variety of forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) the ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
in addition, an embodiment of the present invention provides a computer-readable storage medium, which stores computer-executable instructions for performing the method flow described in any one of the above embodiments of fig. 1 to 6.
The technical scheme of the invention is explained in detail in combination with the attached drawings, and by the technical scheme of the invention, the font thickening process originally in the intermediate file conversion process is cancelled, and the non-thickened fonts needing to be thickened and displayed in the intermediate file are thickened in the process of generating the printing language, so that a large number of vector diagrams and corresponding printing commands thereof can be avoided, the data processing amount in the printing process is greatly reduced, and the printing speed and the user experience are improved.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (16)

1. A print image forming method for a print image forming system including a print control apparatus and a print driving apparatus, comprising:
The printing control device responds to the acquired printing command and detects whether the document to be printed has bold characters;
When the document to be printed has the bold characters, the printing control device converts the bold characters into non-bold characters in the process of converting the document to be printed into an intermediate file;
The printing control device sets a thickening mark for the non-thickening character converted from the thickening character in the intermediate file;
The printing control device sends the intermediate file carrying the thickened identifier to the printing driving device;
The printing driving device judges whether the intermediate file has a thickened mark;
when the judgment result is that the intermediate file has the bold mark, the printing driving device performs bold processing on the non-bold characters with the bold mark in the intermediate file according to a preset image processing algorithm in the process of converting the intermediate file into the printing language;
And the printing driving device generates a printing driving instruction according to the printing language after the thickening processing.
2. The print imaging method of claim 1, further comprising:
The print control device acquires function information of the connected print driving device in response to the acquired print command;
Inquiring whether the printing driving device corresponding to the printing control device meets a preset requirement or not according to the function information;
and in the case that the print driving device satisfies the predetermined requirement, performing the step of detecting whether the document to be printed has bolded characters.
3. A print control method for a print control apparatus, comprising:
acquiring a printing command;
Responding to the printing command, and detecting whether a document to be printed has bolded characters;
When the document to be printed has the bold characters, converting the bold characters into non-bold characters in the process of converting the document to be printed into an intermediate file;
setting a bold mark for the non-bold characters converted from the bold characters in the intermediate file;
And sending the intermediate file carrying the thickening identifier to a printing driving device so that the printing driving device performs thickening processing on the non-thickening characters with the thickening identifier in the process of converting the intermediate file into a printing language.
4. the print control method according to claim 3, further comprising, before the step of converting the bolded words into non-bolded words in converting the document to be printed into an intermediate file:
And judging whether the font to which the bolded characters belong has the corresponding bolded font, wherein under the condition that the judgment result shows that the font to which the bolded characters belong does not have the corresponding bolded font, the step of converting the bolded characters into non-bolded characters in the process of converting the document to be printed into the intermediate file is carried out.
5. The print control method according to claim 4, when the bold print is in the document to be printed, further comprising:
And under the condition that the font to which the bold characters belong has the corresponding bold font according to the judgment result, directly sending the bold characters to the printing driving device according to the corresponding bold font format in the process of converting the document to be printed to the intermediate file so that the printing driving device directly converts the intermediate file into the printing language.
6. The print control method according to any one of claims 3 to 5, further comprising, before the step of detecting whether the document to be printed has bolded characters, a step of:
acquiring function information of the connected print driving apparatus;
And judging whether the print driving device has a function of thickening the non-thickened characters or not according to the function information, wherein if the print driving device has the function of thickening the non-thickened characters, the step of detecting whether the document to be printed has the thickened characters or not is carried out.
7. a print driving method for a print driving apparatus, comprising:
Acquiring an intermediate file from a printing control device;
Judging whether the intermediate file has a thickening mark;
when the judgment result is that the intermediate file has the bold mark, in the process of converting the intermediate file into the printing language, according to a preset image processing algorithm, performing bold processing on the non-bold characters with the bold mark in the intermediate file;
And generating a printing driving instruction according to the printing language after the thickening processing.
8. The print driving method according to claim 7, further comprising:
And when the judgment result shows that the intermediate file does not have the thickening mark, directly converting the intermediate file into the printing language.
9. The print driving method according to claim 7 or 8,
The bold mark is a custom format name set in advance in the print control apparatus and/or the print drive apparatus.
10. The print driving method according to claim 9, wherein the preset image processing algorithm comprises:
Carrying out binarization image gray level processing on the intermediate file to obtain a first image;
in the process of traversing all pixels in the first image, converting adjacent white pixels of each black pixel into gray pixels to obtain a second image;
carrying out binarization processing on the second image to obtain a third image;
And generating the printing language after the thickening processing according to the third image.
11. A print control apparatus, comprising:
A print command acquisition unit configured to acquire a print command;
The bold character detection unit is used for responding to the printing command and detecting whether a document to be printed has bold characters;
The character conversion unit is used for converting the bold characters into non-bold characters in the process of converting the document to be printed into an intermediate file when the document to be printed has the bold characters;
A bold mark setting unit, configured to set a bold mark for the non-bold character converted from the bold character in the intermediate file;
And the intermediate file sending unit is used for sending the intermediate file carrying the thickening identifier to a printing driving device so that the printing driving device performs thickening processing on the non-thickening characters with the thickening identifier in the process of converting the intermediate file into a printing language.
12. A print driving apparatus, characterized by comprising:
an intermediate file acquiring unit for acquiring an intermediate file from the print control apparatus;
The thickening identification judging unit is used for judging whether the intermediate file has a thickening identification;
The thickening processing unit is used for thickening the non-thickened characters with the thickening marks in the intermediate file according to a preset image processing algorithm in the process of converting the intermediate file into the printing language under the condition that the judging result shows that the intermediate file has the thickening marks;
And the driving instruction generating unit is used for generating a printing driving instruction according to the printing language after the thickening processing.
13. A print control apparatus, comprising: at least one processor; and a memory communicatively coupled to the at least one processor;
Wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the preceding claims 3 to 6.
14. a print driving apparatus, characterized by comprising: at least one processor; and a memory communicatively coupled to the at least one processor;
Wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the preceding claims 7 to 10.
15. A print image forming system comprising the print control apparatus according to claim 13 and the print driving apparatus according to claim 14.
16. a non-transitory storage medium having stored thereon computer-executable instructions for performing the method flow of any one of claims 1-10.
CN201910837404.9A 2019-09-05 2019-09-05 Printing imaging method and system, printing control and driving method and device and non-transitory storage medium Active CN110554846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910837404.9A CN110554846B (en) 2019-09-05 2019-09-05 Printing imaging method and system, printing control and driving method and device and non-transitory storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910837404.9A CN110554846B (en) 2019-09-05 2019-09-05 Printing imaging method and system, printing control and driving method and device and non-transitory storage medium

Publications (2)

Publication Number Publication Date
CN110554846A true CN110554846A (en) 2019-12-10
CN110554846B CN110554846B (en) 2023-06-16

Family

ID=68739220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910837404.9A Active CN110554846B (en) 2019-09-05 2019-09-05 Printing imaging method and system, printing control and driving method and device and non-transitory storage medium

Country Status (1)

Country Link
CN (1) CN110554846B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732206A (en) * 2021-01-07 2021-04-30 珠海奔图电子有限公司 Print control method, print driving apparatus, and computer-readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88102466A (en) * 1987-04-30 1988-11-16 株式会社日立制作所 Produce the method and the system thereof of font
JP2000112684A (en) * 1998-09-30 2000-04-21 Ricoh Co Ltd Document printing system
JP2004199399A (en) * 2002-12-18 2004-07-15 Ricoh Co Ltd Printer driver, printing system and recording medium
CN101030124A (en) * 2006-02-28 2007-09-05 富士施乐株式会社 Recording medium storing printer driver, printing controlling method of printer driver, printing device, and computer data signal
JP2008046856A (en) * 2006-08-16 2008-02-28 Fuji Xerox Co Ltd Document processing apparatus, document processing program and document processing method
CN102141900A (en) * 2010-01-29 2011-08-03 索尼公司 Printing system and method of controlling printer device
US20160085492A1 (en) * 2014-09-19 2016-03-24 Ricoh Company, Ltd. Printer having global substitution list
CN107908377A (en) * 2017-11-16 2018-04-13 理光图像技术(上海)有限公司 The analytic method of font coding information and its device and application in print language
CN108762694A (en) * 2018-04-28 2018-11-06 珠海奔图电子有限公司 Printing driving processing method and processing device in (SuSE) Linux OS
CN110126484A (en) * 2019-05-30 2019-08-16 深圳龙图腾创新设计有限公司 A kind of printing device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88102466A (en) * 1987-04-30 1988-11-16 株式会社日立制作所 Produce the method and the system thereof of font
JP2000112684A (en) * 1998-09-30 2000-04-21 Ricoh Co Ltd Document printing system
JP2004199399A (en) * 2002-12-18 2004-07-15 Ricoh Co Ltd Printer driver, printing system and recording medium
CN101030124A (en) * 2006-02-28 2007-09-05 富士施乐株式会社 Recording medium storing printer driver, printing controlling method of printer driver, printing device, and computer data signal
JP2008046856A (en) * 2006-08-16 2008-02-28 Fuji Xerox Co Ltd Document processing apparatus, document processing program and document processing method
CN102141900A (en) * 2010-01-29 2011-08-03 索尼公司 Printing system and method of controlling printer device
US20160085492A1 (en) * 2014-09-19 2016-03-24 Ricoh Company, Ltd. Printer having global substitution list
CN107908377A (en) * 2017-11-16 2018-04-13 理光图像技术(上海)有限公司 The analytic method of font coding information and its device and application in print language
CN108762694A (en) * 2018-04-28 2018-11-06 珠海奔图电子有限公司 Printing driving processing method and processing device in (SuSE) Linux OS
CN110126484A (en) * 2019-05-30 2019-08-16 深圳龙图腾创新设计有限公司 A kind of printing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732206A (en) * 2021-01-07 2021-04-30 珠海奔图电子有限公司 Print control method, print driving apparatus, and computer-readable storage medium
WO2022148150A1 (en) * 2021-01-07 2022-07-14 珠海奔图电子有限公司 Print control method, print driving apparatus, and computer readable storage medium

Also Published As

Publication number Publication date
CN110554846B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
US20180253889A1 (en) Information processing apparatus, storage medium, and information processing method for processing clipping rendering instruction
EP2333655A2 (en) Printed matter examination apparatus, a printed matter examination method, a storage medium, and a printed matter examination system
AU2012201065B2 (en) Image forming apparatus, image forming method, and program
CN111950557A (en) Error problem processing method, image forming apparatus and electronic device
US8248665B2 (en) Information processing device, printing device, information processing system, method, computer-readable medium, and computer data signal
CN110554846A (en) Print image forming method and system, print control and driving method and apparatus, and non-transitory storage medium
KR100396548B1 (en) Apparatus for controlling printer to improve printing speed and method thereof
CN110858248B (en) Information security detection method and device for printing equipment
US8331683B2 (en) Image processing apparatus and image processing method
CN113655973B (en) Page segmentation method and device, electronic equipment and storage medium
CN113127260B (en) Display exception handling method, device, equipment and medium
US9058558B2 (en) Image processing apparatus and computer program product for performing a drawing process to add a color and a background color of a spot color image based in part on color transparency information
JP3209916B2 (en) Information processing apparatus and data processing method of information processing apparatus
CN108154497B (en) Automatic detection method and system for graphic road conditions
US8743418B2 (en) Method for removing character-object overlap to increase render processing speed for an image
US8526047B1 (en) Print control apparatus, image forming system, non-transitory computer readable medium
JP2016133901A (en) Print instruction apparatus, printing system, and program
JP2009141525A (en) Apparatus and method of processing image
JP2010181999A (en) Printing system, printer, and print control program
JP4453586B2 (en) Image processing apparatus, image processing method, and image processing system
CN116360713A (en) Printing control method and device
CN118397133A (en) Method and device for drawing, terminal equipment and computer readable storage medium
JP2012141892A (en) Printing system
JP2012058869A (en) Image processor, image-forming device and image processing program
JP5013901B2 (en) Image forming apparatus, PS data processing method, and PS data processing program

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
GR01 Patent grant
GR01 Patent grant