CN107239240A - Print control program, print control system and terminal - Google Patents
Print control program, print control system and terminal Download PDFInfo
- Publication number
- CN107239240A CN107239240A CN201610183360.9A CN201610183360A CN107239240A CN 107239240 A CN107239240 A CN 107239240A CN 201610183360 A CN201610183360 A CN 201610183360A CN 107239240 A CN107239240 A CN 107239240A
- Authority
- CN
- China
- Prior art keywords
- page
- postscript
- data
- hook function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1222—Increasing security of the print job
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/606—Protecting data by securing the transmission between two devices or processes
- G06F21/608—Secure printing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1238—Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
- G06F3/1288—Remote printer device, e.g. being remote from client or server in client-server-printer device configuration
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The present invention proposes a kind of print control program, a kind of print control system and a kind of terminal, wherein, print control program includes:According to the print command received, PostScript print datas are obtained from printer page by the first Hook Function;By the second Hook Function of print.er port monitoring module, determine whether PostScript print datas meet predetermined safety condition;When it is determined that PostScript print datas meet predetermined safety condition, PostScript print datas are sent to print module and printed.Pass through technical scheme, security verification can be carried out to printer page according to predetermined safety condition, content to printer page before application program output printer page to physical printed equipment carries out safety inspection and audit, improve the security of printer page output, and obtain PostScript print datas automatically and the inspection of security is carried out to it, also the flexibility that safety verification is carried out to printer page is improved, it is to avoid user is manually entered the troublesome operation of checking information.
Description
Technical field
The present invention relates to printing control technical filed, in particular to a kind of print control program,
A kind of print control system and a kind of terminal.
Background technology
At present, the operating system used in general printout field based on windows platform,
In the printing of the enterprising style of writing shelves of the operating system platform, mainly using two kinds of print driver
To complete, a kind of is the PostScript drivers using Adobe Postscript page languages, its
In, Adobe Postscript page languages are a kind of programming language suitable for print image and word,
Another is the PCL drivers using HP PCL (print language) page language.
The driver of both types is all the related display of windows platform and draws API
(application programming interface) calls the description language for being converted to correspondence driver, i.e.,
Postscript language or PCL language.Due to Postscript language have more rich page-describing and
Disposal ability, thus used in the printing occasion of middle and high end it is more extensive.
Even if however, obtaining more rich page-describing and processing effect using Postscript language
Really, the security for printing content can not be still controlled in general printout field.At present, have
Although a little printing devices support some simple secure print functions, but generally these printing devices are propped up
The secure print function of holding also is limited only to support authentication or Password Input of user etc. simple
Control function, these processing modes effectively can not carry out safety certification from source to printing content
And control.
Therefore, how lifting printing is made during application Postscript language carries out print job
The security of industry, as technical problem urgently to be resolved hurrily at present.
The content of the invention
The present invention is based on above mentioned problem, it is proposed that a kind of new technical scheme, can be in application
Postscript language lifted during print job the security of print job.
In view of this, an aspect of of the present present invention proposes a kind of print control program, including:According to connecing
The print command received, PostScript printing numbers are obtained by the first Hook Function from printer page
According to;By the second Hook Function of print.er port monitoring module, the PostScript printings number is determined
According to whether meeting predetermined safety condition;When it is determined that the PostScript print datas meet described predetermined
During safety condition, the PostScript print datas are sent to print module and printed.
In the technical scheme, the first Hook Function is to be injected into PostScript print drivers
Hook Function, the PostScript that can be obtained during print job by the first Hook Function beats
Printing evidence, so as to further be verified to PostScript print datas, if the result
Meet predetermined safety condition for PostScript print datas, illustrate this print job be it is safe,
Printing can be performed, if PostScript print datas do not meet predetermined safety condition, illustrates this
The hidden danger that print job is revealed without print right or with security information, then do not allow to perform and beat
Print.
Wherein, predetermined safety condition can forbid occurring predetermined peace in PostScript print datas
There is predetermined safety-critical word in fully closed keyword or PostScript print data.
By the technical scheme, security can be carried out to printer page according to predetermined safety condition and tested
Card, so that the content to printer page before application program output printer page to physical printed equipment is entered
Row safety inspection and audit, improve the security of printer page output, meanwhile, it is automatic to obtain
PostScript print datas and the inspection that security is carried out to it, also improve and printer page are carried out
The flexibility of safety verification, it is to avoid user is manually entered the troublesome operation of checking information, improves use
Experience at family.
In the above-mentioned technical solutions, it is preferable that it is described by the first Hook Function from printer page
Before acquisition PostScript print datas, in addition to:According to the setting command received, institute is set
Predetermined safety condition is stated, and the predetermined safety condition is stored into background data base, wherein, institute
It is the qualifications to the PostScript print datas to state predetermined safety condition.
In the technical scheme, predetermined safety condition can be pre-set when equipment is dispatched from the factory,
It can be carried out setting or updating manually by user, can also be entered by other control terminals being connected with terminal
Row sets and changed, wherein, predetermined safety condition can forbid going out in PostScript print datas
There is predetermined safety-critical word, also in now predetermined safety-critical word or PostScript print datas
Can be other restrictive conditions as needed in addition, predetermined safety-critical word is one or many
Individual, each predetermined safety-critical word has at least one character.
Furthermore it is possible to predetermined safety condition is stored in background data base, so as to right
PostScript print datas easily call the predetermined safety stored in background data base when being verified
Condition.
In any of the above-described technical scheme, it is preferable that described to pass through the second of print.er port monitoring module
Hook Function, determines whether the PostScript print datas meet predetermined safety condition, specific bag
Include:The PostScript is beaten using second Hook Function of the print.er port monitoring module
Printing according to carry out safety-critical word retrieval, wherein, when retrieving the safety-critical word, forbid
Printed, when not retrieving the safety-critical word, it is allowed to printed.
In the technical scheme, the second Hook Function is to be supervised to the print.er port of postscript printer
The Hook Function of the output control logic injected depending on module, is retrieved by the second Hook Function
Whether have in PostScript print datas after safety-critical word, can be judged according to retrieval result
Final whether can send PostScript print datas to physical printed module is printed.
Wherein, when predetermined safety condition is to forbid occurring predetermined safety in PostScript print datas
During keyword, if retrieving any predetermined safety-critical word, non-print, if all pre-
Fixed safety-critical word is not all retrieved, then is printed.Conversely, when predetermined safety condition is
When there is predetermined safety-critical word in PostScript print datas, can all it make a reservation for retrieving
Safety-critical word, the predetermined safety-critical of any predetermined safety-critical word or the first predetermined quantity
During word, printed, correspondingly, whole predetermined safety-critical words are not being retrieved or are being retrieved
Predetermined safety-critical word be less than the second predetermined quantity when, non-print.
In any of the above-described technical scheme, it is preferable that when it is determined that the PostScript print datas not
When meeting the predetermined safety condition, including:The PostScript print datas are generated PDF pages
Face;Text position in text location data and/or image in the PostScript print datas
Data, enter in the PDF pages to the content and/or region that do not meet the predetermined safety condition
Rower is noted;The PDF pages after mark are sent to destination object.
In the technical scheme, can according to the text location data in PostScript print datas and/
Or text location data in image, it is determined that not meeting the content of predetermined safety condition and/or the position in region
Put, and printer page is converted into PDF (portable document format) page, in the PDF pages
Mark content and/or region that these do not meet predetermined safety condition so that the keeper of terminal or on
The destination objects such as level server, which can directly be seen that, does not meet predetermined safety condition part, is easy to further
The page that can not be printed is handled, and letting out for print data is avoided by the form of the PDF pages
Dew.
In any of the above-described technical scheme, it is preferable that also include:According to the printing life received
Order, obtains the page essential information of the printer page, the page essential information include it is following at least
One or a combination set of:User's name, operation Page Name, time-write interval, printing number;Described
Before obtaining from printer page PostScript print datas by the first Hook Function, in addition to:
According to the setting command received, the predetermined safety condition is set, and by the predetermined safety condition
Store into background data base, wherein, the predetermined safety condition is that the PostScript is printed
The qualifications of data and the page essential information;And it is described by the first Hook Function from beating
In printed page face after acquisition PostScript print datas, in addition to:The PostScript is printed
Data and the page essential information are stored into the background data base.
In the technical scheme, if the verification condition that can be printed comprises more than PostScript
Print data, can also include the page essential information of printer page, wherein, the page of printer page
Essential information includes but is not limited at least one of or its combination:User's name, operation page name
Title, time-write interval, printing number.Correspondingly, predetermined safety condition can include to any page base
The limitation of this information, such as, limit effective time-write interval section, limitation printing number no more than three
Part etc., predetermined safety condition can also include limiting PostScript print datas and/or printer page
Occur in page essential information or predetermined safety-critical word can not occur, wherein it is possible to predetermined
The quantity of safety-critical word carries out free setting, so that user can freely be set according to self-demand
The safety-critical word of required examination, further improves the flexibility of printing security control.
In any of the above-described technical scheme, it is preferable that first Hook Function includes:The page is controlled
Logic Hook Function, text output Hook Function and image output Hook Function;The PostScript
Print data includes:The page control logic data of the printer page, text code data, text
Position data, view data, text location data in text code data and image in image.
In any of the above-described technical scheme, it is preferable that it is described by the first Hook Function from printer page
Middle acquisition PostScript print datas, including:When application program exports the printer page, lead to
Cross the page control logic number that the page control logic Hook Function obtains the generation printer page
According to;With when the application program exports the printer page, pass through the text output Hook Function
Obtain the text code data and the text location data;Export described with the application program
During printer page, the image segmentation in the Hook Function acquisition printer page is exported by described image
Content, and according to image model, described image segmented content is combined into described image data;And
Recognized by optical character identification module in described image data in described image text code data and
Text location data in described image.
In the technical scheme, the printer page exported for application program can pass through different hooks
Subfunction obtains corresponding PostScript print datas respectively.Wherein, page control logic hook letter
Number is used for the page control logic data for obtaining printer page;Text output Hook Function is used to obtain text
This coded data and text location data, be able to will not be inconsistent according to text location data on printer page
The content of text and/area marking for closing predetermined safety condition come out;Image output Hook Function is used to obtain
View data is taken, specifically, image output Hook Function can be used to obtain the image point in printer page
Section content, next, can be according to image models such as monochromatic two-value, gray scale and colours image segmentation
Content is combined into view data, recognizes text in image in view data by optical character identification module
Text location data in this coded data and image, can be in printing according to text location data in image
Content of text in the image for not meeting predetermined safety condition and/area marking are gone out on the image of the page
Come.
By the technical scheme, provided for different PostScript print datas each self-corresponding
Hook Function so that the acquisition of PostScript print datas is more flexibly and accurate, so that further
Improve the validity and security of printing security control.
Another aspect of the present invention proposes a kind of print control system, including:Data capture unit,
According to the print command received, PostScript is obtained from printer page by the first Hook Function
Print data;Safety condition authentication unit, by the second Hook Function of print.er port monitoring module,
Determine whether the PostScript print datas meet predetermined safety condition;Print control unit, when
When determining that the PostScript print datas meet the predetermined safety condition, by the PostScript
Print data sends to print module and printed.
In the technical scheme, the first Hook Function is to be injected into PostScript print drivers
Hook Function, the PostScript that can be obtained during print job by the first Hook Function beats
Printing evidence, so as to further be verified to PostScript print datas, if the result
Meet predetermined safety condition for PostScript print datas, illustrate this print job be it is safe,
Printing can be performed, if PostScript print datas do not meet predetermined safety condition, illustrates this
The hidden danger that print job is revealed without print right or with security information, then do not allow to perform and beat
Print.
Wherein, predetermined safety condition can forbid occurring predetermined peace in PostScript print datas
There is predetermined safety-critical word in fully closed keyword or PostScript print data.
By the technical scheme, security can be carried out to printer page according to predetermined safety condition and tested
Card, so that the content to printer page before application program output printer page to physical printed equipment is entered
Row safety inspection and audit, improve the security of printer page output, meanwhile, it is automatic to obtain
PostScript print datas and the inspection that security is carried out to it, also improve and printer page are carried out
The flexibility of safety verification, it is to avoid user is manually entered the troublesome operation of checking information, improves use
Experience at family.
In the above-mentioned technical solutions, it is preferable that also include:Safety condition setting unit, described logical
Cross before the first Hook Function obtains PostScript print datas from printer page, according to receiving
Setting command, the predetermined safety condition is set, and the predetermined safety condition is stored to backstage
In database, wherein, the predetermined safety condition is the restriction to the PostScript print datas
Condition.
In the technical scheme, predetermined safety condition can be pre-set when equipment is dispatched from the factory,
It can be carried out setting or updating manually by user, can also be entered by other control terminals being connected with terminal
Row sets and changed, wherein, predetermined safety condition can forbid going out in PostScript print datas
There is predetermined safety-critical word, also in now predetermined safety-critical word or PostScript print datas
Can be other restrictive conditions as needed in addition, predetermined safety-critical word is one or many
Individual, each predetermined safety-critical word has at least one character.
Furthermore it is possible to predetermined safety condition is stored in background data base, so as to right
PostScript print datas easily call the predetermined safety stored in background data base when being verified
Condition.
In any of the above-described technical scheme, it is preferable that the safety condition authentication unit specifically for:
Number is printed to the PostScript using second Hook Function of the print.er port monitoring module
According to the retrieval for carrying out safety-critical word, wherein, when retrieving the safety-critical word, forbid carrying out
Printing, when not retrieving the safety-critical word, it is allowed to printed.
In the technical scheme, the second Hook Function is to be supervised to the print.er port of postscript printer
The Hook Function of the output control logic injected depending on module, is retrieved by the second Hook Function
Whether have in PostScript print datas after safety-critical word, can be judged according to retrieval result
Final whether can send PostScript print datas to physical printed module is printed.
Wherein, when predetermined safety condition is to forbid occurring predetermined safety in PostScript print datas
During keyword, if retrieving any predetermined safety-critical word, non-print, if all pre-
Fixed safety-critical word is not all retrieved, then is printed.Conversely, when predetermined safety condition is
When there is predetermined safety-critical word in PostScript print datas, can all it make a reservation for retrieving
Safety-critical word, the predetermined safety-critical of any predetermined safety-critical word or the first predetermined quantity
During word, printed, correspondingly, whole predetermined safety-critical words are not being retrieved or are being retrieved
Predetermined safety-critical word be less than the second predetermined quantity when, non-print.
In any of the above-described technical scheme, it is preferable that the print control unit includes:The PDF pages
Generation unit, when it is determined that the PostScript print datas are unsatisfactory for the predetermined safety condition,
The PostScript print datas are generated into the PDF pages;Unit is marked, according to described
Text location data in text location data and/or image in PostScript print datas, described
The content and/or region that do not meet the predetermined safety condition are labeled in the PDF pages;PDF
Page transmitting element, the PDF pages after mark are sent to destination object.
In the technical scheme, can according to the text location data in PostScript print datas and/
Or text location data in image, it is determined that not meeting the content of predetermined safety condition and/or the position in region
Put, and printer page be converted into the PDF pages, marked in the PDF pages these do not meet it is predetermined
The content of safety condition and/or region so that the destination object such as the keeper of terminal or parent server
It can directly be seen that in place of not meeting predetermined safety condition, being easy to further enter the page that can not be printed
Row processing, and avoid by the forms of the PDF pages leakage of print data.
In any of the above-described technical scheme, it is preferable that the data capture unit is additionally operable to:According to connecing
The print command received, obtains the page essential information of the printer page, and the page is basic
Information includes at least one of or its combination:User's name, operation Page Name, the time-write interval,
Print number;And the print control system also includes:Safety condition setting unit, described logical
Cross before the first Hook Function obtains PostScript print datas from printer page, according to receiving
Setting command, the predetermined safety condition is set, and the predetermined safety condition is stored to backstage
In database, wherein, the predetermined safety condition is to PostScript print datas and described
The qualifications of page essential information;Memory cell, it is described by the first Hook Function from type face
In face after acquisition PostScript print datas, by the PostScript print datas and the page
Face essential information is stored into the background data base.
In the technical scheme, if the verification condition that can be printed comprises more than PostScript
Print data, can also include the page essential information of printer page, wherein, the page of printer page
Essential information includes but is not limited at least one of or its combination:User's name, operation page name
Title, time-write interval, printing number.Correspondingly, predetermined safety condition can include to any page base
The limitation of this information, such as, limit effective time-write interval section, limitation printing number no more than three
Part etc., predetermined safety condition can also include limiting PostScript print datas and/or printer page
Occur in page essential information or predetermined safety-critical word can not occur, wherein it is possible to predetermined
The quantity of safety-critical word carries out free setting, so that user can freely be set according to self-demand
The safety-critical word of required examination, further improves the flexibility of printing security control.
In any of the above-described technical scheme, it is preferable that first Hook Function includes:The page is controlled
Logic Hook Function, text output Hook Function and image output Hook Function;The PostScript
Print data includes:The page control logic data of the printer page, text code data, text
Position data, view data, text location data in text code data and image in image.
In any of the above-described technical scheme, it is preferable that the data capture unit includes:First data
Subelement is obtained, when application program exports the printer page, passes through the page control logic hook
Subfunction obtains the page control logic data of the generation printer page;It is single with the second data acquisition
Member, when the application program exports the printer page, is obtained by the text output Hook Function
Take the text code data and the text location data;With the 3rd data acquisition subelement, in institute
When stating the application program output printer page, exported and beaten described in Hook Function acquisition by described image
Image segmentation content in printed page face;View data synthesis unit, according to image model, the figure
As segmented content is combined into described image data;Recognition unit, by optical character identification module in institute
State and text location data in text code data and described image is recognized in described image in view data.
In the technical scheme, the printer page exported for application program can pass through different hooks
Subfunction obtains corresponding PostScript print datas respectively.Wherein, page control logic hook letter
Number is used for the page control logic data for obtaining printer page;Text output Hook Function is used to obtain text
This coded data and text location data, be able to will not be inconsistent according to text location data on printer page
The content of text and/area marking for closing predetermined safety condition come out;Image output Hook Function is used to obtain
View data is taken, specifically, image output Hook Function can be used to obtain the image point in printer page
Section content, next, can be according to image models such as monochromatic two-value, gray scale and colours image segmentation
Content is combined into view data, recognizes text in image in view data by optical character identification module
Text location data in this coded data and image, can be in printing according to text location data in image
Content of text in the image for not meeting predetermined safety condition and/area marking are gone out on the image of the page
Come.
By the technical scheme, provided for different PostScript print datas each self-corresponding
Hook Function so that the acquisition of PostScript print datas is more flexibly and accurate, so that further
Improve the validity and security of printing security control.
Another aspect of the invention proposes a kind of terminal, including any one of above-mentioned technical proposal
Print control system, therefore, the terminal have and above-mentioned technical proposal any one of printing
Control system identical technique effect, will not be repeated here.Wherein, the terminal can be printing dress
Put or the control terminal such as the computer, the mobile phone that are controlled to printing equipment.
By above technical scheme, security can be carried out to printer page according to predetermined safety condition and tested
Card, the content to printer page before application program output printer page to physical printed equipment is pacified
Total inspection and audit, improve the security of printer page output, and obtain PostScript automatically and beat
Printing evidence and the inspection that security is carried out to it, also improve the spirit that safety verification is carried out to printer page
Activity, it is to avoid user is manually entered the troublesome operation of checking information.
Brief description of the drawings
Fig. 1 shows the flow chart of print control program according to an embodiment of the invention;
Fig. 2 shows the block diagram of print control system according to an embodiment of the invention;
Fig. 3 shows the block diagram of terminal according to an embodiment of the invention;
Fig. 4 shows the flow chart of print control program according to another embodiment of the invention;
Fig. 5 shows the background data base in print control system according to an embodiment of the invention
Block diagram.
Embodiment
In order to be more clearly understood that the above objects, features and advantages of the present invention, with reference to attached
The present invention is further described in detail for figure and embodiment.It should be noted that not
In the case of conflict, the feature in embodiments herein and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still,
The present invention can also be different from other modes described here to implement using other, therefore, the present invention
Protection domain do not limited by following public specific embodiment.
Fig. 1 shows the flow chart of print control program according to an embodiment of the invention.
As shown in figure 1, print control program according to an embodiment of the invention, including:
Step 102, according to the print command received, by the first Hook Function from printer page
Obtain PostScript print datas;
Step 104, by the second Hook Function of print.er port monitoring module, PostScript is determined
Whether print data meets predetermined safety condition;
Step 106, will when it is determined that PostScript print datas meet predetermined safety condition
PostScript print datas, which are sent to print module, to be printed.
In the technical scheme, the first Hook Function is to be injected into PostScript print drivers
Hook Function, the PostScript that can be obtained during print job by the first Hook Function beats
Printing evidence, so as to further be verified to PostScript print datas, if the result
Meet predetermined safety condition for PostScript print datas, illustrate this print job be it is safe,
Printing can be performed, if PostScript print datas do not meet predetermined safety condition, illustrates this
The hidden danger that print job is revealed without print right or with security information, then do not allow to perform and beat
Print.
Wherein, predetermined safety condition can forbid occurring predetermined peace in PostScript print datas
There is predetermined safety-critical word in fully closed keyword or PostScript print data.
By the technical scheme, security can be carried out to printer page according to predetermined safety condition and tested
Card, so that the content to printer page before application program output printer page to physical printed equipment is entered
Row safety inspection and audit, improve the security of printer page output, meanwhile, it is automatic to obtain
PostScript print datas and the inspection that security is carried out to it, also improve and printer page are carried out
The flexibility of safety verification, it is to avoid user is manually entered the troublesome operation of checking information, improves use
Experience at family.
In the above-mentioned technical solutions, it is preferable that before step 102, in addition to:According to receiving
Setting command, predetermined safety condition is set, and predetermined safety condition is stored to background data base
In, wherein, predetermined safety condition is the qualifications to PostScript print datas.
In the technical scheme, predetermined safety condition can be pre-set when equipment is dispatched from the factory,
It can be carried out setting or updating manually by user, can also be entered by other control terminals being connected with terminal
Row sets and changed, wherein, predetermined safety condition can forbid going out in PostScript print datas
There is predetermined safety-critical word, also in now predetermined safety-critical word or PostScript print datas
Can be other restrictive conditions as needed in addition, predetermined safety-critical word is one or many
Individual, each predetermined safety-critical word has at least one character.
Furthermore it is possible to predetermined safety condition is stored in background data base, so as to right
PostScript print datas easily call the predetermined safety stored in background data base when being verified
Condition.
In any of the above-described technical scheme, it is preferable that step 104 is specifically included:Use print.er port
Second Hook Function of monitoring module carries out the retrieval of safety-critical word to PostScript print datas,
Wherein, when retrieving safety-critical word, forbid being printed, when not retrieving safety-critical word
When, it is allowed to printed.
In the technical scheme, the second Hook Function is to be supervised to the print.er port of postscript printer
The Hook Function of the output control logic injected depending on module, is retrieved by the second Hook Function
Whether have in PostScript print datas after safety-critical word, can be judged according to retrieval result
Final whether can send PostScript print datas to physical printed module is printed.
Wherein, when predetermined safety condition is to forbid occurring predetermined safety in PostScript print datas
During keyword, if retrieving any predetermined safety-critical word, non-print, if all pre-
Fixed safety-critical word is not all retrieved, then is printed.Conversely, when predetermined safety condition is
When there is predetermined safety-critical word in PostScript print datas, can all it make a reservation for retrieving
Safety-critical word, the predetermined safety-critical of any predetermined safety-critical word or the first predetermined quantity
During word, printed, correspondingly, whole predetermined safety-critical words are not being retrieved or are being retrieved
Predetermined safety-critical word be less than the second predetermined quantity when, non-print.
In any of the above-described technical scheme, it is preferable that in step 106, when it is determined that PostScript
When print data is unsatisfactory for predetermined safety condition, including:PostScript print datas are generated into PDF
The page;Text position number in text location data and/or image in PostScript print datas
According to being labeled in the PDF pages to the content and/or region that do not meet predetermined safety condition;Will
The PDF pages after mark are sent to destination object.
In the technical scheme, can according to the text location data in PostScript print datas and/
Or text location data in image, it is determined that not meeting the content of predetermined safety condition and/or the position in region
Put, and printer page be converted into the PDF pages, marked in the PDF pages these do not meet it is predetermined
The content of safety condition and/or region so that the destination object such as the keeper of terminal or parent server
It can directly be seen that in place of not meeting predetermined safety condition, being easy to further enter the page that can not be printed
Row processing, and avoid by the forms of the PDF pages leakage of print data.
In any of the above-described technical scheme, it is preferable that also include:According to the print command received,
The page essential information of printer page is obtained, page essential information includes at least one of or its group
Close:User's name, operation Page Name, time-write interval, printing number;Before step 102,
Also include:According to the setting command received, predetermined safety condition is set, and by predetermined safety condition
Store into background data base, wherein, predetermined safety condition is to PostScript print datas and page
The qualifications of face essential information;And after step 102, in addition to:PostScript is beaten
Printing evidence and page essential information are stored into background data base.
In the technical scheme, if the verification condition that can be printed comprises more than PostScript
Print data, can also include the page essential information of printer page, wherein, the page of printer page
Essential information includes but is not limited at least one of or its combination:User's name, operation page name
Title, time-write interval, printing number.Correspondingly, predetermined safety condition can include to any page base
The limitation of this information, such as, limit effective time-write interval section, limitation printing number no more than three
Part etc., predetermined safety condition can also include limiting PostScript print datas and/or printer page
Occur in page essential information or predetermined safety-critical word can not occur, wherein it is possible to predetermined
The quantity of safety-critical word carries out free setting, so that user can freely be set according to self-demand
The safety-critical word of required examination, further improves the flexibility of printing security control.
In any of the above-described technical scheme, it is preferable that the first Hook Function includes:Page control logic
Hook Function, text output Hook Function and image output Hook Function;PostScript print datas
Including:The page control logic data of printer page, text code data, text location data, figure
As text location data in text code data in data, image and image.
In any of the above-described technical scheme, it is preferable that step 102 includes:Beaten in application program output
During printed page face, the page control logic for generating printer page is obtained by page control logic Hook Function
Data;With when application program exports printer page, text is obtained by text output Hook Function and compiled
Code data and text location data;With when application program exports printer page, hook is exported by image
Subfunction obtains the image segmentation content in printer page, and according to image model, in image segmentation
Appearance is combined into view data;And recognized by optical character identification module in view data in image
Text location data in text code data and image.
In the technical scheme, the printer page exported for application program can pass through different hooks
Subfunction obtains corresponding PostScript print datas respectively.Wherein, page control logic hook letter
Number is used for the page control logic data for obtaining printer page;Text output Hook Function is used to obtain text
This coded data and text location data, be able to will not be inconsistent according to text location data on printer page
The content of text and/area marking for closing predetermined safety condition come out;Image output Hook Function is used to obtain
View data is taken, specifically, image output Hook Function can be used to obtain the image point in printer page
Section content, next, can be according to image models such as monochromatic two-value, gray scale and colours image segmentation
Content is combined into view data, recognizes text in image in view data by optical character identification module
Text location data in this coded data and image, can be in printing according to text location data in image
Content of text in the image for not meeting predetermined safety condition and/area marking are gone out on the image of the page
Come.
By the technical scheme, provided for different PostScript print datas each self-corresponding
Hook Function so that the acquisition of PostScript print datas is more flexibly and accurate, so that further
Improve the validity and security of printing security control.
Fig. 2 shows the block diagram of print control system according to an embodiment of the invention.
As shown in Fig. 2 print control system 200 according to an embodiment of the invention, including:
Data capture unit 202, safety condition authentication unit 204 and print control unit 206.
Wherein, data capture unit 202 is used to, according to the print command received, pass through the first hook
Function obtains PostScript print datas from printer page;Safety condition authentication unit 204 is used for
By the second Hook Function of print.er port monitoring module, determine whether PostScript print datas are full
The predetermined safety condition of foot;Print control unit 206 is used for when determination PostScript print datas are met
During predetermined safety condition, PostScript print datas are sent to print module and printed.
In the technical scheme, the first Hook Function is to be injected into PostScript print drivers
Hook Function, the PostScript that can be obtained during print job by the first Hook Function beats
Printing evidence, so as to further be verified to PostScript print datas, if the result
Meet predetermined safety condition for PostScript print datas, illustrate this print job be it is safe,
Printing can be performed, if PostScript print datas do not meet predetermined safety condition, illustrates this
The hidden danger that print job is revealed without print right or with security information, then do not allow to perform and beat
Print.
Wherein, predetermined safety condition can forbid occurring predetermined peace in PostScript print datas
There is predetermined safety-critical word in fully closed keyword or PostScript print data.
By the technical scheme, security can be carried out to printer page according to predetermined safety condition and tested
Card, so that the content to printer page before application program output printer page to physical printed equipment is entered
Row safety inspection and audit, improve the security of printer page output, meanwhile, it is automatic to obtain
PostScript print datas and the inspection that security is carried out to it, also improve and printer page are carried out
The flexibility of safety verification, it is to avoid user is manually entered the troublesome operation of checking information, improves use
Experience at family.
In the above-mentioned technical solutions, it is preferable that also include:Safety condition setting unit 208, logical
Cross before the first Hook Function obtains PostScript print datas from printer page, according to receiving
Setting command, predetermined safety condition is set, and predetermined safety condition is stored to background data base
In, wherein, predetermined safety condition is the qualifications to PostScript print datas.
In the technical scheme, predetermined safety condition can be pre-set when equipment is dispatched from the factory,
It can be carried out setting or updating manually by user, can also be entered by other control terminals being connected with terminal
Row sets and changed, wherein, predetermined safety condition can forbid going out in PostScript print datas
There is predetermined safety-critical word, also in now predetermined safety-critical word or PostScript print datas
Can be other restrictive conditions as needed in addition, predetermined safety-critical word is one or many
Individual, each predetermined safety-critical word has at least one character.
Furthermore it is possible to predetermined safety condition is stored in background data base, so as to right
PostScript print datas easily call the predetermined safety stored in background data base when being verified
Condition.
In any of the above-described technical scheme, it is preferable that safety condition authentication unit 204 specifically for:
Safe pass is carried out to PostScript print datas using the second Hook Function of print.er port monitoring module
The retrieval of keyword, wherein, when retrieving safety-critical word, forbid being printed, when not retrieving
During safety-critical word, it is allowed to printed.
In the technical scheme, the second Hook Function is to be supervised to the print.er port of postscript printer
The Hook Function of the output control logic injected depending on module, is retrieved by the second Hook Function
Whether have in PostScript print datas after safety-critical word, can be judged according to retrieval result
Final whether can send PostScript print datas to physical printed module is printed.
Wherein, when predetermined safety condition is to forbid occurring predetermined safety in PostScript print datas
During keyword, if retrieving any predetermined safety-critical word, non-print, if all pre-
Fixed safety-critical word is not all retrieved, then is printed.Conversely, when predetermined safety condition is
When there is predetermined safety-critical word in PostScript print datas, can all it make a reservation for retrieving
Safety-critical word, the predetermined safety-critical of any predetermined safety-critical word or the first predetermined quantity
During word, printed, correspondingly, whole predetermined safety-critical words are not being retrieved or are being retrieved
Predetermined safety-critical word be less than the second predetermined quantity when, non-print.
In any of the above-described technical scheme, it is preferable that print control unit 206 includes:The PDF pages
Generation unit 2062, will when it is determined that PostScript print datas are unsatisfactory for predetermined safety condition
PostScript print datas generate the PDF pages;Unit 2064 is marked, is printed according to PostScript
Text location data in text location data and/or image in data, to not being inconsistent in the PDF pages
The content and/or region for closing predetermined safety condition are labeled;PDF pages transmitting element 2066, will
The PDF pages after mark are sent to destination object.
In the technical scheme, can according to the text location data in PostScript print datas and/
Or text location data in image, it is determined that not meeting the content of predetermined safety condition and/or the position in region
Put, and printer page be converted into the PDF pages, marked in the PDF pages these do not meet it is predetermined
The content of safety condition and/or region so that the destination object such as the keeper of terminal or parent server
It can directly be seen that in place of not meeting predetermined safety condition, being easy to further enter the page that can not be printed
Row processing, and avoid by the forms of the PDF pages leakage of print data.
In any of the above-described technical scheme, it is preferable that data capture unit 202 is additionally operable to:According to connecing
The print command received, obtains the page essential information of printer page, and page essential information includes following
At least one or its combination:User's name, operation Page Name, time-write interval, printing number;Peace
Full condition setting unit 208 can be used for obtaining from printer page by the first Hook Function
Before PostScript print datas, according to the setting command received, predetermined safety condition is set,
And predetermined safety condition is stored into background data base, wherein, predetermined safety condition for pair
The qualifications of PostScript print datas and page essential information;Memory cell 210, is passing through
One Hook Function is obtained from printer page after PostScript print datas, and PostScript is beaten
Printing evidence and page essential information are stored into background data base.
In the technical scheme, if the verification condition that can be printed comprises more than PostScript
Print data, can also include the page essential information of printer page, wherein, the page of printer page
Essential information includes but is not limited at least one of or its combination:User's name, operation page name
Title, time-write interval, printing number.Correspondingly, predetermined safety condition can include to any page base
The limitation of this information, such as, limit effective time-write interval section, limitation printing number no more than three
Part etc., predetermined safety condition can also include limiting PostScript print datas and/or printer page
Occur in page essential information or predetermined safety-critical word can not occur, wherein it is possible to predetermined
The quantity of safety-critical word carries out free setting, so that user can freely be set according to self-demand
The safety-critical word of required examination, further improves the flexibility of printing security control.
In any of the above-described technical scheme, it is preferable that the first Hook Function includes:Page control logic
Hook Function, text output Hook Function and image output Hook Function;PostScript print datas
Including:The page control logic data of printer page, text code data, text location data, figure
As text location data in text code data in data, image and image.
In any of the above-described technical scheme, it is preferable that data capture unit 202 includes:First data
Subelement 2022 is obtained, when application program exports printer page, passes through page control logic hook
Function obtains the page control logic data of generation printer page;With the second data acquisition subelement
2024, when application program exports printer page, text code is obtained by text output Hook Function
Data and text location data;With the 3rd data acquisition subelement 2026, beaten in application program output
During printed page face, the image segmentation content in Hook Function acquisition printer page is exported by image;Image
Image segmentation content, according to image model, is combined into view data by Data Synthesis unit 2028;
Recognition unit 20210, recognizes that text is compiled in image by optical character identification module in view data
Text location data in code data and image.
In the technical scheme, the printer page exported for application program can pass through different hooks
Subfunction obtains corresponding PostScript print datas respectively.Wherein, page control logic hook letter
Number is used for the page control logic data for obtaining printer page;Text output Hook Function is used to obtain text
This coded data and text location data, be able to will not be inconsistent according to text location data on printer page
The content of text and/area marking for closing predetermined safety condition come out;Image output Hook Function is used to obtain
View data is taken, specifically, image output Hook Function can be used to obtain the image point in printer page
Section content, next, can be according to image models such as monochromatic two-value, gray scale and colours image segmentation
Content is combined into view data, recognizes text in image in view data by optical character identification module
Text location data in this coded data and image, can be in printing according to text location data in image
Content of text in the image for not meeting predetermined safety condition and/area marking are gone out on the image of the page
Come.
By the technical scheme, provided for different PostScript print datas each self-corresponding
Hook Function so that the acquisition of PostScript print datas is more flexibly and accurate, so that further
Improve the validity and security of printing security control.
Fig. 3 shows the block diagram of terminal according to an embodiment of the invention.
As shown in figure 3, terminal 300 according to an embodiment of the invention, including shown in Fig. 2
Print control system 200, therefore, the terminal 300 have and the print control system shown in Fig. 2
200 identical technique effects, will not be repeated here.Wherein, the terminal can be printing equipment,
Can be the control terminals such as the computer, the mobile phone that are controlled to printing equipment.
Fig. 4 shows the flow chart of print control program according to another embodiment of the invention.
As shown in figure 4, print control program according to another embodiment of the invention, including:
Step 402, application program receives print command, starts print job.
Step 404, using in the page logic of printing driving Hook Function acquisition printer page, text
Hold and its position.
Step 406, content of text and its position are stored into background data base.
Step 408, by the print.er port Hook Function bound, to text in day after tomorrow database
Content is scanned.
Step 410, judge whether content of text meets predetermined safety condition, when judged result is yes
When, into step 412, when judged result is no, into step 414.
Step 412, printer page is sent to physical printed module and printed.
Step 414, printer page is converted to the PDF pagefiles marked with PDF, sent extremely
Destination object.
For PostScript print drivers, page control logic, text output can be bound
Printing driving Hook Function, so that while upper level applications call print driver to export,
Page logic, content of text and its position of printer page are obtained using printing driving Hook Function.Together
When, the port monitor programmatic binding print.er port hook letter of postscript printer can also be directed to
Number, is printed with controlling whether to allow PostScript print datas to be sent to physical printed module.
Wherein, printing driving Hook Function includes page control logic Hook Function, page control logic
Beginning and closing, the beginning of the page and closing, 5 control logics of the transmission of the page including document,
These logics are used for the generation for controlling printing content, that is, control the life of PostScript print datas
Into.Printing driving Hook Function also includes text output Hook Function, and text output Hook Function is used for
When capturing the text of upper level applications output, the encoded content and text for obtaining text currently exist
Positional information on the page.
In addition, also including image in printing driving Hook Function exports Hook Function, image output hook
Function is used to, when capturing the picture material of upper level applications output, obtain the segmented content of image,
And according to image model (monochromatic two-value, gray scale and colour), the organizing image data of segmentation output
OCR module (optical character knowledge is sent into the view data of whole page, and the view data of whole page
Other module) in be identified, so as to obtain in image text position number in text code data and image
According to, that is to say, that printing driving Hook Function can be also used for obtaining the text code having in image
The position data (not shown in Fig. 4) of text in data and image.
All data that printing driving Hook Function is obtained can be automatically write in background data base, after
Platform database is the information secure database on backstage.
In addition, printing driving Hook Function obtain above-mentioned page control logic, the encoded content of text,
Text in the text code data and image having in the current positional information on the page of text, image
The PostScript print datas such as position data while, the page base of printer page can also be obtained
This information (not shown in Fig. 4), wherein, user's name of the page essential information including printing,
The contents such as operation document title, time-write interval, printing number.The page essential information of printer page can
With with identifying object of the PostScript print datas together as secure print, in other words, make a reservation for
The checking content related to page essential information can be set in safety condition, to verify that the page is believed substantially
Whether breath, which meets printing, requires.
It is corresponding after PostScript print drivers generate PostScript print datas
Windows Spooler (service of printing background process) are sent to corresponding printing by PostScript data
Port monitor, print.er port Hook Function will obtain in background data base the security strategy specified (i.e.
Predetermined safety condition) retrieval of safety-critical word is carried out to printing content, while recording printing.
If printing content meets security strategy, allow print data being sent to the progress of physical printed module
Output, otherwise, the output of non-print content.Here printing content, refers to PostScript
Print data and/or page essential information.
If printing content does not meet security strategy, in the printer page described to PostScript
Hold and carry out PDF standardization processings, generate the PDF pages, and according to content of text on printer page
Positional information be labeled in the corresponding PDF pages, and be sent to safety officer and examined
Meter, so, the content which printing safety officer can easily view violate what is specified
Security strategy, and the person of sending etc. of these printing contents other attribute informations.
By technical scheme, the content of document print in general printing field can be carried out
The filtering detection of safety-critical word, meanwhile, determine security strategy by referring in background data base, it is ensured that
Safety inspection and audit can be carried out to the content of document, protect before document is output to physical printed module
The security of document output is demonstrate,proved.
The method of the invention is applied to the general printing field Windows environment that any hardware is configured
The secure print output system of lower postscript printer, can support to set the safety of different demands
There is provided flexible and efficient extended capability for strategy.
Fig. 5 shows the background data base in print control system according to an embodiment of the invention
Block diagram.
As shown in figure 5, in the print control system of one embodiment of the present of invention, background data base
500 include:PostScript print datas memory module 502, page essential information memory module
504th, security strategy is set and memory module 506.
Wherein, PostScript print datas memory module 502 is used to store printing driving Hook Function
The PostScript print datas of acquisition, wherein, printing driving Hook Function includes page control logic
Hook Function, page control logic includes beginning and closing, the beginning of the page and closing, the page of document
5 control logics of transmission in face, these logics are used for the generation for controlling printing content, that is, control
The generation of PostScript print datas.Printing driving Hook Function also includes text output hook letter
Number, text output Hook Function is used to, when capturing the text of upper level applications output, obtain text
Encoded content and the current positional information on the page of text.
In addition, also including image in printing driving Hook Function exports Hook Function, image output hook
Function is used to, when capturing the picture material of upper level applications output, obtain the segmented content of image,
And according to image model (monochromatic two-value, gray scale and colour), the organizing image data of segmentation output
OCR module (optical character knowledge is sent into the view data of whole page, and the view data of whole page
Other module) in be identified, so as to obtain in image text position number in text code data and image
According to, that is to say, that printing driving Hook Function can be also used for obtaining the text code having in image
The position data of text in data and image.
All data that printing driving Hook Function is obtained can be automatically write in background data base, after
Platform database is the information secure database on backstage.
Page essential information memory module 504 is used for the page essential information for storing printer page, the page
Essential information is included in user's name, operation document title, time-write interval, printing number of printing etc.
Hold.The page essential information of printer page can be beaten with PostScript print datas together as safety
The identifying object of print, in other words, in predetermined safety condition can set related to page essential information
Checking content, with verify page essential information whether meet printing require.
Security strategy is set and memory module 506 can be used for setting and Saving Safe Strategy, that is,
Predetermined safety condition, predetermined safety condition can be pre-set when equipment is dispatched from the factory, can also be by
User set or update manually, can also be configured by other control terminals being connected with terminal
And change, wherein, predetermined safety condition can forbid making a reservation in PostScript print datas
Safety-critical word or PostScript print datas in have predetermined safety-critical word, can also be
In addition other restrictive conditions as needed, predetermined safety-critical word be it is one or more, often
Individual predetermined safety-critical word has at least one character.Predetermined safety condition is stored in back-end data
In storehouse, easily to be called in background data base when being verified to PostScript print datas
The predetermined safety condition of storage.
Predetermined safety condition can include the limitation to any page essential information, such as, and limitation is effective
Time-write interval section, limitation printing number no more than three parts etc., predetermined safety condition can also include
Limit in the page essential information of PostScript print datas and/or printer page and occur or can not occur
Predetermined safety-critical word, wherein it is possible to which the quantity to predetermined safety-critical word freely set
It is fixed, so that the safety-critical word that user can screen according to needed for freely being set self-demand, enters one
Step improves the flexibility of printing security control.
Technical scheme is described in detail above in association with accompanying drawing, passes through the technical side of the present invention
Case, can carry out security verification to printer page according to predetermined safety condition, be beaten in application program output
Printed page face is improved to safety inspection and audit is carried out to the content of printer page before physical printed equipment
The security of printer page output, and obtain PostScript print datas automatically and safety is carried out to it
Property inspection, also improve the flexibility that safety verification is carried out to printer page, it is to avoid user is manual
The troublesome operation of validation information.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for
For those skilled in the art, the present invention can have various modifications and variations.All essences in the present invention
God is with principle, and any modification, equivalent substitution and improvements made etc. should be included in the present invention
Protection domain within.
Claims (15)
1. a kind of print control program, it is characterised in that including:
According to the print command received, obtained by the first Hook Function from printer page
PostScript print datas;
By the second Hook Function of print.er port monitoring module, the PostScript printings number is determined
According to whether meeting predetermined safety condition;
, will be described when it is determined that the PostScript print datas meet the predetermined safety condition
PostScript print datas, which are sent to print module, to be printed.
2. print control program according to claim 1, it is characterised in that pass through described
First Hook Function is obtained from printer page before PostScript print datas, in addition to:
According to the setting command received, the predetermined safety condition is set, and by the predetermined safety
Condition is stored into background data base, wherein, the predetermined safety condition is to the PostScript
The qualifications of print data.
3. print control program according to claim 2, it is characterised in that described by beating
The second Hook Function of port-monitoring module is printed, determines whether the PostScript print datas meet
Predetermined safety condition, is specifically included:
The PostScript is beaten using second Hook Function of the print.er port monitoring module
Printing according to carry out safety-critical word retrieval, wherein, when retrieving the safety-critical word, forbid
Printed, when not retrieving the safety-critical word, it is allowed to printed.
4. print control program according to claim 1, it is characterised in that when it is determined that described
When PostScript print datas are unsatisfactory for the predetermined safety condition, including:
The PostScript print datas are generated into the PDF pages;
Text position in text location data and/or image in the PostScript print datas
Data, enter in the PDF pages to the content and/or region that do not meet the predetermined safety condition
Rower is noted;
The PDF pages after mark are sent to destination object.
5. print control program according to claim 1, it is characterised in that also include:
According to the print command received, the page essential information of the printer page, institute are obtained
Stating page essential information includes at least one of or its combination:User's name, operation Page Name,
Time-write interval, printing number;
It is described obtained by the first Hook Function from printer page PostScript print datas it
Before, in addition to:
According to the setting command received, the predetermined safety condition is set, and by the predetermined safety
Condition is stored into background data base, wherein, the predetermined safety condition is to the PostScript
The qualifications of print data and the page essential information;And
It is described obtained by the first Hook Function from printer page PostScript print datas it
Afterwards, in addition to:
The PostScript print datas and the page essential information are stored to the back-end data
In storehouse.
6. print control program according to any one of claim 1 to 5, its feature exists
In first Hook Function includes:Page control logic Hook Function, text output Hook Function
Hook Function is exported with image;
The PostScript print datas include:The page control logic data of the printer page,
Text code data, text location data, view data, in image in text code data and image
Text location data.
7. print control program according to claim 6, it is characterised in that described to pass through
One Hook Function obtains PostScript print datas from printer page, including:
When application program exports the printer page, obtained by the page control logic Hook Function
Take the page control logic data for generating the printer page;With
When the application program exports the printer page, obtained by the text output Hook Function
Take the text code data and the text location data;With
When the application program exports the printer page, Hook Function is exported by described image and obtained
The image segmentation content in the printer page is taken, and according to image model, described image is segmented interior
Appearance is combined into described image data;And
Text code number in described image is recognized in described image data by optical character identification module
According to text location data in described image.
8. a kind of print control system, it is characterised in that including:
Data capture unit, according to the print command received, by the first Hook Function from type face
PostScript print datas are obtained in face;
Safety condition authentication unit, by the second Hook Function of print.er port monitoring module, determines institute
State whether PostScript print datas meet predetermined safety condition;
Print control unit, when it is determined that the PostScript print datas meet the predetermined safe bar
During part, the PostScript print datas are sent to print module and printed.
9. print control system according to claim 8, it is characterised in that also include:
Safety condition setting unit, is obtained from printer page described by the first Hook Function
Before PostScript print datas, according to the setting command received, the predetermined safe bar is set
Part, and the predetermined safety condition is stored into background data base, wherein, it is described to make a reservation for safe bar
Part is the qualifications to the PostScript print datas.
10. print control system according to claim 9, it is characterised in that the safe bar
Part authentication unit specifically for:
The PostScript is beaten using second Hook Function of the print.er port monitoring module
Printing according to carry out safety-critical word retrieval, wherein, when retrieving the safety-critical word, forbid
Printed, when not retrieving the safety-critical word, it is allowed to printed.
11. print control system according to claim 8, it is characterised in that the printing control
Unit processed includes:
PDF page generating units, when it is determined that the PostScript print datas are unsatisfactory for described make a reservation for
During safety condition, the PostScript print datas are generated into the PDF pages;
Mark unit, text location data and/or image in the PostScript print datas
Interior text location data, to not meeting the content of the predetermined safety condition in the PDF pages
And/or region is labeled;
PDF page transmitting elements, the PDF pages after mark are sent to destination object.
12. print control system according to claim 8, it is characterised in that the data are obtained
Unit is taken to be additionally operable to:
According to the print command received, the page essential information of the printer page, institute are obtained
Stating page essential information includes at least one of or its combination:User's name, operation Page Name,
Time-write interval, printing number;And
The print control system also includes:
Safety condition setting unit, is obtained from printer page described by the first Hook Function
Before PostScript print datas, according to the setting command received, the predetermined safe bar is set
Part, and the predetermined safety condition is stored into background data base, wherein, it is described to make a reservation for safe bar
Part is the qualifications to the PostScript print datas and the page essential information;
Memory cell, obtains PostScript from printer page by the first Hook Function and beats described
Printing stores the PostScript print datas and the page essential information to described after
In background data base.
13. the print control system according to any one of claim 8 to 12, its feature exists
In first Hook Function includes:Page control logic Hook Function, text output Hook Function
Hook Function is exported with image;
The PostScript print datas include:The page control logic data of the printer page,
Text code data, text location data, view data, in image in text code data and image
Text location data.
14. print control system according to claim 13, it is characterised in that the data
Acquiring unit includes:
First data acquisition subelement, when application program exports the printer page, passes through the page
Face control logic Hook Function obtains the page control logic data of the generation printer page;With
Second data acquisition subelement, when the application program exports the printer page, passes through institute
State text output Hook Function and obtain the text code data and the text location data;With
3rd data acquisition subelement, when the application program exports the printer page, passes through institute
State the image segmentation content in the image output Hook Function acquisition printer page;
View data synthesis unit, according to image model, is combined into described image segmented content described
View data;
Recognition unit, text in described image is recognized by optical character identification module in described image data
Text location data in this coded data and described image.
15. a kind of terminal, it is characterised in that including as any one of claim 8 to 14
Print control system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610183360.9A CN107239240A (en) | 2016-03-28 | 2016-03-28 | Print control program, print control system and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610183360.9A CN107239240A (en) | 2016-03-28 | 2016-03-28 | Print control program, print control system and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107239240A true CN107239240A (en) | 2017-10-10 |
Family
ID=59982788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610183360.9A Pending CN107239240A (en) | 2016-03-28 | 2016-03-28 | Print control program, print control system and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107239240A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109814815A (en) * | 2019-01-24 | 2019-05-28 | 中软信息系统工程有限公司 | A kind of driving device and method |
CN110363016A (en) * | 2019-07-15 | 2019-10-22 | 宜春宜联打印设备有限公司 | A kind of printing encryption method and device, Method of printing and printing device |
CN113255296A (en) * | 2021-06-08 | 2021-08-13 | 北京翔东智能科技有限公司 | Electronic contract classified storage safety management system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408836A (en) * | 2007-10-09 | 2009-04-15 | 北京书生国际信息技术有限公司 | Print implementing method |
CN102523255A (en) * | 2011-11-30 | 2012-06-27 | 北京京航计算通讯研究所 | Printing security monitoring and auditing system based on virtual printing technique |
CN102999299A (en) * | 2011-09-13 | 2013-03-27 | 北京路模思科技有限公司 | System and method for monitoring print data in Windows print process |
CN103823648A (en) * | 2014-02-18 | 2014-05-28 | 深圳市巨鼎医疗设备有限公司 | Marking inkjet printing method |
-
2016
- 2016-03-28 CN CN201610183360.9A patent/CN107239240A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408836A (en) * | 2007-10-09 | 2009-04-15 | 北京书生国际信息技术有限公司 | Print implementing method |
CN102999299A (en) * | 2011-09-13 | 2013-03-27 | 北京路模思科技有限公司 | System and method for monitoring print data in Windows print process |
CN102523255A (en) * | 2011-11-30 | 2012-06-27 | 北京京航计算通讯研究所 | Printing security monitoring and auditing system based on virtual printing technique |
CN103823648A (en) * | 2014-02-18 | 2014-05-28 | 深圳市巨鼎医疗设备有限公司 | Marking inkjet printing method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109814815A (en) * | 2019-01-24 | 2019-05-28 | 中软信息系统工程有限公司 | A kind of driving device and method |
CN110363016A (en) * | 2019-07-15 | 2019-10-22 | 宜春宜联打印设备有限公司 | A kind of printing encryption method and device, Method of printing and printing device |
CN113255296A (en) * | 2021-06-08 | 2021-08-13 | 北京翔东智能科技有限公司 | Electronic contract classified storage safety management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107239666B (en) | Method and system for desensitizing medical image data | |
JP4829920B2 (en) | Form automatic embedding method and apparatus, graphical user interface apparatus | |
US7965402B2 (en) | Printing system and printing processing method | |
US8213717B2 (en) | Document processing apparatus, document processing method, recording medium and data signal | |
US20070195370A1 (en) | Workflow system, server device, and processing method of workflow system | |
JP4385744B2 (en) | Electronic pen usage document entry system with falsification prevention function | |
US20080037065A1 (en) | Computer readable medium storing printing program, electronic device, electronic device control method, and computer data signal | |
JP6874729B2 (en) | Image processing equipment, image processing methods and programs | |
JP2008145611A (en) | Information processor and program | |
CN106373447A (en) | Intelligent paper marking system and method | |
CN101321223A (en) | Information processing method, information processing apparatus, and storage medium storing a program | |
CN106649420A (en) | Image processing apparatus and image processing method | |
CN107239240A (en) | Print control program, print control system and terminal | |
US10452944B2 (en) | Multifunction peripheral assisted optical mark recognition using dynamic model and template identification | |
US8985458B2 (en) | System and method for conversion of fingerprint cards into digital format using machine readable code | |
US7857209B2 (en) | Print system, information processing apparatus, print log information extraction method, and program | |
JP2008020974A (en) | Document management system and its method | |
JP2008294581A (en) | Image processor and image processing server | |
US20110055905A1 (en) | Authentication apparatus and computer-readable medium storing authentication program code | |
US7311256B2 (en) | Barcode optical character recognition | |
JP2012063993A (en) | Image processing system, control method thereof, and program | |
CN110525069A (en) | A kind of OCR comparison system and its method for intelligent stamper machine | |
JP2001357352A (en) | Device and method for document image output | |
CN109192259A (en) | Electronic health record processing method, processing unit and computer readable storage medium | |
JP4881171B2 (en) | Host output processing system, host output processing method, host output processing program, and recording medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171010 |