CN108762694A - Printing driving processing method and processing device in (SuSE) Linux OS - Google Patents

Printing driving processing method and processing device in (SuSE) Linux OS Download PDF

Info

Publication number
CN108762694A
CN108762694A CN201810397772.1A CN201810397772A CN108762694A CN 108762694 A CN108762694 A CN 108762694A CN 201810397772 A CN201810397772 A CN 201810397772A CN 108762694 A CN108762694 A CN 108762694A
Authority
CN
China
Prior art keywords
document
print
language
printing
linux
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
CN201810397772.1A
Other languages
Chinese (zh)
Other versions
CN108762694B (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 CN201810397772.1A priority Critical patent/CN108762694B/en
Publication of CN108762694A publication Critical patent/CN108762694A/en
Application granted granted Critical
Publication of CN108762694B publication Critical patent/CN108762694B/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/1203Improving or facilitating administration, e.g. print management
    • 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/1238Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
    • 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
    • G06F3/1245Job translation or job parsing, e.g. page banding by conversion to intermediate or common format

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

In order to solve in existing (SuSE) Linux OS CUPS to the technical problem of print performance difference after document process, printing driving processing method and processing device in a kind of (SuSE) Linux OS of present invention offer, self-defined editor can be carried out to CUPS treated documents, and by document unsteady state operation be PCL language so that image forming apparatus can more preferably execute printing.The method includes:Receive the operation document that application software is sent;The operation document is converted into intermediate document by universal drive module in the (SuSE) Linux OS, and the corresponding command information of print language is inserted by attaching print language file so that the intermediate document meets predetermined print language code requirement;The filtering control module is automatically converted into output to the printing document of image forming apparatus by print language conversion module in the (SuSE) Linux OS, by the intermediate document, and it is PCL language that the printing document, which corresponds to print language,.

Description

Printing driving processing method and processing device in (SuSE) Linux OS
【Technical field】
The present invention relates to images to form printing driving in the technical field controlled more particularly to a kind of (SuSE) Linux OS Processing method and processing device.
【Background technology】
CUPS, full name in English Common UNIX Printing System, i.e., general Unix print systems give Unix/ Linux user provides a kind of reliable and effective method and carrys out managing printing.Due to being printed under Unix/Linux, always there are many limits System, if but be mounted with CUPS (Common UNIX Printing System), it will obtain a complete printing solution party Case.So common (SuSE) Linux OS is (for example, acceptance of the bid kylin operating system, milky way kylin operating system, middle Ke Fangde behaviour Make system etc.) usually all support CUPS.
But inventor has found in the implementation of the present invention, common CUPS is to document in (SuSE) Linux OS The process of processing has the following disadvantages:Complicated Data Format Transform and data processing does not only result in computer (printing driving journey Terminal where sequence) end performance is poor, and also it is huge to printer due to data volume after transmitting data to printer Resolution speed is slow, and the phenomenon that directly resulting in is exactly that printer operating speed is slow;It is many to print and after CUPS is to document process Order printer can not execute well.Especially many printers do not support PS format orders or PS format orders to handle Energy force difference, document is exported with PS formats to printer, it is easier to lead to the decline of print performance.
It should be noted that the above-mentioned technical proposal referred in background technology, it is only for be convenient for people in the art Member is easier to understand the present invention, rather than all belongs to the content of the prior art, especially finds the process of above-mentioned technical problem, this A little contents for also belonging to the present invention and protecting.
【Invention content】
In order to solve in existing (SuSE) Linux OS CUPS to the technical problem of print performance difference after document process, this hair It is bright that printing driving processing method and processing device in a kind of (SuSE) Linux OS is provided, can to CUPS treated document carries out from Definition editor, and be PCL language by document unsteady state operation so that image forming apparatus can more preferably execute printing.
To achieve the goals above, technical solution provided by the invention includes:
Printing driving processing method in a kind of (SuSE) Linux OS of one aspect of the present invention offer, which is characterized in that including:
Receive the operation document that application software is sent;
The operation document is converted into intermediate document by universal drive module in the (SuSE) Linux OS, and It is described operation document is converted into the intermediate document during, pass through attaching print language file be inserted into print language pair The command information answered so that the intermediate document meets predetermined print language code requirement;
It filters control module and self-defined processing is carried out to the intermediate file, and the filtering control module is described in The intermediate document is automatically converted into output to image forming apparatus by print language conversion module in (SuSE) Linux OS Document is printed, it is PCL language that the printing document, which corresponds to print language,.
Preferably, the method further includes:The attaching print language file is inserted into the corresponding command information of print language During, it is inserted into scheduled identification information, the scheduled identification information correspondence is provided in the filtering control module Corresponding print command information.
Preferably, the method further includes:Print state in (SuSE) Linux OS is controlled by the filtering control module Monitor, and believed by the state of print state monitor inquiry described image forming apparatus and current institute's print job Breath, the print state monitor can manage the status information of more described image forming apparatuses simultaneously.
Preferably, the method further includes:Judged by the filtering control module and is beaten in the (SuSE) Linux OS Whether the described image forming apparatus of print driving cooperation meets predetermined condition, when described image forming apparatus meets pre-provisioning request When, the printing document including PCL language is just sent to described image forming apparatus by the printing driving.
It is further preferred that the predetermined condition includes:In the title of described image forming apparatus, device id, manufacturer extremely Few a kind of information, if consistent with the information stored in the filtering control module.
Preferably, the intermediate document is first split as more parts of operations by the filtering control module, and is passed through respectively described Print language conversion module is converted to the document for including PCL language, and transformed more parts of PCL Language Documents are then merged into institute Output is stated to the printing document of image forming apparatus.
Second aspect of the present invention also provides printing driving processing unit in a kind of (SuSE) Linux OS, which is characterized in that packet It includes:
Document Creator unit, the operation document for receiving application software transmission;
Universal drive module and attaching print language file, the universal drive module are used to convert the operation document For intermediate document, and it is described operation document is converted into the intermediate document during, pass through the attaching print language Say that file is inserted into the corresponding command information of print language so that the intermediate document meets predetermined print language code requirement;
Control module is filtered, for carrying out self-defined processing to the intermediate file, and the filtering control module is logical Print language conversion module in the (SuSE) Linux OS is crossed, the intermediate document, which is automatically converted into output to image, to be formed The printing document of device, it is PCL language that the printing document, which corresponds to print language,.
Preferably, the attaching print language file is additionally operable to during being inserted into the corresponding command information of print language, It is inserted into scheduled identification information, the scheduled identification information correspondence is provided with corresponding printing in the filtering control module Command information.
Preferably, the filtering control module is additionally operable to print state monitor in control (SuSE) Linux OS, and passes through The print state monitor inquiry described image forming apparatus and the status information of current institute's print job, the printing shape State monitor can manage the status information of more described image forming apparatuses simultaneously.
Preferably, the filtering control module is additionally operable to judge and printing driving cooperation in the (SuSE) Linux OS Whether described image forming apparatus meets predetermined condition, and when described image forming apparatus meets pre-provisioning request, the printing is driven It is dynamic that the printing document including PCL language is just sent to described image forming apparatus.
It is further preferred that the predetermined condition includes:In the title of described image forming apparatus, device id, manufacturer extremely Few a kind of information, if consistent with the information stored in the filtering control module.
Preferably, the filtering control module is additionally operable to the intermediate document being split as more parts of operations, the more parts of works Industry is converted to the document for including PCL language by the print language conversion module respectively, the filtering control module be additionally operable to by Transformed more parts of PCL Language Documents are merged into the output to the printing document of image forming apparatus.
Third aspect present invention also provides a kind of electronic device, which is characterized in that including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed with reality by the processor Existing method as described in any one of the above embodiments.
Fourth aspect present invention also provides a kind of computer readable storage medium, which is characterized in that is stored thereon with calculating Machine program;The computer program is executed by processor to realize method as described in any one of the above embodiments.
Using above-mentioned technical proposal provided by the invention, one kind in following advantageous effect can be at least obtained:
Even if 1, CUPS is additional by filtering control module combination to the not good enough of document process in (SuSE) Linux OS The operation document of reception is automatically converted into the document of PCL language, and filter control mould by print language file, printing driving Block can correspondingly be converted in the intermediate document of CUPS conversions and then by print command in conjunction with the characteristic of image forming apparatus To meet the PCL language of image forming apparatus demand;Normal image forming apparatus can be preferably allowed in this way, even PS processing Poor performance also can not reduce print quality and print speed under (SuSE) Linux OS environment when print job.
2, attaching print language is inserted into scheduled identification information in operation document, and scheduled identification information correspondence is filtering Corresponding print command information is provided in control module;I.e. actual print command information is arranged in filtering control module, Security requirements can more preferably be met in this way so that the command information that printing driving is inserted into is not easy to be cracked by malicious third parties.
3, print driver in (SuSE) Linux OS is installed, can be driven by the printing while monitoring more The status information of image forming apparatus so that the status information of more image forming apparatuses is more intuitive, and more without installing The corresponding printing driving of kind image shape device.
4, increase the identification to image forming apparatus attribute in printing drives, thus be avoided that unauthenticated image is formed Device reveals user information.
5, in intermediate document is carried out language conversion process, a print job is carried out to split into more parts (N parts), this Sample can in a manner of multithreading simultaneously operation is handled, processing after the completion of integrated accordingly, be subsequently sent to Image forming apparatus;So that the 1/N of operation document time before the processing time of computer is theoretically approximately equal to, it can be more preferable Promote print performance.
【Description of the drawings】
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without having to pay creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 provides a kind of flow chart of printing driving processing method in (SuSE) Linux OS for the embodiment of the present invention.
Fig. 2 provides a kind of structure diagram of printing driving processing unit in (SuSE) Linux OS for the embodiment of the present invention.
Fig. 3 provides a kind of signal of image forming apparatus Status Monitor in (SuSE) Linux OS for the embodiment of the present invention Figure.
Fig. 4 provides a kind of structure diagram of electronic device for the embodiment of the present invention.
【Specific implementation mode】
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention below in conjunction with the accompanying drawings It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
Embodiment
The present embodiment provides printing driving processing method in a kind of (SuSE) Linux OS, the Linux in the present embodiment is operated System includes but not limited to:Acceptance of the bid kylin operating system, milky way kylin operating system, middle Ke Fangde operating systems etc.;This implementation Example provide printing drive processing method, by develop image forming apparatus printing driving during, just by being arranged in advance Attaching print language file, filtering control module, to overcome existing printing driving slow to document process speed and/or PS (PostScript) process performance technical problem that is poor, and causing image forming apparatus print speed slow is instructed.Hereinafter refer to Image forming apparatus can be only carry printing function single function printer, can also be to be integrated with scanning, duplicating, fax The multifunctional equipment of at least one of function.
As shown in Figure 1, printing driving processing method provided in this embodiment includes:
S110, the operation document that application software is sent is received;Print driver reception is waited for from what application program was sent Print job document, for example, what PDF readers or Kingsoft Co. that user develops in Adobe Fu Xin companies were developed In the application programs such as WPS or the Office softwares of Microsoft's exploitation, a operation document, selection printing are opened, and select Printing driving provided in this embodiment, the printing driving that then this implementation refers to can receive the operation text of application program transmission Shelves.
S120, operation document is converted to by intermediate document by universal drive module in (SuSE) Linux OS, and incited somebody to action During operation document is converted to intermediate document, the corresponding instruction of print language is inserted by attaching print language file and is believed Breath so that intermediate document meets predetermined print language code requirement.
After user clicks print option in the application and confirms printing, printing driving will call Linux to operate Operation document is converted to intermediate document by universal drive module in system, and the universal drive module referred in the present embodiment can be The CUPS carried in (SuSE) Linux OS, specific CUPS depending on the version of (SuSE) Linux OS or user from opening The CUPS versions that source software platform is downloaded, the present embodiment do not do it specific limitation, certainly provided by the embodiment and image shape Universal drive module can also be carried at the corresponding print driver of device.Due to print driver provided in this embodiment And need to be mounted in (SuSE) Linux OS, no matter so it designs in that manner, as long as universal drive module can be used Operation document, which is converted to intermediate document, can realize the technical solution of the present embodiment.It should be noted that this implementation referred to Intermediate file refers on the basis of above application program corresponds to operation document unprocessed form, is obtained after being converted according to universal drive module Document or increase the document after the instruction that image forming apparatus can identify;Not mandatory requirement is user visible one A output document.
And during operation document is converted to intermediate document, pass through attaching print language (PPD, full name in English Postscript Printer Description) the corresponding command information of file insertion print language, such general driving mould During operation document is converted to the realization of intermediate document by block (for example, CUPS), if CUPS itself converts operation document When the format that can be identified for image forming apparatus, order, machine language, though CUPS processing is not good enough, such as without double Face printing function, Poster prints when being inserted into the functions such as watermark, can also allow transformed centre by attaching print language file File can be corresponding with corresponding function;So that intermediate document meets predetermined print language code requirement.It is provided in this embodiment attached Add print language file to carry out writing for PPD files using PCL formats, the switch of entire printing flow can be controlled, and can The UI (user interface) of control printing driving attribute;And relative to single CUPS, additionally it is possible to real existing frequently-used Linux operations In system, to printing the expansibility of driving function, increase some custom features especially in accordance with image forming apparatus.
In the present embodiment preferred embodiment, operation document is converted to centre by universal drive module (for example, CUPS) In document process, the print language of operation document is not converted;The document format of common application program output includes Either the transformed intermediate document of PS universal drive modules is also arranged accordingly to PDF or PS to PDF.
S130, filtering control module carry out self-defined processing to intermediate file, and filter control module and grasped by Linux Make print language conversion module in system, intermediate document is automatically converted into output to the printing document of image forming apparatus, is beaten It is PCL language that printed text shelves, which correspond to print language,.
No matter which kind of format the print language of intermediate document is in the present embodiment, all automatic by print language conversion module It is converted into PCL language, is convenient for subsequent image forming apparatus that printing can be rapidly completed in this way.Wherein, print language Conversion module can be the included Ghostscript of linux system (it is more for printing industry, for by document language format It is converted, such as the CMYK format picture converted from pdf);In technical solution provided in this embodiment, need to be converted to PCL Language, so be integrated with Ghostscript in print driver, and by the configuration to parameter value in Ghostscript, So that no matter it is PDF format or PS formats to receive intermediate document, it can directly be automatically converted to the format of PCL language; It is provided in this embodiment to be driven in the process of development in printing, existing Ghostscript is tested in advance carries out print language conversion Which problem of Shi Huiyou, and filter control module (developer is commonly referred to as Filter modules) and carry out self-defined processing, automatically The instruction and/or parameter undesirably required in document after Ghostscript is converted is modified.If test hair certainly It is existing, it can well be executed and beat by corresponding image forming device by the Ghostscript progress transformed documents of print language Print operation, corresponding change of self-defined processing is exactly nothing.Printing provided in this embodiment in this way drives when executing print processing, Can file carries out self-defined processing directly between automatic centering, and filter control module by being printed in (SuSE) Linux OS Intermediate document, is automatically converted into the document of PCL language by language conversion module, is then exported to image forming apparatus.
In technical solution provided in this embodiment, attaching print language file is provided with predefined mark letter in printing driving Breath, the additional function that filtering control module is also provided in advance, the attachment function are arranged so that image forming apparatus can be complete At specified function.
Therefore, using technical solution provided in this embodiment, though in (SuSE) Linux OS CUPS to document process not It reaches, by filtering control module combination attaching print language file, the operation document of reception is automatically converted by printing driving The document of PCL language, and filtering control module can be in conjunction with the characteristic of image forming apparatus, correspondingly in CUPS conversions Between document and then print command is converted to the PCL language for meeting image forming apparatus demand;It can preferably allow so general Logical image forming apparatus can not also reduce even PS process performances are poor under (SuSE) Linux OS environment when print job Print quality and print speed.
Preferably, in the above method provided in this embodiment, further include:Attaching print language file is inserted into print language pair During the command information answered, it is inserted into scheduled identification information, scheduled identification information correspondence is set in filtering control module It is equipped with corresponding print command information.
Therefore, attaching print language is inserted into scheduled identification information in operation document, and scheduled identification information corresponds to It is provided with corresponding print command information in filtering control module;I.e. actual print command information setting is in filtering control module In, it can more preferably meet security requirements in this way so that the command information that printing driving is inserted into is not easy to be cracked by malicious third parties. For example, some specific functions are provided in printing driving provided in this embodiment, for example, being added in the printing manuscript finally exported Watermark information either prints to special size paper it is contemplated that user may not want that these special functions or information quilt Malicious third parties know, can an identification information, the mark be only inserted into operation document in printing attaching print language Information can not directly embody actual printing instruction, but the filtering during the identification information can be driven by printing controls Module identifies, and filters and be able to carry out the print command corresponding with the identification information in control module.
Preferably, in the above method provided in this embodiment, further include:Linux operations are controlled by filtering control module Print state monitor in system, and pass through print state monitor query image forming apparatus and current institute's print job Status information, print state monitor can manage a kind of status information (specific embodiment party of more image forming apparatuses simultaneously Formula, as shown in Figure 3).Therefore, using technical solution provided in this embodiment, primary printing is installed in (SuSE) Linux OS and is driven Dynamic program can drive by the printing while monitor the status information of more image forming apparatuses so that more images are formed The status information of device is more intuitive, and without installing the corresponding printing driving of a variety of image shape devices.
For the present embodiment it is further preferred that print state monitor is integrated in print driver, application program can Image forming apparatus is learnt currently whether in printable state, if not in printable state by print driver When (for example, lacking paper, the states such as paperboard), print driver (printing driving unit) can select issuing without operation. Transformed print job when image forming apparatus is available, then is sent to image by a kind of selectable embodiment automatically Forming apparatus.In some security fields, for example, the printing of the documents such as invoice data, hospital bank, operation document may need Shen It please can just be printed, if image forming apparatus is in unprintable state and also issues operation and may result in operation and loses at this time It loses, subsequent user is caused to need to apply again;And solution provided in this embodiment can improve the problem.
Preferably, in the above method provided in this embodiment, consider that there are still unstable at present for current (SuSE) Linux OS Factor.For example, in the case where (SuSE) Linux OS crashes or surprisingly shuts down because of external cause, it is provided in this embodiment to beat Driver (printing driving unit) is printed by fault recovering mechanism, can be restarted in the computer for being equipped with (SuSE) Linux OS Afterwards, automatically prompting user retransmits print job.
Preferably, in the above method provided in this embodiment, further include:Judge to grasp with Linux by filtering control module Whether the image forming apparatus for making printing driving cooperation in system meets predetermined condition, when image forming apparatus meets pre-provisioning request When, the printing document including PCL language is just sent to image forming apparatus by printing driving.It is further preferred that predetermined condition Including:At least one of the title of image forming apparatus, device id (number), manufacturer information, if in filtering control module The information of storage is consistent.And condition provided in this embodiment can be one or more kinds of conditions, in the case of a variety of conditions, It can meet any one in a variety of conditions or a variety of conditions are required for meeting whether to meet predetermined condition.By printing Increase the identification to image forming apparatus attribute in driving, thus is avoided that unauthenticated image forming apparatus leakage user's letter Breath.
Preferably, in the above method provided in this embodiment, intermediate document is first split as more parts of works by filtering control module Industry, and the document for including PCL language is converted to by print language conversion module respectively, then by transformed more parts of PCL languages Speech document is merged into output to the printing document of image forming apparatus.
In intermediate document is carried out language conversion process, a print job is carried out to split into more parts (N parts), in this way Operation can be handled simultaneously in a manner of multithreading, be integrated, be subsequently sent to figure accordingly after the completion of processing As forming apparatus;So that the 1/N of operation document time before the processing time of computer is theoretically approximately equal to, can more preferably carry Rise print performance.
As shown in Fig. 2, the present embodiment also provides printing driving processing unit in a kind of (SuSE) Linux OS, in the device Structure, function, the use referred in attaching print language file, filtering control module, print language conversion module and the above method It is identical on the way, therefore hereafter repeat no more.
As shown in Fig. 2, printing driving processing unit includes in (SuSE) Linux OS provided in this embodiment:
Driving unit (dotted line frame is blackened in Fig. 2) is printed, printing driving unit provided in this embodiment includes:Document Creator Unit 210, attaching print language file 220, filtering control module 230, print language conversion module 240, Status Monitor 250.Certainly printing driving unit provided by the embodiment is not limited to the layout type of Fig. 2, can also be by universal drive module 300 It is arranged in printing driving unit, print language conversion module 240 can also be arranged to be not belonging to printing driving unit.
In (SuSE) Linux OS provided in this embodiment in printing driving processing unit:
Document Creator unit 210, the operation document for receiving application software transmission;
Universal drive module 300 is used to operation document being converted to intermediate document, and in being converted to operation document Between during document, pass through attaching print language file 220 and be inserted into the corresponding command information of print language so that intermediate document Meet predetermined print language code requirement;
Control module 230 is filtered, for carrying out self-defined processing to intermediate file, and control module is filtered and passes through Intermediate document is automatically converted into output beating to image forming apparatus by print language conversion module 240 in (SuSE) Linux OS Printed text shelves, it is PCL language that printing document, which corresponds to print language,.
Preferably, attaching print language file 220 is additionally operable to during being inserted into the corresponding command information of print language, is inserted Enter scheduled identification information, scheduled identification information correspondence is provided with corresponding print command information in filtering control module.
Preferably, filtering control module is additionally operable to print state monitor 250 in control (SuSE) Linux OS, and passes through 250 query image forming apparatus of print state monitor and the status information of current institute's print job, print state monitor 250 can manage the status information (a kind of specific implementation mode, as shown in Figure 3) of more image forming apparatuses simultaneously.Therefore, it adopts With technical solution provided in this embodiment, a print driver is installed in (SuSE) Linux OS, the printing can be passed through Driving while the status information for monitoring more image forming apparatuses so that the status information of more image forming apparatuses is more straight It sees, and without installing the corresponding printing driving of a variety of image shape devices.
For the present embodiment it is further preferred that print state monitor is integrated in print driver, application program can Image forming apparatus is learnt currently whether in printable state, if not in printable state by print driver When (for example, lacking paper, the states such as paperboard), issuing without operation can be selected in this way.A kind of selectable embodiment, is waited for When image forming apparatus can be used, then transformed print job is sent to image forming apparatus automatically.In some security fields, For example, the printing of the documents such as invoice data, hospital bank, operation document may need application that can just be printed, if beating at this time Print also issues operation in unprintable state and may result in operation loss, and subsequent user is caused to need to apply again;And this The solution that embodiment provides can improve the problem.
Preferably, in the above method provided in this embodiment, consider that there are still unstable at present for current (SuSE) Linux OS Factor.For example, in the case where (SuSE) Linux OS crashes or surprisingly shuts down because of external cause, it is provided in this embodiment to beat Print is driven through fault recovering mechanism, can be after the computer for being equipped with (SuSE) Linux OS is restarted, and automatically prompting user is again Send print job.
Preferably, filtering control module 230 is additionally operable to judge the image shape with printing driving cooperation in (SuSE) Linux OS Whether meet predetermined condition at device, when image forming apparatus meets pre-provisioning request, printing driving just will be including PCL language Printing document is sent to image forming apparatus.
It is further preferred that above-mentioned predetermined condition includes:In the title of image forming apparatus, device id (number), manufacturer At least one information, if consistent with the information stored in filtering control module.
Preferably, filtering control module 230 is additionally operable to intermediate document being split as more parts of operations, and more parts of operations are beaten respectively Indo-hittite speech conversion module is converted to the document for including PCL language, and filtering control module is additionally operable to transformed more parts of PCL language Document is merged into output to the printing document of image forming apparatus.
As shown in figure 4, the present embodiment also provides a kind of electronic device, which includes:
Memory 410;
Processor 420;And
Computer program;
Wherein, computer program stores in memory, and is configured as being executed to realize as any of the above-described by processor The method of item.
The present embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program;Computer program It is executed by processor to realize the method such as any of the above-described.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.

Claims (14)

1. printing driving processing method in a kind of (SuSE) Linux OS, which is characterized in that including:
Receive the operation document that application software is sent;
The operation document is converted into intermediate document by universal drive module in the (SuSE) Linux OS, and in institute It states during operation document is converted to the intermediate document, it is corresponding to be inserted into print language by attaching print language file Command information so that the intermediate document meets predetermined print language code requirement;
It filters control module and self-defined processing is carried out to the intermediate file, and the filtering control module is described in The intermediate document is automatically converted into output to image forming apparatus by print language conversion module in (SuSE) Linux OS Document is printed, it is PCL language that the printing document, which corresponds to print language,.
2. according to the method described in claim 1, it is characterized in that, further including:The attaching print language file is inserted into printing During the corresponding command information of language, it is inserted into scheduled identification information, the scheduled identification information is corresponded in the mistake It is provided with corresponding print command information in filter control module.
3. according to the method described in claim 1, it is characterized in that, further including:Linux is controlled by the filtering control module Print state monitor in operating system, and by print state monitor inquiry described image forming apparatus and currently The status information of institute's print job, the print state monitor can manage the state of more described image forming apparatuses simultaneously Information.
4. according to the method described in claim 1, it is characterized in that, further including:Pass through filtering control module judgement and institute Whether the described image forming apparatus for stating printing driving cooperation in (SuSE) Linux OS meets predetermined condition, when described image shape When meeting pre-provisioning request at device, the printing document including PCL language is just sent to described image and is formed by the printing driving Device.
5. according to the method described in claim 4, it is characterized in that, the predetermined condition includes:Described image forming apparatus At least one of title, device id, manufacturer information, if consistent with the information stored in the filtering control module.
6. according to the method described in any one in claim 1-5, which is characterized in that the filtering control module first will be described Intermediate document is split as more parts of operations, and is converted to the document for including PCL language by the print language conversion module respectively, Then transformed more parts of PCL Language Documents are merged into the output to the printing document of image forming apparatus.
7. printing driving processing unit in a kind of (SuSE) Linux OS, which is characterized in that including:
Document Creator unit, the operation document for receiving application software transmission;
Universal drive module and attaching print language file, the universal drive module is in being converted to the operation document Between document, and it is described operation document is converted into the intermediate document during, pass through the attaching print language text Part is inserted into the corresponding command information of print language so that the intermediate document meets predetermined print language code requirement;
Control module is filtered, for carrying out self-defined processing to the intermediate file, and the filtering control module passes through institute Print language conversion module in (SuSE) Linux OS is stated, the intermediate document is automatically converted into output to image forming apparatus Printing document, the printing document correspond to print language be PCL language.
8. device according to claim 7, which is characterized in that the attaching print language file is additionally operable to be inserted into printing language During saying corresponding command information, it is inserted into scheduled identification information, the scheduled identification information is corresponded in the filtering Corresponding print command information is provided in control module.
9. device according to claim 7, which is characterized in that the filtering control module is additionally operable to control Linux operations Print state monitor in system, and described image forming apparatus is inquired by the print state monitor and is currently beaten The status information of operation is printed, the print state monitor can manage the state letter of more described image forming apparatuses simultaneously Breath.
10. device according to claim 7, which is characterized in that the filtering control module be additionally operable to judge with it is described Whether the described image forming apparatus of printing driving cooperation meets predetermined condition in (SuSE) Linux OS, when described image is formed When device meets pre-provisioning request, the printing document including PCL language is just sent to described image and forms dress by the printing driving It sets.
11. device according to claim 10, which is characterized in that the predetermined condition includes:Described image forming apparatus Title, device id, at least one of manufacturer information, if it is consistent with the information stored in the filtering control module.
12. according to the device described in any one in claim 7-11, which is characterized in that the filtering control module is additionally operable to The intermediate document is split as more parts of operations, the more parts of operations respectively by the print language conversion module be converted to including The document of PCL language, the filtering control module are additionally operable to transformed more parts of PCL Language Documents being merged into the output extremely The printing document of image forming apparatus.
13. a kind of electronic device, which is characterized in that including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed to realize such as by the processor Claim 1-6 any one of them methods.
14. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program;The computer program It is executed by processor to realize method as claimed in any one of claims 1 to 6.
CN201810397772.1A 2018-04-28 2018-04-28 Print drive processing method and device in Linux operating system Active CN108762694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810397772.1A CN108762694B (en) 2018-04-28 2018-04-28 Print drive processing method and device in Linux operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810397772.1A CN108762694B (en) 2018-04-28 2018-04-28 Print drive processing method and device in Linux operating system

Publications (2)

Publication Number Publication Date
CN108762694A true CN108762694A (en) 2018-11-06
CN108762694B CN108762694B (en) 2021-05-14

Family

ID=64012190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810397772.1A Active CN108762694B (en) 2018-04-28 2018-04-28 Print drive processing method and device in Linux operating system

Country Status (1)

Country Link
CN (1) CN108762694B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471601A (en) * 2018-11-19 2019-03-15 珠海奔图电子有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN109814815A (en) * 2019-01-24 2019-05-28 中软信息系统工程有限公司 A kind of driving device and method
CN110554846A (en) * 2019-09-05 2019-12-10 珠海奔图电子有限公司 Print image forming method and system, print control and driving method and apparatus, and non-transitory storage medium
CN113064560A (en) * 2021-03-23 2021-07-02 珠海奔图电子有限公司 Print control method, print driving device, image forming apparatus, and storage medium
CN113253952A (en) * 2021-04-29 2021-08-13 先进操作系统创新中心(天津)有限公司 Linux operating system-based printer batch automatic adaptation system and adaptation method
CN113383305A (en) * 2019-02-01 2021-09-10 兄弟工业株式会社 Support program, information processing apparatus, and printing method
CN114579065A (en) * 2022-01-21 2022-06-03 福建升腾资讯有限公司 Printer redirection method and system of cloud desktop

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1704893A (en) * 2004-05-31 2005-12-07 佳能株式会社 Job processing method, recording medium, program and system
US7548325B2 (en) * 2003-09-30 2009-06-16 Toshiba Corporation Method and system to manage multiple format fonts in an image generating device
CN101458615A (en) * 2007-12-14 2009-06-17 株式会社理光 Information processing device, information processing device controlling method, and computer-readable recording medium
CN101498996A (en) * 2008-02-02 2009-08-05 艾威梯软件技术(北京)有限公司 Method and equipment for printing based on Bluetooth communication
CN101739223A (en) * 2008-11-10 2010-06-16 北大方正集团有限公司 Method and system to realize the transformation of document format by virtual printing.
CN102346657A (en) * 2010-08-03 2012-02-08 夏普株式会社 Data processing apparatus and image display method
CN104298476A (en) * 2013-07-15 2015-01-21 日本冲信息株式会社 Information processing device and information processing method
US20170147912A1 (en) * 2015-11-19 2017-05-25 Konica Minolta, Inc. Print control system, print control apparatus, and program
CN107203358A (en) * 2017-05-24 2017-09-26 千寻位置网络有限公司 Remote printing device and implementation method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7548325B2 (en) * 2003-09-30 2009-06-16 Toshiba Corporation Method and system to manage multiple format fonts in an image generating device
CN1704893A (en) * 2004-05-31 2005-12-07 佳能株式会社 Job processing method, recording medium, program and system
CN101458615A (en) * 2007-12-14 2009-06-17 株式会社理光 Information processing device, information processing device controlling method, and computer-readable recording medium
CN101498996A (en) * 2008-02-02 2009-08-05 艾威梯软件技术(北京)有限公司 Method and equipment for printing based on Bluetooth communication
CN101739223A (en) * 2008-11-10 2010-06-16 北大方正集团有限公司 Method and system to realize the transformation of document format by virtual printing.
CN102346657A (en) * 2010-08-03 2012-02-08 夏普株式会社 Data processing apparatus and image display method
CN104298476A (en) * 2013-07-15 2015-01-21 日本冲信息株式会社 Information processing device and information processing method
US20170147912A1 (en) * 2015-11-19 2017-05-25 Konica Minolta, Inc. Print control system, print control apparatus, and program
CN107203358A (en) * 2017-05-24 2017-09-26 千寻位置网络有限公司 Remote printing device and implementation method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471601A (en) * 2018-11-19 2019-03-15 珠海奔图电子有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN109814815A (en) * 2019-01-24 2019-05-28 中软信息系统工程有限公司 A kind of driving device and method
CN113383305A (en) * 2019-02-01 2021-09-10 兄弟工业株式会社 Support program, information processing apparatus, and printing method
CN110554846A (en) * 2019-09-05 2019-12-10 珠海奔图电子有限公司 Print image forming method and system, print control and driving method and apparatus, and non-transitory storage medium
CN113064560A (en) * 2021-03-23 2021-07-02 珠海奔图电子有限公司 Print control method, print driving device, image forming apparatus, and storage medium
CN113064560B (en) * 2021-03-23 2024-06-04 珠海奔图电子有限公司 Printing control method, printing drive device, image forming apparatus, and storage medium
CN113253952A (en) * 2021-04-29 2021-08-13 先进操作系统创新中心(天津)有限公司 Linux operating system-based printer batch automatic adaptation system and adaptation method
CN114579065A (en) * 2022-01-21 2022-06-03 福建升腾资讯有限公司 Printer redirection method and system of cloud desktop

Also Published As

Publication number Publication date
CN108762694B (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN108762694A (en) Printing driving processing method and processing device in (SuSE) Linux OS
US9058137B2 (en) Printing apparatus, method for controlling printing apparatus, and storage medium
EP2075685B1 (en) A print-job distribution program, a printer program and corresponding methods
US7195408B2 (en) Image forming system allowing facilitated print setting free from errors
CN102736872B (en) Print system, signal conditioning package and control method
US20100208298A1 (en) Image forming apparatus
JP2009059364A (en) Data processing system, computer readable data storage medium and method
EP1830250B1 (en) Non-postscript printer description file generating tool
US20080209419A1 (en) Push-type pull printing system, pull printing method, and image forming apparatus
EP2388685B1 (en) Information processing apparatus and control method thereof, and storage medium
JP2013037487A (en) Printing system, server device, information processing method and program
US9619739B2 (en) Printer that sets sheet size for printing an XPS file
EP2163980A2 (en) Printing control method, printing control terminal device and image forming apparatus
US8045211B2 (en) Image forming device
US8045205B2 (en) Image forming device, and method and computer readable medium therefor
JP2011034554A (en) Image forming apparatus and program
US9507553B2 (en) Image forming apparatus, image forming control apparatus, image forming system and image forming control program
CN110312050A (en) Print system, Method of printing, image forming apparatus and its control method and medium
US8462372B2 (en) Image processing apparatus and image processing method for storing output pattern data according to a kind of document
JP4881171B2 (en) Host output processing system, host output processing method, host output processing program, and recording medium
US8284439B2 (en) Image forming method, image forming program, and image forming apparatus
JP5042926B2 (en) Print setting device, program, and recording medium
JP2009054153A (en) System and method for customizing driver of document processing device
JP5142852B2 (en) Image forming apparatus having customizable user interface
WO2023181988A1 (en) Support 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