CN100336010C - Information processing apparatus, control method therefor - Google Patents
Information processing apparatus, control method therefor Download PDFInfo
- Publication number
- CN100336010C CN100336010C CNB2005100876755A CN200510087675A CN100336010C CN 100336010 C CN100336010 C CN 100336010C CN B2005100876755 A CNB2005100876755 A CN B2005100876755A CN 200510087675 A CN200510087675 A CN 200510087675A CN 100336010 C CN100336010 C CN 100336010C
- Authority
- CN
- China
- Prior art keywords
- mentioned
- name space
- printing
- configuration information
- mark
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
A method of processing data to be printed and print setting information used to print the data includes a detection step of detecting uninterpretable information from the print setting information, a transmission step of transmitting the uninterpretable information detected in the detection step, an acquisition step of acquiring interpretable information which is sent back in response to transmission of the uninterpretable information transmitted in the transmission step, and a creation step of creating print setting information by using the information acquired in the acquisition step.
Description
Technical field
The present invention relates to from the information that makes by application program to generate the technology of the printed data that is used to output to printing equipment.
Background technology
The application program of moving on the computing machine of PC etc. at first sends the printed data of file to by operating system (OS) printing relevant treatment programs such as printed driver in order to print the file that the user makes.Then, send to the order data execution of the special use of print apparatus by printed driver.The data that application program sends printed driver to roughly are divided into the printing configuration information of recording and narrating pattern that printer is arranged and input, output setting, be used to reproduce 2 kinds of describing data of actual file.
The scope that the value of setting of appointment is set with printing just can be with the function and the scope of printer appointment.But application program is not also known the repertoire that printer has.The interface of the printing setting that application programs assigned operation system is provided only has the function that general any printer all has, for example setting of the setting of the appointment of paper size and paper feeding cassette, discharge tray, single face/printed on both sides, monochrome/colour basic functions is set etc.Printed driver only have the printer in these basic functions have can appointment scope offer the interface of application program.But, because the function that printer has does not have only these, so in order to use detailed color matching function, to comprise the diversified function of major product at the such print apparatus of interior abundant finishing function, printed driver must be expanded printing setting.
The zone that application program is preserved the printing setting is 1, but its content is divided into 2 of fundamental region that operating system provides, extended area that printed driver can freely be expanded, be provided with in order to expand printing, by on extended area, loading being provided with and carrying out alone by printed driver.Because application program can not directly be known the data of extended area, thus allow the user be provided with by user interface or the application programming interface (API) of using printed driver to have alone, the setting of the diversified function that the machine that prints has.
As preserve the form that printing is provided with, used the DEVMODE data structure (preserving the structure of the information relevant with environment) on storage area, guaranteed, use the operation label (Job Ticket) (Print Label) of XML form preservation of recording and narrating the markup language of data by mark (tag) in the past with the initialization of equipment.The DEVMODE data structure is a binary data structure, and the printed driver of each manufacturer (vendor) can more freely set data on extended area.But because can freely expand, so except knowing the printed driver of method of extended area, inside can't understand.The operation label of preserving with the XML form is because be the text data structure, so if further read in mark then printed driver can be obtained whole data.But, distinguish fundamental region and extended area by dividing name space, even for example same token name, under the situation that is the ignorant name space of printed driver, it is corresponding with which function of printer still can not to understand acquired data.
As mentioned above, the manufacturer (vendor) that is provided with because of printed driver of extended area is different with printing equipment, the user is provided with for the user interface or the application programming interface of the intrinsic printed driver of the print apparatus that carries out desirable best the setting, must use exporting before printing at every turn.In response to the hold mode difference of printing setting with the difference of program, the situation that the printing that has use to make is provided with is set under the situation of such application program and ought preserve printing hereof in the printed driver of other manufacturers.At this moment, in the printing that the printed driver of manufacturer with other makes is provided with, though carry out the handing-over of the configuration information of fundamental region, but because can not join the intrinsic configuration information of print apparatus on the extended area, so under the situation that the user does not reset, the phenomenon that can not carry out printing treatment is arranged under the poorest situation.
In order to solve this problem, following method is arranged: according to the configuration information of fundamental region, by the printed driver to the data that can read in extended area provide the indication and the completion data are carried out printing treatment (for example, the spy opens the 2003-162394 communique) thus.This method is the printing setting that obtains respectively towards a plurality of printed drivers that can control, printer for printing is useful in the printing setting that has in the printed driver of needs, perhaps ought not have under the situation about being provided with towards the printing of the printed driver of needs, the application programming interface by printed driver makes again.In printing is provided with,, can carry out it because in the configuration information of fundamental region, comprise the driver title of the printer that becomes object.
But, when even application program maintains a plurality of printing settings, also do not exist under the situation about being provided with towards the printing of the printed driver of the printer of actual print, the configuration information of fundamental region just can not be provided with the information of the extended area of all abundant printer function.Therefore, incomplete setting can be set on the extended area, according to circumstances can not reflect the configuration information of whole extended areas, have the situation of using the initial value that print driver had.Making a plurality of printings when being provided with, be not limited to exist initial output towards the printed driver of printing, under non-existent situation, must when printing, reset by user interface or application programming interface once more.Under situation about resetting, because application programming interface is the interface that each printed driver has alone, so application program can not be used interface in the printed driver of the manufacturer of the unknown, therefore can not be to the extended area configuration information.In addition, which function is which function that in fact indigestion is provided with for the user fallen.In addition, can not be corresponding at any time for the function of the extended area corresponding with the new printer of each manufacturer of appending at any time.For the user, can not grasp with which printing setting and carry out printing treatment, its result makes again once more in the actual printed driver of exporting and is provided with.
Summary of the invention
The present invention is exactly that in view of the above problems at least one proposes, and a kind of method of inexplicable printing configuration information in printed driver or printing equipment that is provided with in other print system of can explaining in printed driver or printing equipment is provided.
In order to solve such problem, signal conditioning package for example of the present invention comprises following structure.That is,
Example as embodiment, such device is disclosed, it is a kind of signal conditioning package, be treated as the data of printing object, the printing configuration information of when these data of printing, using, it is characterized in that comprising: the detection part that from above-mentioned printing configuration information, detects inexplicable name space with the record of XML form; Detecting under the situation of inexplicable name space by above-mentioned detection part, sending the transmit block of above-mentioned printing configuration information; Obtain that the above-mentioned printing configuration information that sends according to above-mentioned transmit block is write in reply, will be transformed to by the mark of the detected inexplicable name space of above-mentioned detection part the name space that can explain mark the printing configuration information obtain parts; Use the above-mentioned generation parts that printing configuration information that parts obtain generates printed data of obtaining.
In addition, it is a kind of signal conditioning package, be treated as the data of printing object, the printing configuration information of when these data of printing, using, it is characterized in that comprising: the detection part that from above-mentioned printing configuration information, detects inexplicable name space with the record of XML form; The mark of the detected inexplicable name space of above-mentioned detection part is transformed to the transform component of the mark of the name space that can explain; Use above-mentioned transform component conversion the mark of name space, construct the parts of constructing of printing configuration information.
In addition, be the method that a kind of printing configuration information of using to the data that become printing object, when these data of printing with the record of XML form is handled, it is characterized in that comprising: the detection step of the inexplicable name space of detection from above-mentioned printing configuration information; In above-mentioned detection step, detect under the situation of inexplicable name space, send the forwarding step of above-mentioned printing configuration information; Obtain that the above-mentioned printing configuration information that sends according to above-mentioned forwarding step is write in reply, will be transformed to by the mark of the detected inexplicable name space of above-mentioned detection step the name space that can explain mark the printing configuration information obtain step; Use the above-mentioned obtained printing configuration information of step that obtains, generate the generation step of printed data.
In addition, be the method that a kind of printing configuration information of using to the data that become printing object, when these data of printing with the record of XML form is handled, it is characterized in that comprising: the detection step of the inexplicable name space of detection from above-mentioned printing configuration information; The mark of the detected inexplicable name space of above-mentioned detection step is transformed to the shift step of the mark of the name space that can explain; Use the mark of the name space after the above-mentioned shift step conversion, construct the step of constructing of printing configuration information.From the specific embodiment of following detailed description and additional drawings attached mark, can know other features and advantages of the present invention.
Description of drawings
Fig. 1 is the structured flowchart that comprises the system for computer among the embodiment.
Fig. 2 is the figure that the program when showing as the printing treatment in the computing machine of embodiment constitutes.
Fig. 3 is the figure that shows the formation of the printing configuration information in the structure " DEVMODE " of binary mode.
Fig. 4 is the figure that shows formation one example of " operation label (Job Ticket) " in the present embodiment.
Fig. 5 is the figure that shows the method for the operation label of operating the incidence relation that comprises printed driver and dictionary database among (handing) embodiment.
Fig. 6 is a process flow diagram of showing the conversion process of the operation label among the embodiment.
Fig. 7 is the figure of a part of name space that show to use the extended area (reserved area) of the operation label that unknown printed driver makes.
Fig. 8 is the figure that shows the example of only extracting the part relevant with the name space of the unknown out in the XSLT data that the dictionary database among the embodiment has.
Fig. 9 shows the XSLT to suitable Fig. 8 of operation label of Fig. 7 as embodiment, is transformed to the figure of the example of the operation label on the known name space.
Figure 10 show to use the printed driver of the unknown among the embodiment to extract the figure of example of a part of the reserved area of operation label out.
Figure 11 is the figure of an example of the operation label of the candidate corresponding with unknown function of showing that the Web service enumerate the server among the embodiment generates.
Figure 12 is the operation label of showing at Figure 11, the transformation results that the function of the insertion page or leaf that printed driver is selected based on the user (Inserting Sheet) produces, the figure of the example of the XSLT that is made by Web service.
Figure 13 is the figure that shows the example that is used for the SOAP information of printed driver when Web service sends among the embodiment.
Figure 14 is the figure that the shown user of printed driver among the displaying embodiment selects the example of picture.
Figure 15 is the figure of the user interface of showing that the printing of the public domain that operating system or application program provided (fundamental region) be used for changing embodiment is provided with.
Figure 16 is the figure of the user interface that shows for the printing setting of changing reserved area (extended area) of showing that the printed driver among the embodiment provides.
Figure 17 is a process flow diagram of showing all treatment steps of the printed driver among the embodiment.
Figure 18 is the figure that shows the formation of the Web server among the embodiment.
Figure 19 is the figure that shows an example of the print system in the present embodiment.
Embodiment
Below, describe embodiments of the invention with reference to the accompanying drawings in detail.
Fig. 1 is a structured flowchart of showing the printing treatment system of one embodiment of the present of invention.And then short of special agreement is if carry out function of the present invention, it both can be the function of monomer, also the system that can be made up of a plurality of equipment can also be to connect the system that handles via networks such as LAN, WAN, much less can be suitable for the present invention.
And then, in the present embodiment, suppose when being called structured document (structureddocument), comprise structured documents such as XML, when being called mark, be meant the data configuration that can identify when analyzing in this structured document, promptly which type of meaning is the data of structured document have, and is in the whole identifiers on which aspect in the data configuration of structured document.
In Fig. 1, be to use the structured flowchart of the system of general information treating apparatus (PC) such as general personal computer.
If open the power supply of this device, then CPU101 is according to the boot that is stored among the ROM102 that is connected on the bus 107, from external memory (generally being hard disk unit) 105 OS is loaded into the RAM103, and (OS) starts the operating system.Go up the various menus of demonstration OS after starting at the monitor 109 (CRT and liquid crystal display) that is connected with output I/F106, simultaneously via importing the information indication that I/F104 receives the input media 108 of free keyboard and mouse indicating equipments such as (registered trademarks) formation.The user is by indicating, carry out the application program 1051 that is stored in the external memory 105 (no matter its kind how) with input media 108.In addition, if application program 1051 starts, then, carry out various editing and processing by the demonstration of monitor 109 and the interactive operation of importing from the indication of input media 108.In addition, if print indication, then print associated program 1052 and printed driver 1053 startups, generate printed data, I/F106 outputs to printer 110 via output.And then, communicate by letter that I/F can arbitrarily between printer 110 and PC.As representational example, can be parallel I/F, the USB that centronics company uses, also can be network connects (no matter wire/wireless).
Fig. 2 represents the printing treatment system of the annexation of application program and OS, printed driver.
The user uses input media 108, and uses the GUI that is presented at the application program 201 on the monitor 109, carries out the printing treatment of the file 2011 that is made.If carry out printing treatment by the user, then application program 201 is understood user's printing operation, be provided with 2012 and the describing data 2013 of file content based on the printing of file, after having selected the printed driver 206 corresponding, to operating system notice printing treatment with the printer of carrying out printing.Operating system is by graphics engine 202, carry out to the drawing of spool file 203, drawing to specified printed driver 206, printed driver is transformed to the understandable data language of printer with it, and 204 pairs of timetables from the printing treatment of each application program of print manager (schedule) manage.Print manager 204 sends presswork data via I/O module 205 to printer 207 when printer is under the situation of state that expression can receive information.Thus, carry out printing.
Fig. 3 is the figure that shows the data configuration of DEVMODE structure.The DEVMODE structure is made up of 2 setting areas substantially, and one is the zone that is provided with by the shared essential information of operating system definition, is called as public domain 301.Another is to be present in the zone that the printed driver on each printer can freely be expanded, and is called as reserved area 302.For be included in the public domain 301 information representation what, generally the form as operating system all is disclosed, and can change setting from Any Application.This can be provided with the dialog box (Figure 15) from the page or leaf that application program had and specify.But because reserved area 302 growth data freely, so can only be by the printed driver that uses at this moment.Thereby the configuration module of printed driver has user interface (Figure 16), carries out the printing setting of extended area therein.
The common area of DEVMODE structure is made up of following information: the printer essential information 3011 of the storage size of memory device name and whole structure; The usefulness paper information 3012 of the size of storage usefulness paper and width, height etc.; The press quality information 3013 of storage color, monochrome and resolution etc.; Be stored in the carton of paper supply and row during paper with which type of arrange the paper supply of paper etc. in proper order, the information 3104 of row's paper is formed.Reserved area stores the project that can't obtain in the essential information of common area, for example the function that has of intrinsic function 3025 of printer and middleware, perhaps further detailed data of the content that essential information had etc.
The same with the DEVMODE structure, shared zone and special-purpose zone are also arranged in operation label (perhaps Print Label).But, on the operation label of recording and narrating with the form of XML, be not as DEVMODE, to divide each zone with the boundary line.The two is distinguished with the method that is divided into the zone in the inner structure of mark that is called as name space (name space).But because follow the record rule of XML form, so can easily differentiate paragraph of record etc., interpretation process is compared with DEVMODE easily.
Fig. 4 is the figure that shows the structure of general operation label.As prefix usefulness mark create name space separately, there is not the mark of prefix to handle as the situation that does not belong to name space.It is preceding that prefix is attached to colon (:), records and narrates as psf:Feature.In this operation label, there are 6 name spaces, bear different effects respectively.The psf name space is the printing model framework of the framework of definition operation label.In order to provide the structure of setting up as the operation label, the mark of defined feature (Feature) and option (Option), evaluation (Value) these basic property.Feature (Feature) has defined the function of device attribute, operation formatting, other relevant features etc., option (Option) definition is attached to the information of function, estimate the value of (Value) definition key element, the formal definition parameter initialization (Parameter Init) of initial value is set simultaneously with the definition with the key element value.The psk name space has defined the key word of the operation label on the public domain.As concrete key word, file (Document) NUp that the nUP of printing multipage is provided with on the page that the media size (MediaSize) of specifying with the size of paper is arranged, specifies in 1 paper, the printing umber (Page Copy Count) that prints several parts etc. is set.Psf name space and psk name space use this form of pattern with general disclosed formal definition by operating system, and application program can be according to the free configuration data of definition.Xsi name space and xs name space are commonly defined as the specification of XML pattern, built-in attribute, the example (instance) of xsi name space definition XML pattern.The xs name space is the set attribute of XML pattern.Ns1 name space and ns2 name space are respectively the name spaces that unknown printed driver is independently expanded, and can not directly explain in Shuo Ming the printed driver in an embodiment.
More than, illustrated that device among the embodiment constitutes and the software during printing treatment constitutes and the printing configuration information.For with being more readily understood the explanation present embodiment feature then as follows.
Before explanation, suppose to have 2 personal computers (being respectively PC-A, PC-B), the printed driver that is installed among the PC-A is set to PRDRV-A, and the printed driver that is installed among the PC-B is set to PRDRV-B (printed driver 206 of embodiment).Suppose to install respectively in PC-A, PC-B same application program, this application program has preserves the function that is provided with the document file of extended area in the printing configuration information.
Now, investigate a document file that in PC-A, makes and copy to the situation of printing among the PC-B via network, movable storage medium.
The processing of printed driver PRDRV-B (printed driver 206) when Figure 17 displaying has been indicated the execution printing treatment by the application program among the PC-B.
At first, in step S1701, judge that the printing configuration information is the record of DEVMODE, or the record of operation label.If being judged to be is the record of DEVMODE, then enter step S1702, judge whether to explain the record of this DEVMODE.Printed driver 206 among the embodiment is latest editions of same printer language, supports version in the past simultaneously.Thereby this judgement contrasts by the record with the DEVMODE of past version to be judged.When being judged to be under the situation about can explain, enter step S1703, print setting according to the content of recording and narrating with DEVMODE.In addition, can not explain when being judged to be, promptly print configuration information and be under the situation of record of DEVMODE of other companies, because this judgement is practically impossible, so initialization is carried out in the acquiescence printing setting with the configuration module 2061 of the printed driver PRDRV-B (printed driver 206) of embodiment in step S1704.
On the other hand, being judged to be printing setting in step S1701 is to use under the situation of operation label record, enters step S1705.In step S1705, explain the record in the operation label, under the situation of needs, carry out the replacement Treatment (narration in detail) of name space.Then, in step S1706, print setting.
If print setting according to the printing configuration information as mentioned above, then enter step S1707, generate printed data according to fixed printing configuration information and scan-data (data that will print that send from application program), in step S1708, carry out the output of this printed data that has generated and handle.And then, when in step S1701, being judged to be under the situation of No, also can enter step S1705.
Below, illustrate that above-mentioned steps S1705's is detailed.Fig. 5 is the figure that shows all pictures of present embodiment, and Fig. 6 is the detailed process flow diagram of description of step S1705.
And then, for the purpose of simplifying the description, situation about existing based on for the printed driver in the present embodiment 206 being the record of unknown printed driver (driver of other manufacturer, manufacturer) is described in the operation label.That is, suppose unknown driver and unknown printer to be generated (symbol 501) as target (target) from the operation label that application program sends.
This operation label comprises the operation label of Fig. 7 and Figure 10, under the state of the prefix of having added " ns2 " name space, generates the unknown standalone feature that driver had.This operation label is provided with as printing, the printed driver towards the actual printer of exporting is begun printing treatment (symbol 502).
Printed driver 206 among the embodiment is appreciated that the psk name space, psf name space of public domain (fundamental region), the name space " GANON " that is added by oneself on the standalone feature of reserved area (extended area), but the operation label that receives from application program for printing treatment, comprise the label of the name space " ns2 " that generates by the driver of the unknown.Because the printed driver among the embodiment can not be understood the ns2 name space, so before carrying out usually such printing treatment, use the try record of conversion operation label of dictionary database.
Dictionary database is present in the long-range server that connects with computer network, and the interface that is used to use dictionary database is installed as Web service.Web service utilizes the agreement of the SOAP that is called as the XML form to communicate as the form of data communication.Figure 13 shows the record of general SOAP.SOAP is made of 2 marks of title division and main part, records and narrates the position that the target Web service is provided in the actor (actor) of title division.Main part is recorded and narrated the data of practical communication with the XML form.Web service can be handled by carrying out the SOAP message exchange, and service is provided.
In the operation label, found self inapprehensible " ns2 " name space (step S602) at this because of printed driver 206, so make SOAP and in title division, record and narrate the position of the dictionary database related, the operation label that adding sends from application program in main part with printed driver.By sending this SOAP, send the transmission of operation label and the requirement of conversion (symbol 503 of Fig. 5, step S603) to Web service.Printed driver before coming from the letter in reply of the SOAP of Web service, standby under this state.
If the Web service of carrying out receives the SOAP that comprises the operation label, then in the dictionary database that oneself has, confirm whether to exist the XSLT (step S604) that is included in the name space in the operation label that has received on server.XSLT is the abbreviation of XSL Translation, is to read in arbitrarily the XML file script (script) language of its processing and output is recorded and narrated as the XML file.Be not only 1 pair 1 ground shift sign, but also the part of the node of tree-structured that can a conversion XML file.XSLT is used in Web service, carries out conversion from the operation label with unknown name space to the operation label with known name space.In order to carry out XSLT, make the program behavior that is called as " xslt processor ", the XML file is suitable for XSLT.In addition, Web service is preserved a plurality of XSLT files as this machine (native) XML database.This machine XML database is to preserve the database of data with the XML document form, uses the XPath formula to retrieve and obtain processing.The XPath formula is the abbreviation of XMLPath Language, is the specification of having stipulated to point out the description method of the specific factor among the XML file.Provide search expression XML the tree-structured of data, all key elements in the visit XML file and the method for attribute.
At this, Web service is in order to obtain the whole XSLT corresponding with " ns2 " name space that is included in the operation label that receives, and records and narrates the XPath formula as described below and inquires dictionary database.
//ns2:*
The dictionary database that receives the Web server of this XPath formula can be obtained from this machine XML database all and the corresponding XSLT of " ns2 " name space.Can from database, obtain the XSLT (step S605) of Fig. 8 as the XSLT corresponding with " ns2 " name space.The file that is included in the feature (Feature) of conduct " ns2 " name space in the operation label of Fig. 7 sorts (Document Stapling) XSLT by Fig. 8 and is transformed to the feature that sorts (Staple) (Feature) that is called " GANON " name space, these 2 marks of the feature (Feature) that sorts position (Staple Position) that are called " GANON " name space.For sorting of " GANON " name space, if the file of " ns2 " name space sorts the evaluation (Value) that has this option of OFF (Option) then negative (false) is set, if situation in addition then is provided with the truly evaluation (Value) of (true).To sort the respective option (Option) name that is had corresponding for sort position and the file of " ns2 " name space of " GANON " name space, is replaced into other evaluation (Value).By being suitable for the XSLT of Fig. 8 in the operation label at Fig. 7, can obtain the operation label of Fig. 9 at this.The printed driver that uses in actual print thus will have the operation label of the label of unknown " ns2 " name space, be transformed to printed driver 206 in embodiment and have the operation label of known " GANON " name space mark, carry out the handing-over (step S606) of function.
Below be conceived to the operation label of Figure 10.Be suitable for the XSLT of Fig. 8 even suppose the operation label of Figure 10, " Inseter " that can not conversion " ns2 " name space.In this case, as not clear mark remaining (step S607).The processing as not clear mark is carried out in Web service on the server, and is all with the unknown (UnKnown) label encirclement of name space " GANON ".In addition, utilize the XPath formula from dictionary database, to retrieve and obtain the consistent feature (Feature) of a part of character string, its guide look is enumerated as estimating (Value).When from dictionary database, finding to insert unit (Insertion Unit) and injecting under the situation of chart (Inseting Sheet) these two evaluations (Value), they are joined (step S609) in the operation label at this as similar candidate.And then the Web service of server is when not obtaining under the situation of on all four transformation results the character string of consistent degree more than setting and the output of the literal of the character string of retrieval formation searching object.
Web service and dictionary database cooperation like this, the operation label that comprises unknown name space to operation label conversion with known name space.
Operation label after Web service finishes conversion process joins the main part that SOAP is used in the loopback that has made, sends to printed driver (step S608).
The operation label that the printed driver inspection receives from Web service is judged the unknown (Unknown) mark whether name space CANON is arranged.If not unknown (Unknown) mark, then directly carry out printing treatment, and if the unknown (Unknown) mark is arranged, then check whether show be used to allow the user select to represent can not be with the user interface (UI) of the character string of the function of dictionary database conversion.When not showing this UI, perhaps do not have under the situation of selection function user on the shown UI, driver carries out printing treatment under the state that stays not clear operation label.If general printed driver, then Bu Ming operation label does not carry out any processing and directly passes through.
Inserter to " ns2 " name space the operation label that this is returning from Web service adds unknown (Unknown) mark (step S610), when receiving operation label shown in Figure 11 from server, and be under the situation of the setting that shows UI, show the UI (step S611) of Figure 14.
Allow the user select to represent character string " InsertingSheet " or " the Insertion Unit " of 2 functions enumerating with Web service, with the not clear mark of the functional mapping of selecting.Selected " Inserting Sheet " (step S612) this hypothesis user.Thus, the Inserter of Wei Zhi " ns2 " name space is transformed to " InsertingSheet " (step S613) of known " GANON " name space.The mark that is included in " ns2 " name space of the unknown in the operation label all is transformed, and becomes the operation label that only has known name space, can correctly carry out printing treatment.
In addition, has the Web service of dictionary database for not carrying out the function of the mark of conversion with XSLT with study.
And then printed driver can be used as printer controller and installs in the printer of Fig. 6, also can be installed in the computing machine of the main frame that becomes printer.
Pass through SOAP information by the function of user's selection and the function of the unknown name space after the conversion, send to Web service (symbol 505 of Fig. 5, step S614) from printed driver 206.Web service is taken care of the function of function of being selected by this user and the unknown name space after the conversion in database as a pair of form with logout.Then, when having been selected function same more than the stipulated number (for example 5 times) by the user (step S615), as the combination of XSLT registration conversion, keeping is in dictionary database again as the function of unknown name space.As 1 time also non-registration to the reason in the database be the unascertainable situation of a plurality of similar functions is arranged, in order to prevent because user's selection error and the phenomenon of new database more.
At " Inserter " of this " ns2 " name space because from printed driver, obtained " Inserting Sheet " related information with " GANON " name space by the user, so generate XSLT shown in Figure 12, be registered in (step S616) in the dictionary database.
As mentioned above, the function that is provided with by the user is not lost in the printing setting that comprises the operation label of the unknown name space that makes with unknown driver, can be transformed to the operation label that comprises known name space.In addition, even for non-existent function in the dictionary database, because can automatically learn, so can improve the conversion precision all the time.
And then, though be the structure of carrying out the server of Web service, so do not describe because of the same with Fig. 1 on hardware.At this, Figure 18 shows the formation example of software and database.
Communication unit 1801 is via the request based on soap protocol of network (the Internet) reception from client computer (device of the printed driver 206 among the embodiment is installed).Analytic unit 1802 decision request are from the name space of other the printed driver retrieval request to the tab character string of the name space of our company, or the selection result of candidate.When being judged to be is under the situation of retrieval request, this advisory retrieval unit 1803, with reference to table accordingly a plurality of " from the name space of other manufacturer's printed drivers the transform data tables " that are stored in the database 1804 (guaranteeing), retrieve the tab character string consistent with desired function character functional character string to the GANON name space in HDD.Result for retrieval is notified to replys literary composition and make unit 1805, return to requesting party's character string in this generation.And then, under the situation that can not retrieve on all four character string, make comprise front explanation become like that candidate the function character functional character string reply literary composition.Making in the unit 1805 literary composition of replying that generates and answer and give the requesting party replying literary composition.
In addition, analytic unit 1802 is delivered to registration unit 1806 to the reception data when being judged as under the situation about receiving from the selection result of the candidate character string of client computer.Registration unit 1806 in preliminary date storehouse 1807 (guaranteeing in HDD), makes its selection result information again under the situation of the function character functional character string of new selection, its counter is set to " 1 ".On the other hand, under the same result's of the selection result information that receives Yu registered situation, make corresponding counter only increase by 1.
Updating block 1808 monitors preliminary date storehouses 1807, reaches the selection result of stated number (being " 5 " in an embodiment) for the value of counter, is registered in the corresponding table in the database 1804 as regular data.
And then, in above-mentioned, the example of realizing dictionary database with Web service has been described, have by printed driver but also can be used as model file.In addition, be not automatically to learn, and append model gradually, can increase the operation label that can carry out conversion yet with XSLT by supvr or the developer who safeguards dictionary database.
In addition, in Figure 19, from the printing configuration information of operation label 1708, driver 1705 detects and with driver 1705 inexplicable printings relevant tab character string is set.Then, extract the inexplicable tab character string that is detected out and send to computing machine 1703, perhaps the computing machine 1703 (1) that all sending to of the operation label 1708 that comprises inexplicable tab character string is equipped with the dictionary Web service.In computing machine 1703, dictionary Web service 1709 is transformed to the tab character string (2) that driver 1705 can be explained to driver 1705 inexplicable tab character strings with reference to dictionary database 1704.These processing are the same with processing shown in Figure 6.Have with the difference of the processing of Fig. 6: install driver and from the Web service of printer inquiry dictionary in printer perhaps has driver and from computing machine 1701 inquiry dictionary Web services in computing machine 1701.Dictionary Web service in the computing machine 1703 sends to driver 1705 to the operation label that comprises driver 1705 construable tab character strings that obtains by a series of conversion process.Driver 1705 uses the tab character string that can explain that is sent, and the DEVMODE of printing configuration information with binary mode, perhaps textual form carries out printing object data 1707 necessary images are formed processing and send to printer 1702.When the printing object data is under the situation of application data, and driver 1705 is transformed to the printer language of regulation with it.Under the situation that is image model, this printer language is transformed to bit map.Then, these printer languages or bit map are sent to printer 1702.Printer 1702 is handled bit map in print control unit, final print engine is printed onto on the paper or handles in the recording medium of CDROM etc.
In Figure 19, dictionary database and dictionary Web service are present in the computing machine 1703, but also can be present in the computing machine 1701 shown in dictionary database 1706 like that.In this case, driver 1705 does not use dictionary Web service 1709, and uses dictionary database 1706 to carry out the conversion process (processing of Fig. 6) of operation label.
The computing machine of handling at this operation label 1708 that discloses the printing configuration information of using to as the printing object data 1707 of the data of printing object, in these data of printing time the 1701.Driver 1705 detects the tab character string of regulation as inexplicable information from operation label 1708.Driver control OS is sent in detected inexplicable information in the driver 1705.
In addition, the transmission of the driver 1705 tag characters string obtaining and the send information that can explain of loopback correspondingly.
The tag characters string of the construable information that use driver 1705 is obtained is constructed the printing configuration information.
In addition, the driver 1705 in the computing machine 1701 is retrieved inexplicable information from the operation label, and driver 1705 can be transformed to the information that can explain to the tab character string of driver 1705 detected inexplicable information.
The above-mentioned functions of the driver 1705 in the computing machine 1701 also can be positioned at printer (Fig. 5).The printer of Fig. 5 possesses according to the data generation that becomes printing object draws information, and the information of drawing that use the printing configuration information, generates in translater is printed the Printer Engine of output.
In addition, inexplicable information also can be character string, driver 1705 is under the situation of unregistered character string on the table in driver 1708, this character string being included in the printing configuration information that printing uses during above-mentioned data detects as the inexplicable information of printed driver.
The Web service 1709 of Figure 19 is received in the inexplicable information of the conduct printing configuration information of using when printing the data that become printing object.Then, Web service 1709 uses XSLT the information of acquired inexplicable information conversion for explaining.Web service 1709 sends the information that can explain after the conversion.
If adopt present embodiment as mentioned above, then (be not limited to file editing application program at this so-called " file " at the file that receives the printing indication from application program, also comprise table computing application program, picture editting's application program etc.) there is the printing configuration information in, and, when it is under the situation of operation label (XML form), explain its function character functional character string, and, after using dictionary database to form the function character functional character string that self can explain, printing setting under the inexplicable situation, can keep the printing treatment that the printing that in the past is provided with is provided with content.
And then from the foregoing description as can be known, major part of the present invention is characterised in that the processing of printed driver 206 these computer programs.Usually, computer program is stored in the computer read/write memory medium of CD-ROM etc., and by copy or be installed to and can carry out in the system, such computer program is also contained in the category of the present invention certainly.
If adopt the present invention as mentioned above, then each manufacturer is allowed that its record expands, by using operation label as general form, can inherit other device or system in the printing that is provided with the generation printed data is set.
The present invention has more than and is limited to above specific embodiment, and in the scope that does not break away from aim of the present invention, the present invention can have various distortion.
Claims (22)
1, a kind of signal conditioning package is treated as the data of printing object, the printing configuration information of using with the record of XML form when these data of printing, it is characterized in that comprising:
From above-mentioned printing configuration information, detect the detection part of inexplicable name space;
Detecting under the situation of inexplicable name space by above-mentioned detection part, sending the transmit block of above-mentioned printing configuration information;
Obtain that the above-mentioned printing configuration information that sends according to above-mentioned transmit block is write in reply, will be transformed to by the mark of the detected inexplicable name space of above-mentioned detection part the name space that can explain mark the printing configuration information obtain parts;
Use the above-mentioned generation parts that printing configuration information that parts obtain generates printed data of obtaining.
2, a kind of signal conditioning package is treated as the data of printing object, the printing configuration information of using with the record of XML form when these data of printing, it is characterized in that comprising:
From above-mentioned printing configuration information, detect the detection part of inexplicable name space;
The mark of the detected inexplicable name space of above-mentioned detection part is transformed to the transform component of the mark of the name space that can explain;
Use above-mentioned transform component conversion the mark of name space, construct the parts of constructing of printing configuration information.
3, signal conditioning package according to claim 2 is characterized in that:
Above-mentioned signal conditioning package is a printing equipment, possesses:
Draw the generation parts of information according to the data generation that becomes printing object;
Use by above-mentionedly construct the printing configuration information that parts construct, the information of drawing that generates in above-mentioned generation parts is printed the printing unit of output.
4, signal conditioning package according to claim 1 is characterized in that: above-mentioned transmit block sends to server unit to detected information in above-mentioned detection part, obtains the mark of the name space that can explain from this server unit.
5, signal conditioning package according to claim 1 is characterized in that:
Further possess and judge that the printing configuration information that together sends with the data that become above-mentioned printing object is the judging part of DEVMODE form or XML form, wherein
Above-mentioned detection part is under the situation of XML form when being judged to be by above-mentioned judging part, detect printing equipment or the inexplicable name space of printed driver, when being judged to be in above-mentioned judging part is under the situation of DEVMODE form, and the printing configuration information of acquiescence is set.
6, signal conditioning package according to claim 1, it is characterized in that: further possess above-mentioned and obtain in the printing configuration information that parts obtain, under the situation that is marked with a plurality of candidates as the name space that can explain after the conversion, show any one the display unit of selection picture be used to select above-mentioned a plurality of candidates.
7, signal conditioning package according to claim 2 is characterized in that comprising:
Generate the generation parts of print command string according to the data that become printing object;
Construct the transmit block that print command string that the printing configuration information that parts construct, above-mentioned generation parts generate sends to printing equipment above-mentioned.
8, signal conditioning package according to claim 2 is characterized in that: use XSLT carries out the processing in the above-mentioned transform component.
9, the method handled of a kind of printing configuration information of using to the data that become printing object, when these data of printing of putting down in writing with the XML form is characterized in that comprising:
From above-mentioned printing configuration information, detect the detection step of inexplicable name space;
In above-mentioned detection step, detect under the situation of inexplicable name space, send the forwarding step of above-mentioned printing configuration information;
Obtain that the above-mentioned printing configuration information that sends according to above-mentioned forwarding step is write in reply, will be transformed to by the mark of the detected inexplicable name space of above-mentioned detection step the name space that can explain mark the printing configuration information obtain step;
Use the above-mentioned obtained printing configuration information of step that obtains, generate the generation step of printed data.
10, the method handled of a kind of printing configuration information of using to the data that become printing object, when these data of printing of putting down in writing with the XML form is characterized in that comprising:
From above-mentioned printing configuration information, detect the detection step of inexplicable name space;
The mark of the detected inexplicable name space of above-mentioned detection step is transformed to the shift step of the mark of the name space that can explain;
Use the mark of the name space after the above-mentioned shift step conversion, construct the step of constructing of printing configuration information.
11, method according to claim 10 is characterized in that comprising:
Generate the generation step of the information of drawing according to the data that become printing object;
Use above-mentionedly construct the printing configuration information of constructing in the step, the information of drawing that generates in above-mentioned generation step is printed the print steps of output.
12, method according to claim 9 is characterized in that: above-mentioned forwarding step sends to server unit to detected information in above-mentioned detection step, obtains the mark of the name space that can explain from this server unit.
13, method according to claim 10 is characterized in that:
Further possess and judge that the printing configuration information that together sends with the data that become above-mentioned printing object is the determination step of DEVMODE form or XML form,
Above-mentioned detection step is under the situation of XML form when being judged to be in above-mentioned determination step, detect printing equipment or the inexplicable name space of printed driver, when being judged to be in above-mentioned determination step is under the situation of DEVMODE form, and the printing configuration information of acquiescence is set.
14, method according to claim 9, it is characterized in that also comprising: when obtaining in the printing configuration information that step obtains above-mentioned, under the situation that is marked with a plurality of candidates as the name space that can explain after the conversion, show any one the step display of selection picture be used for selecting above-mentioned a plurality of candidates.
15, method according to claim 10 is characterized in that comprising:
Generate the generation step of print command string according to the data that become printing object;
Construct the forwarding step that print command string that the printing configuration information that step constructs, above-mentioned generation step generate sends to printing equipment above-mentioned.
16, method according to claim 10 is characterized in that: use XSLT carries out the processing in the above-mentioned shift step.
17. signal conditioning package according to claim 1 is characterized in that also comprising:
Whether judgement is useful on the decision means of mark that expression is the name space that can explain of unknown name space in above-mentioned printing configuration information;
Judging above-mentionedly be used to represent to be under the situation of mark of the name space that can explain of unknown name space by above-mentioned decision means, be used to make the indicating device of demonstration indication of the user interface of user's selection function.
18. signal conditioning package according to claim 2 is characterized in that also comprising:
Judge whether from above-mentioned printing configuration information, to detect first decision means of inexplicable name space, wherein by above-mentioned detection part
Above-mentioned transform component is by above-mentioned first decision means, from above-mentioned printing configuration information, detect in the absence of inexplicable name space, do not carry out conversion process, by above-mentioned first decision means, from above-mentioned printing configuration information, detect under the situation of inexplicable name space, the mark of detected inexplicable name space is transformed to the mark of the name space that can explain.
19. signal conditioning package according to claim 2 is characterized in that also comprising:
From above-mentioned printing configuration information, detecting under the situation of inexplicable name space, judging whether the mark of detected inexplicable name space to be transformed to second decision means of the mark of the name space that can explain, wherein
Can carry out under the situation of conversion judging, the mark of detected inexplicable name space is transformed to the mark of the name space that can explain by above-mentioned transform component by above-mentioned second decision means,
Can't carry out under the situation of conversion judging by above-mentioned second decision means, when carrying out printing treatment, in order to show the user interface that is used to make user's selection function, and with being used to represent to be that the mark of the name space that can explain of unknown name space surrounds this inexplicable name space.
20. method according to claim 9 is characterized in that also comprising:
Whether judgement is useful on the determining step of mark that expression is the name space that can explain of unknown name space in above-mentioned printing configuration information;
Judging above-mentionedly be used to represent to be under the situation of mark of the name space that can explain of unknown name space by above-mentioned determining step, be used to make the indication step of demonstration indication of the user interface of user's selection function.
21. method according to claim 10 is characterized in that also comprising:
Judge whether from above-mentioned printing configuration information, to detect first determining step of inexplicable name space, wherein by above-mentioned detection step
Above-mentioned shift step is being passed through above-mentioned first determining step, from above-mentioned printing configuration information, detect in the absence of inexplicable name space, do not carry out conversion process, passing through above-mentioned first determining step, from above-mentioned printing configuration information, detect under the situation of inexplicable name space, the mark of detected inexplicable name space is transformed to the mark of the name space that can explain.
22. method according to claim 10 is characterized in that also comprising:
From above-mentioned printing configuration information, detecting under the situation of inexplicable name space, judging whether the mark of detected inexplicable name space to be transformed to second determining step of the mark of the name space that can explain, wherein
Can carry out under the situation of conversion judging, the mark of detected inexplicable name space is transformed to the mark of the name space that can explain by above-mentioned shift step by above-mentioned second determining step,
Can't carry out under the situation of conversion judging by above-mentioned second determining step, when carrying out printing treatment, in order to show the user interface that is used to make user's selection function, and with being used to represent to be that the mark of the name space that can explain of unknown name space surrounds this inexplicable name space.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004224582 | 2004-07-30 | ||
JP2004224582 | 2004-07-30 | ||
JP2005196814 | 2005-07-05 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1728079A CN1728079A (en) | 2006-02-01 |
CN100336010C true CN100336010C (en) | 2007-09-05 |
Family
ID=35927382
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100876755A Expired - Fee Related CN100336010C (en) | 2004-07-30 | 2005-07-29 | Information processing apparatus, control method therefor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100336010C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102981785A (en) * | 2011-06-14 | 2013-03-20 | 佳能株式会社 | Information processing apparatus, PDL data conversion method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5434982B2 (en) | 2011-07-26 | 2014-03-05 | コニカミノルタ株式会社 | Information processing apparatus, printing system, printing method, and imposition processing program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0893754A1 (en) * | 1997-07-25 | 1999-01-27 | Seiko Epson Corporation | Print system, printing method, and printer |
US20030079063A1 (en) * | 2001-10-23 | 2003-04-24 | Mitsunori Iida | Data processing apparatus, data processing method, program, and storage medium |
US20030231336A1 (en) * | 2002-06-18 | 2003-12-18 | Samsung Electronics Co., Ltd | Method and apparatus for printing accessed data over a network using a virtual machine applet |
-
2005
- 2005-07-29 CN CNB2005100876755A patent/CN100336010C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0893754A1 (en) * | 1997-07-25 | 1999-01-27 | Seiko Epson Corporation | Print system, printing method, and printer |
US20030079063A1 (en) * | 2001-10-23 | 2003-04-24 | Mitsunori Iida | Data processing apparatus, data processing method, program, and storage medium |
US20030231336A1 (en) * | 2002-06-18 | 2003-12-18 | Samsung Electronics Co., Ltd | Method and apparatus for printing accessed data over a network using a virtual machine applet |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102981785A (en) * | 2011-06-14 | 2013-03-20 | 佳能株式会社 | Information processing apparatus, PDL data conversion method |
CN102981785B (en) * | 2011-06-14 | 2015-11-25 | 佳能株式会社 | Messaging device and PDL data conversion method |
Also Published As
Publication number | Publication date |
---|---|
CN1728079A (en) | 2006-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100675242B1 (en) | Information processing apparatus and control method therefor | |
US8593665B2 (en) | Image forming system and information processing apparatus | |
US9262104B2 (en) | Information processing apparatus, image processing apparatus, and information processing system | |
US7676491B2 (en) | Method and system for accessing a file system | |
CN1731340A (en) | Printing system and printing processing method | |
JP2003316548A (en) | Variable data printing dynamic imposition template | |
US20090180126A1 (en) | Information processing apparatus, method of generating document, and computer-readable recording medium | |
US8176025B2 (en) | Information processing apparatus for storing documents with partial images | |
US8248667B2 (en) | Document management device, document management method, and computer program product | |
US20090327945A1 (en) | Work flow management apparatus and work flow management method | |
CN102163135B (en) | Printer driver device, print job generating method, and print system | |
AU2009212993B2 (en) | Document processing system, search apparatus, information searching method, document processing method and program | |
US20060119890A1 (en) | Document management system and control method therefor | |
US20080143169A1 (en) | Systems and methods for repositioning on user defined boundaries in a presentation data stream | |
US8264734B2 (en) | Print management apparatus, print management system, medium for storing print management program and print management method | |
CN100336010C (en) | Information processing apparatus, control method therefor | |
KR20220050640A (en) | Providing Shortened URL and Information related Contents corresponding to Original URL | |
JP4179977B2 (en) | Stamp processing apparatus, electronic approval system, program, and recording medium | |
JP2005050018A (en) | Document file management device and data structure | |
US20080273213A1 (en) | System and method for enhancing and printing images | |
JP4172478B2 (en) | Document management apparatus and document management method | |
JP2004157588A (en) | Image processing device | |
JP2005050017A (en) | Document file management device, document file management method and data structure | |
JP5217513B2 (en) | An information analysis processing method, an information analysis processing program, an information analysis processing device, an information registration processing method, an information registration processing program, an information registration processing device, an information registration analysis processing method, and an information registration analysis processing program. | |
JP4924599B2 (en) | Printing system, printing medium inspection program, and printing medium inspection apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070905 Termination date: 20210729 |
|
CF01 | Termination of patent right due to non-payment of annual fee |