WO2017029987A1 - Print data management system, information processing device, and program and method for acquiring print data - Google Patents

Print data management system, information processing device, and program and method for acquiring print data Download PDF

Info

Publication number
WO2017029987A1
WO2017029987A1 PCT/JP2016/072737 JP2016072737W WO2017029987A1 WO 2017029987 A1 WO2017029987 A1 WO 2017029987A1 JP 2016072737 W JP2016072737 W JP 2016072737W WO 2017029987 A1 WO2017029987 A1 WO 2017029987A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
spool
print
print data
spool data
Prior art date
Application number
PCT/JP2016/072737
Other languages
French (fr)
Japanese (ja)
Inventor
満 堀籠
Original Assignee
株式会社スプラインネットワーク
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社スプラインネットワーク filed Critical 株式会社スプラインネットワーク
Publication of WO2017029987A1 publication Critical patent/WO2017029987A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer

Definitions

  • Patent Document 1 the file name is acquired from the postscript image data of the document data subjected to the printing process, the stored file is read out, sent to the server together with the postscript image data, and the printing process is executed. It has been proposed that registered documents be registered on the server.
  • Patent Document 1 has a problem in that it cannot be determined whether printing has actually been performed because date information and user name of printing cannot be acquired.
  • data cannot be collected unless the user inserts the file name into the document data.
  • An object of the present invention is to reliably acquire a print-processed document on a server without a burden on a client-side user.
  • the spool data format of the document data instructed to be printed is designated in the desired spool data format in the printer driver of the output destination printer.
  • Spool data format designating means, spool data obtaining means for obtaining spool data in the designated spool data format and spool data attribute information from the spooler, and text extracting means for extracting text data from the obtained spool data An information processing apparatus having transmission control means for controlling to transmit at least text data and attribute information is provided.
  • a print data acquisition program that is applied to a computer that outputs print data to be printed by a printer according to the present invention and acquires the print data
  • the spool data format of the document data instructed to be printed is output when a print instruction is issued.
  • a spool data format specifying step for specifying the desired spool data format in the printer driver of the previous printer, and a spool data acquiring step for acquiring spool data in the specified spool data format and spool data attribute information from the spooler;
  • a print data acquisition program is provided that executes a text extraction step for extracting text data from acquired spool data, and a transmission control step for controlling to transmit at least text data and attribute information.
  • the present invention is a print data acquisition method that is applied to a computer that outputs print data to be printed by a printer according to the present invention, and that acquires print data.
  • the spool data format of the document data instructed to be printed is output to A spool data format specifying step for specifying a desired spool data format in the printer driver of the printer, a spool data acquiring step for acquiring spool data in the specified spool data format and spool data attribute information from the spooler, and
  • a print data acquisition method characterized by executing a text extraction step for extracting text data from acquired spool data, and a transmission control step for controlling to transmit at least text data and attribute information.
  • a print data management system having an information processing apparatus that outputs print data to a printer and a print data management server that manages the print data.
  • Spool data format specifying means for specifying the desired spool data format in the printer driver of the output destination printer, spool data in the specified spool data format, and attribute information of the spool data from the spooler.
  • a print data management server having spool data acquisition means for acquiring, text extraction means for extracting text data from the acquired spool data, and transmission control means for controlling to transmit at least text data and attribute information;
  • Receive print data, text data and attribute information Receiving means that provides a print data, and text data, a print data storing means for storing the attribute information, the print data management system comprising a.
  • the print data can be collected without any special operation by the user.
  • attribute information such as the print date and time of the print data and the user name can be stored in association with the print data, it is possible to verify at a later date who performed the print processing.
  • this print data acquisition program can reliably acquire print data regardless of the printer model, regardless of the printer processing.
  • the acquired spool data is converted into a predetermined data format, text information is extracted, and the print data and text information in the predetermined data format are transmitted to the print data management server.
  • the correct print data can be acquired by the management server.
  • the print acquisition program since the print acquisition program is also started when the application is started, the print data can be acquired immediately after installing the print acquisition program.
  • FIG. 1 is a diagram showing an example of the configuration of a print data management system according to the present invention.
  • FIG. 2 is a diagram showing an example of a hardware configuration diagram of the client PC 120 according to the present invention.
  • FIG. 3 is a functional block diagram of the print data acquisition program according to the present invention.
  • FIG. 4 is a diagram showing an example of a functional block diagram of the client PC in the printing process according to the first embodiment of the present invention.
  • FIG. 5 is an example of a flowchart for explaining a print data acquisition method in print processing according to the first embodiment of the present invention.
  • FIG. 6 is a diagram showing an example of print data attribute information in the present invention.
  • FIG. 7 is a diagram showing an example of functional blocks of the print data management server in the present invention.
  • FIG. 1 is a diagram showing an example of the configuration of a print data management system according to the present invention.
  • FIG. 2 is a diagram showing an example of a hardware configuration diagram of the client PC 120 according to the present invention.
  • FIG. 8 is a diagram illustrating an example of a functional block diagram of the client PC in the printing process according to the second embodiment of the present invention.
  • FIG. 9 is an example of a flowchart for explaining a print data acquisition method in print processing according to the second embodiment of the present invention.
  • FIG. 1 is a diagram showing an example of the configuration of a print data management system according to the present invention.
  • the print data management server 110 and the client PCs 120a and 120b, the printer A 130a, and the printer B 130b are connected via the network 100, for example.
  • the network 100 may be any network form such as the Internet, a LAN, and a WAN regardless of wired or wireless.
  • the print data management server 110 is a server that receives, saves, and manages print data, which is a document printed by each client PC, from each client PC. Print data transmitted from the client PC, text information included in the print data, and attribute information thereof are stored in a storage unit such as a database in association with each other.
  • the print data management server 110 does not have to be a single server device, and may be configured by being distributed to a plurality of servers.
  • a print data acquisition program is installed in the client PCs 120a and 120b, and the print data acquisition program acquires print data in the middle of print processing regardless of which printer the print data is printed on.
  • the acquired print data is sent to the print data management server 110.
  • the number of client PCs (information processing devices) is not limited to two, and a plurality of client PCs are connected to the network.
  • the printer A 130a and the printer B 130b receive the document data for which a print instruction has been received in the client PC as print data, and print it out.
  • the printer may be an apparatus having a plurality of functions such as a copier and a FAX apparatus as well as an apparatus having a function of a single printer.
  • FIG. 2 is a diagram showing an example of a hardware configuration diagram of the client PC 120 according to the present invention.
  • the information processing apparatus configuring the client PC 120 includes a CPU 211, a ROM 212, a RAM 213, an external interface 214, a communication interface 215, an input / output interface 216, and a storage device 217 that are connected to each other via a bus.
  • the CPU 211 reads the application 230, operating system (OS) 240, printer program 250, and print data acquisition program 260 from the storage device 217 and executes them.
  • OS operating system
  • the ROM 212 stores, for example, a BIOS and a start program, and the RAM 213 operates as a memory that temporarily stores data necessary as a work memory when the CPU executes each process.
  • the input / output interface 216 is an interface such as a mouse 219, a keyboard 220, and a display 221 that accepts an operation instruction from a user and outputs a processing result based on the operation instruction.
  • a touch panel, a speaker, a microphone, and the like may be connected.
  • the storage device 217 is a hard disk or flash memory, and stores an application 230, an operating system 240, a printer program 250, and a print data acquisition program 260.
  • the application 230 is a software program such as document creation software, spreadsheet software, or presentation creation software.
  • the operating system 240 is also called an OS, and is Windows (registered trademark), Linux (registered trademark), or the like.
  • the printer program 250 is a program for printing electronic data such as document data with a printer, and stores the printer program of each connected printer.
  • the print data acquisition program 260 is a program according to the present invention, which acquires spool data to obtain print data, text information, and data, regardless of which printer prints data instructed to be printed by the application. This program acquires attribute information.
  • Examples of the storage medium 218 include a removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
  • the print data acquisition program is stored in these removable media or downloaded from a server (not shown).
  • the print data acquisition program is distributed, stored in the storage device 217, and executed by the CPU 211 to execute various functions.
  • the spool data format designation unit 261 changes the spool data format of the data in the printer driver of the output destination printer designated to be the desired spool data format. specify.
  • the print data acquisition program forcibly specifies the desired spool data format regardless of the spool data format set by each printer driver.
  • the spool data format is designated as the EMF data format in the designated output destination printer driver.
  • the EMF data format is used.
  • the EMF data format is not limited to the EMF, and the data format does not depend on the printer model, that is, the data format does not depend on the printer and can be processed by the designated printer driver.
  • a spool data format may be used.
  • the spool data format specification unit 261 When the application receives a print instruction, the spool data format specification unit 261 always calls the spool data format specification unit 261 regardless of what printer is instructed by rewriting the function address. Further, when the EMF data format is specified in the printer driver, the spool data format specifying unit 261 returns it to the GDI.
  • the spool data format designation unit 261 mediates exchange between the GDI and the printer driver, except for setting EMF data in the printer driver. Note that when the XPS spool is also supported, the spool data format designating unit 261 designates the spool data format only in the case of GDI print processing, and therefore does not perform any processing on the XPS spool.
  • the spool data acquisition unit 262 acquires spool data in the designated spool data format and attribute information of the spool data from the spooler. Specifically, the spool data acquisition unit 262 acquires the spool file originally sent from the spooler to the print processor together with the attribute information of the spool data sent simultaneously with the spool file. The spool data acquisition unit 262 acquires the spool data and the attribute information of the spool data by rewriting the function address so that the function address for accessing the print processor from the spooler is accessed to the spool data acquisition unit. The spool data acquisition unit 262 mediates the exchange between the print processor and the spooler, except for acquiring spool data and attribute information.
  • the attribute information is information including the file name, user name, machine name, printing date and time of the data to be printed, and is information that can be acquired from the spooler together with the spool data, and is provided as a metafile in XML data format or the like. Is done. Further, the spool data acquisition unit 262 determines the spool data format of the received spool data. Specifically, it is determined whether or not the specified spool data format (for example, EMF data) is used. Whether it is EMF data is determined by checking the data format. In the case of dealing with XPS data, whether the data is XPS data is determined by reading the data as XPS data and determining whether the data can be opened.
  • EMF data for example, EMF data
  • the text extraction unit 263 extracts text information from the spool data acquired by the spool data acquisition unit 262.
  • the text extraction unit 263 may extract not only text information included in the spool data but also image data.
  • the text information may be extracted not only from the spool data but also from the attribute information.
  • the text extraction unit 263 performs text data extraction processing from EMF data if it is EMF data, and text data extraction processing from XPS data if it is XPS data. I do.
  • the spool data conversion unit 264 converts the spool data acquired by the spool data acquisition unit 262 into a predetermined data format. Since the spool data is data generated in the middle of the printing process of the data for which the print instruction has been received, the original document data may not be reproduced without being garbled by another information processing apparatus. Therefore, the spool data conversion unit 264 converts the acquired spool data (for example, EMF data) into a predetermined data format to obtain print data.
  • the predetermined data format is a data format that can be reproduced by any information processing apparatus, for example, PDF or XPS. In XPS printing, spool data is not converted because XPS is spool data.
  • the communication interface 215 controls to transmit the attribute information acquired by the H.262 to the print data management server 110 via the network 100.
  • the registry writing unit 266 writes the name of the function rewriting unit 267 in the registry related to the module loaded when the application is activated. By writing the name of the function rewriting unit in the registry of the module loaded at the time of starting the application, the function rewriting unit 267 is surely started at the time of starting the application, and a predetermined function address is rewritten. 261 and the spool data acquisition unit 262 are accessed. For example, when Windows (registered trademark) is an OS, the registry writing unit 266 writes the program module name (DLL name) of the function rewriting unit 267 in the APPInit_DLLs registry.
  • Windows registered trademark
  • the registry writing unit 266 writes the program module name (DLL name) of the function rewriting unit 267 in the APPInit_DLLs registry.
  • FIG. 4 is a diagram showing an example of a functional block diagram of the client PC in the printing process according to the first embodiment of the present invention.
  • the client PC 120 includes an application 230, a printer program 250, and a print data acquisition program 260 that operate on a Windows (registered trademark) operating system (OS) 240. Although only one printer program is shown here, when a plurality of printer programs are installed, the client PC 120 has a plurality of printer programs.
  • OS registered trademark
  • the application 230 is, for example, a document creation software, a table creation software, an image creation software, a presentation software, an email software, etc., and is a program that creates document data having characters, images, and the like.
  • print data is generated.
  • the operating system includes a GDI (Graphics Device Interface) 241, a spooler 242, a print provider 243, a language monitor 244, and a port monitor 245.
  • GDI Graphics Device Interface
  • spooler 242 a print provider 243
  • language monitor 244 a language monitor 244
  • a predetermined function address related to printing is rewritten when the application is started, and the OS can execute the spool data format designation unit 261 of the print data acquisition program or the spool.
  • the data acquisition unit 262 is accessed. Accordingly, when the application receives a print instruction from the user, the GDI 241 is called by the application 230 and accesses the spool data format designation unit 261 according to the rewritten function address.
  • the spool data format designation unit 261 forcibly designates the spool data format in the printer driver 251 and returns the designated spool data format to the GDI 241. Therefore, the GDI 241 generates spool data in the designated spool data format.
  • the spool data format is a spool data format determined by spooling when printing document data
  • examples of spooling using GDI include RAW spooling and EMF spooling.
  • RAW spooling is a method of converting data into spool data that is optimal for the printer and spooling the data. Although it depends on the individual printer model, it takes a long time to release the application from the printing process.
  • EMF spooling is a method of spooling with EMF data that does not depend on the printer model, and then generating and printing print data unique to the printer, and can release an application from print processing at an early stage. .
  • the registry writing unit 266 writes the name of the function rewriting unit 267 in the registry related to the module loaded when the application is activated when the print data acquisition program is installed. Therefore, when the application is activated, the function rewriting unit 267 rewrites all the function addresses that the GDI 241 calls the printer driver 251 to call the spool data format specifying unit 261. Accordingly, the spool data format designation unit 261 is always called, and the spool data format is designated in the printer driver and returned to the GDI 241, for example, so that the spool data format is the same regardless of which printer is used for printing. The spool data format specified by the spool data format specifying unit 261 is used. The GDI 241 generates spool data in a designated spool data format (for example, EMF data) and sends it to the spooler 242.
  • a designated spool data format for example, EMF data
  • the print provider 243 performs processing for switching the output destination of the print data. For example, if the designated printer is a local printer, it is set to output to the local printer, and if it is a printer shared on the network, it is set to output to the network shared printer.
  • spool data is sent from the spooler 242, spool data is reproduced by the print processor 252, spool data reproduced by the GDI 241 is drawn, and the printer driver 251 uses a printer model-dependent data format (RAW This is done after being converted to (data).
  • RAW printer model-dependent data format
  • the language monitor 244 transmits / receives print status data to / from the printer. If necessary, processing such as printer job command control is performed on the print data.
  • the port monitor 245 performs output processing for print data according to the type of printer port (USB, TCP / IP, etc.).
  • the spool file 300 is data generated by the GDI 241 and includes spool data and attribute information data.
  • the spool data is data of document data to be printed, and the attribute information data includes attribute information related to the document data to be printed, for example, the printing date and time, the file name of the document data, and the user name.
  • the spool data format designation unit 261 since the spool data format designation unit 261 always designates a predetermined spool data format (for example, EMF data), the spool designated by the spool data format designation unit 261 is used for any printer. Spooled in data format.
  • the print data acquisition program 260 includes a spool data format designation unit 261, a spool data acquisition unit 262, a text extraction unit 263, a spool data conversion unit 264, and a print data transmission control unit 265.
  • the registry writing unit 266 and the function rewriting unit 267 are not shown, but these are also installed in the client PC 260 as a part of the print data acquisition program 260.
  • the registry writing unit 266 writes the name of the function rewriting unit 267 in the registry related to the module loaded when the application is activated.
  • the spool data acquisition unit 262 acquires the spool file 300 sent from the spooler 242. Since the function rewriting unit 267 rewrites the function address when the spooler 242 sends the spool file to the print processor 252 when the application is activated, the spooler 242 sends the spool file 300 regardless of which printer is specified. Therefore, the spool data acquisition unit 262 is accessed. The spool data acquisition unit 262 acquires spool data and attribute information included in the spool file 300.
  • the spool data is document data expressed in a predetermined spool data format.
  • the attribute information is information relating to document data to be printed, such as the printing date and time, the file name of the document data to be printed, and the name of the user who performed printing.
  • the spool data acquisition unit 262 performs only mediation when there is other processing between the spooler 242 and the print processor 252 except for acquiring the spool file 300 sent from the spooler 242.
  • the spool data acquisition unit 262 determines the data format of the acquired spool data. Specifically, it is determined whether the data format is EMF. When it is confirmed that the data is EMF data, the spool data acquisition unit 262 sends the acquired spool data (EMF data) and attribute information to the text extraction unit 263.
  • EMF data acquired spool data
  • the text extraction unit 263 extracts text data from the spool data acquired by the spool data acquisition unit 262.
  • the text extraction unit 263 may extract not only text information but also image data and the like. Since the text data is extracted by the same device as the device that generated the EMF data, the text data can be reliably extracted without causing problems such as garbled characters.
  • the spool data conversion unit 264 converts the spool data acquired by the spool data acquisition unit 262 into a predetermined data format.
  • the predetermined data format is, for example, PDF data or XPS data, but any data format may be used as long as it does not cause garbled characters or errors in any information processing apparatus.
  • the print data transmission control unit 265 performs print data management on attribute information acquired by the print data acquisition unit 262, text information extracted by the text extraction unit 263, and print data in a predetermined data format converted by the spool data conversion unit. Control transmission to the server via the network.
  • the printer program 250 includes a printer driver 251 and a print processor 252.
  • the printer driver 251 stores print data format setting information, and generates printer-specific print data.
  • the print processor 252 reproduces the print data (EMF data in the present embodiment) sent from the spooler 242 and performs, for example, editing processing such as aggregation and bookbinding for each page of the print document.
  • FIG. 5 is an example of a flowchart for explaining a print data acquisition method in print processing according to the first embodiment of the present invention.
  • One of the predetermined function addresses is a function address related to a process in which the GDI 241 calls the printer driver 251 in order to inquire about the spool data format.
  • the function address of a function such as LoadLibrary () API or DrvEnableDriver () API is used as the printer address.
  • the other is a function address related to processing that the spooler 242 calls to send the spool file 300 to the print processor 252.
  • the function address of the function is rewritten from the print processor 252 to the spool data acquisition unit 262.
  • the application receives a print instruction from the user using a mouse, a keyboard, or the like (step S503). For example, the user selects “print” from the application menu, selects a printer to print, the number of sheets, the output paper size, and the like, and executes a print instruction.
  • the GDI 241 refers to the registry in order to access the printer driver that is the print instruction target (step S504).
  • the GDI 241 calls the spool data format designation unit 261 to use the designated printer driver (step S505).
  • the spool data format designation unit 261 calls the printer driver 251 (step S506). A printer driver activation command or the like from the GDI 241 is transmitted to the printer driver 251 via the spool data format designation unit 261. Further, the spool data format specifying unit 261 calls the printer driver 251 to acquire the driver interface, and returns the function address of the spool data format specifying unit 261 to the GDI 241.
  • the spool data format designation unit 261 sets the spool format designation bit in the printer driver 251 to EMF and returns it to the GDI 241 (step S507). Since the function address of the spool data format designation unit 261 is returned to the GDI 241 as the driver interface, the spool data format designation unit 261 is also called for an inquiry about the spool data format from the GDI 241. In response to a spool data format inquiry (specifically, the DrvEnablePDEV () function), the spool data format specifying unit 261 accesses the printer driver 251 to enable the printer driver 251, and spool data in the printer driver 251.
  • a spool data format inquiry specifically, the DrvEnablePDEV () function
  • the bits whose format is determined are set by changing or holding the bits so as to be in a predetermined spool data format (for example, EMF data). Then, the spool data format designation unit 251 returns the spool data format set in the printer driver to the GDI 241.
  • a predetermined spool data format for example, EMF data
  • the GDI 241 generates a spool file of EMF data and sends it to the spooler 242 (step S508).
  • EMF data is designated as a predetermined data format
  • the GDI 241 generates EMF data of document data for which printing has been instructed and sends it to the spooler 242.
  • the spooler 242 calls the spool data acquisition unit 262 (step S509). Regardless of which printer is selected, the function rewriting unit 267 rewrites the function addresses of the functions such as OpenPrintProcessor () API, PrintDocumentOnPrintProcessor () API, ClosePrintProcessor () API, and ControlPrintProcessor () API, so the spooler 242 Calls the spool data acquisition unit 262 instead of the print processor of the selected printer.
  • the spool data acquisition unit 252 mediates exchange of commands between the spooler 242 and the print processor 262 except for acquiring the spool file 300 sent from the spooler 242 to the print processor 252.
  • the spool data acquisition unit 252 acquires EMF data and attribute information (step S510).
  • the spool data acquisition unit 252 acquires EMF data, which is spool data included in the spool file 300 sent from the spooler 242, and attribute information of document data that has received a print instruction.
  • the document data is EMF data, but the attribute information is described in, for example, an XML format, and includes a file name of the document data to be printed, a printing date, a user name, a machine name, and the like.
  • the process is divided into a normal print process and a process for managing print data.
  • the spool data acquisition unit 262 determines the spool data format (step S511).
  • the acquired spool data should be in the data format designated by the spool data format designation unit 261, that is, EMF data.
  • the spool data acquisition unit 262 checks and determines whether or not the acquired spool data has the data format of EMF data.
  • the spool data acquisition unit 262 sends the acquired spool data (EMF data) and attribute information to the text extraction unit 263, and the text extraction unit 263 extracts the text data from the spool data. Is extracted (step S512).
  • the text extraction unit 263 may extract not only text data but also image data.
  • the spool data conversion unit 264 converts the data format of EMF data, which is spool data, into a predetermined data format (step S513).
  • the predetermined data format is a data format that can be stably reproduced by any information processing apparatus, for example, PDF or XPS.
  • the EMF data format that is spool data font information is not included, so if the EMF data is opened on a device other than the device that generated the EMF data, the characters are garbled and the contents of the document data cannot be confirmed. Therefore, the data format is converted here.
  • the converted data is transmitted to the print data management server as document data print data and stored.
  • the print data converted by the spool data conversion unit 264, the text data extracted by the text extraction unit 263, and the attribute information acquired by the spool data acquisition unit 262 are transmitted to the print data transmission control unit 265 (step S514).
  • the spool data acquisition unit 262 extracts not only all the acquired attribute information but only predetermined items, for example, the user name and file name, the printing date and time, and transmits the extracted information to the print data transmission control unit 265. Also good. Since the attribute information includes fairly fine information such as the data amount, the transmission data amount can be reduced by extracting only predetermined items.
  • the print data transmission control unit 265 constantly monitors whether print data, text information, and attribute information have been received, and when detecting that all print data, text information, and attribute information have been received, the print data management server The transmission to 110 is controlled (step S515).
  • the spool data acquisition unit 262 After acquiring the spool data and its attribute information, the spool data acquisition unit 262 calls the print processor 252 (step S516). Since the spooler 242 calls the spool data acquisition unit 262 to call the print processor 252, the spool data acquisition unit 262 calls the print processor 252 in order to continue the printing process normally.
  • the spool file 300 sent out by the spooler 242 is sent out from the spool data acquisition unit 262 to the print processor 252 as it is, and when there is a process required by the print processor 252, the process is performed. For example, page-by-page aggregation or bookbinding processing.
  • the GDI 241 is called by the print processor 252 (step S517), and the processed data is sent to the GDI 241.
  • the GDI 241 reproduces the received EMF data (step S518) and performs drawing on the printer device context. Thereafter, the GDI 241 calls the spool data format designation unit 261 for processing by the printer driver.
  • the spool data format designation unit 261 calls the printer driver 251, and the printer driver 251 generates printer-specific print data (RAW data) (step S519).
  • the spool data format specifying unit 261 does not particularly perform processing such as changing the processing result of the printer driver, and mediates exchange with the GDI 241 as an interface of the printer driver.
  • the print provider 243 performs processing for switching the output destination of the print data (step S520). Further, the language monitor 244 performs processing on the print data if necessary after processing at the print provider (step S521).
  • the port monitor 245 performs output processing on the print data according to the type of printer port (USB, TCP / IP, etc.) (step S522). The print data processed in this way is sent to the designated printer via the network and output from the printer.
  • FIG. 6 is a diagram showing an example of print data attribute information in the present invention.
  • the attribute information acquired from the spooler together with the EMF data is configured as a property file including the attributes of the print data, and is in an XML data format, for example. Accordingly, since a lot of information is included, the print data acquisition unit 262 sends only some items of the acquired attribute information to the print data transmission control unit 263 in order to reduce the transmission data amount. May be.
  • attribute information transmitted to the print data management server for example, as shown in FIG.
  • the present invention is not limited to these, and other items such as the print job start time and the paper size (A4) of the document data to be printed may be included.
  • FIG. 7 is a diagram showing an example of functional blocks of the print data management server according to the present invention.
  • the print data management server 110 includes a print data receiving unit 701, a print data storage unit 702, a token analysis unit 705, an index storage unit 706, a search unit 707, a notification condition setting unit 710, and a notification unit 711.
  • the print data storage unit 702 includes an attribute information storage unit 703 and a print data storage unit 704.
  • the search unit 707 includes a search condition analysis unit 708 and a search page generation unit 709.
  • the print data receiving unit 701 receives print data, text data, and attribute information transmitted by the transmission control of the print data transmission control unit 265 of the client PC.
  • the print data receiving unit 701 divides the received print data, text data, and attribute information thereof into a print data file, a text data file, and an attribute information file, and the print data and attribute information are divided into print data storage units.
  • 702 is stored.
  • the print data file is stored in the print data storage unit 704, and the attribute information file is stored in the attribute information storage unit 703.
  • the print data receiving unit 701 sends text data and attribute information to the token analysis unit 705.
  • the print data storage unit 702 includes an attribute information storage unit 703 and a print data storage unit 704.
  • the print data storage unit 702 stores print data (for example, PDF data) and attribute information data received by the print data receiving unit 701 in the print data storage unit 704 and the attribute information storage unit 703, respectively.
  • the print data storage unit 702 stores the print data and the attribute information corresponding to the print data in association with each other so that one can be acquired from the other. For example, the same ID number is assigned to the print data and the attribute information, and the ID number is stored in the attribute information storage unit 703 and the print data storage unit 704, respectively.
  • the token analysis unit 705 generates index data by performing token analysis of text data and attribute information data sent from the client PC to the print data reception unit 701. Specifically, a process of extracting a token (word) is performed so that a full-text search can be performed quickly and easily from text data.
  • the token analysis unit 705 has been described with the configuration in which the token analysis is performed when the print data reception unit 701 receives the data.
  • the text data is temporarily stored in the index storage unit 707, and the token analysis unit 706 extracts and analyzes the token in a timely manner. You may comprise as follows.
  • the index storage unit 706 stores print data and text data of attribute information and index data generated by token analysis.
  • the index storage unit 706 is associated with the attribute information storage unit 703 and the print data storage unit 704 so as to be associated with the original print data and its attribute information.
  • the search unit 707 provides a search page for extracting desired data from a large amount of print data and its attribute information stored in the print data management server. For example, a Web search page capable of inputting a search word is provided, and a user can extract desired print data by inputting a keyword or the like.
  • the search unit 707 includes a search condition analysis unit 708 and a search page generation unit 709.
  • the search condition analysis unit 708 analyzes the search condition input on the search page, and searches for corresponding print data based on the index data in the index storage unit 706.
  • the search page generation unit 709 generates a search page for inputting search conditions in order to provide a search service for stored print data and attribute information to the user.
  • the search page is provided as a Web page via a network, for example.
  • the search condition analysis unit 708 extracts print data and attribute information that match the input search conditions
  • the search page generation unit 709 displays them as a list or displays the contents and attribute information of the print data. .
  • the notification condition setting unit 710 is set in association with a notification condition and a notification destination when a predetermined notification destination is notified.
  • the notification condition is a condition for notifying a predetermined notification destination when there is print data or attribute information that meets the predetermined condition.
  • the notification condition can be set so as to extract print data including a predetermined keyword, print data printed at a predetermined date and time, and the like. For example, when print data including the words “confidential” and “confidential” is detected, it can be set to notify a predetermined mail address.
  • the notification condition can be set by filling a predetermined form and sending it to the print data management server, setting the notification condition from the search page, setting from the notification condition setting web page, or any other method. It does not matter.
  • the print data management server 110 is illustrated as being configured by a single server device, but may be configured by a plurality of distributed servers.
  • the operating system (OS) 240 has a GDI 241, a spooler 242, a print provider 243, a language monitor 244, a port monitor 245, and a Filter Pipeline Manager 281.
  • the Filter / Pipeline / Manager 281 is used in the printing process in the XPS spool format, and generates XPS spool data.
  • the application 230 receives a print instruction from the user, a printer to be printed is selected. At this time, if the selected printer driver is an XPS printer driver, Filter Pipeline Manager 281 is called by the application.
  • the Filter Pipeline Manager 281 Since the function rewriting unit 267 rewrites only the function address that the GDI 241 calls the printer driver 251 so as to call the spool data format specifying unit 261, the Filter Pipeline Manager 281 does not call the spool data format specifying unit 261, A driver (Filter driver) 282 is called. This is because, in the case of XPS printing processing, the output spool data format is XPS, so that it can be reproduced by any information processing apparatus. Therefore, the print data acquisition program does not perform function rewriting for calling the spool data format designation unit 261 for the XPS printer driver, and does not go through the spool data format designation unit 261.
  • the print provider 243, the language monitor 244, and the port monitor 245 are the same as those in the first embodiment, description thereof is omitted. However, in the printing process by the GDI printer driver, the processing in the language monitor 244 and the port monitor 245 continues after the process in the print provider 243. In the printing process by the XPS printer driver, in the print provider 243, After the above process, the process is performed by the port monitor 245 without going through the language monitor 244.
  • the print data acquisition program 260 includes a spool data format designation unit 261, a spool data acquisition unit 262, a text extraction unit 263, a spool data conversion unit 264, and a print data transmission control unit 265. Since the function rewriting unit 267 rewrites only the function address at which the GDI 241 calls the printer driver 251 so that the spool data format specifying unit 261 is called when the application is activated, the spool data format specifying unit 261 is changed.
  • a bit for designating a spool data format in the printer driver (GDI driver) 251 of the printer that has received the print instruction is set to a predetermined spool data format, for example, an EMF data format.
  • the specified spool data format is returned to the GDI 241. Note that in the case of printing processing by an XPS printer driver, function rewriting is not performed, and thus the print data does not go through the spool data format designation unit 261.
  • the spool data acquisition unit 262 acquires the spool file 300 sent from the spooler 242.
  • the spooler 242 sends the spool data format (for example, EMF data) and attribute information data designated by the spool data format designation unit 261 in the case of GDI printing processing, and the XPS data in the case of XPS printing processing. Spool data and attribute information data are sent out. Since the function address when the spooler 242 sends the spool file to the print processor 252 is rewritten by the function rewriting unit 267 when the application is activated, the spooler 242 sends the spool file 300 to the spool data acquisition unit 262. to access.
  • EMF data spool data format
  • attribute information data designated by the spool data format designation unit 261 in the case of GDI printing processing
  • XPS data in the case of XPS printing processing. Spool data and attribute information data are sent out. Since the function address when the spooler 242 sends
  • the spool data acquisition unit 262 acquires the spool file 300 sent from the spooler 242 regardless of whether the spool data is EMF data or XPS data. Except for the acquisition, when there is other processing between the spooler 242 and the print processor 252, only mediation is performed. Then, the spool data acquisition unit 262 determines the data format of the acquired spool data. Specifically, it is first determined whether or not the data format is EMF. If it is not EMF data, it is determined whether or not data can be read as XPS data. When it is confirmed that the data is EMF data or XPS data, the spool data acquisition unit 262 sends the acquired spool data (EMF data or XPS data) and attribute information to the text extraction unit 263.
  • EMF data or XPS data the acquired spool data format
  • the text extraction unit 263 extracts text data from spool data that is EMF or XPS data acquired by the spool data acquisition unit 262.
  • the spool data conversion unit 264 converts EMF data out of the spool data acquired by the spool data acquisition unit 262 into a predetermined data format (for example, PDF data or XPS data).
  • a predetermined data format for example, PDF data or XPS data.
  • spool data is already XPS data, and any information processing apparatus has a data format that does not cause garbled characters or errors, so that spool data conversion is not required. Therefore, in the case of XPS type printing processing, the processing in the print data transmission control unit 265 is performed without going through the spool data conversion unit 264.
  • the print data transmission control unit 265 is a network that transmits the attribute information acquired by the print data acquisition unit 262, the text information extracted by the text extraction unit 263, and the print data in a predetermined data format to the print data management server. Control to transmit via.
  • FIG. 9 is an example of a flowchart for explaining a print data acquisition method in print processing according to the second embodiment of the present invention.
  • an application such as document creation software or image creation software
  • the selected application is activated on the OS of the client PC (step S901).
  • the function address is rewritten from the print processor 252 to the spool data acquisition unit 262.
  • the application receives a print instruction from the user using a mouse, a keyboard, or the like (step S903). For example, the user selects “print” from the application menu, selects the printer to be printed, the number of sheets, the output paper size, and the like. Execute the instructions. At this time, if the user selects a GDI printer driver, the processing is the same as the processing in and after step S504 in FIG. 5 of the first embodiment. The case where is selected will be described below.
  • the Filter Pipeline Manager 281 When the user selects an XPS printer driver, the Filter Pipeline Manager 281 is called.
  • the Filter / Pipeline / Manager 281 generates a spool file of XPS data and sends it to the spooler (step S904).
  • the Filter Pipeline Manager 281 since the Filter Pipeline Manager 281 generates a spool file of XPS data, the print data acquisition program does not intervene in specifying the spool file format.
  • the spooler 242 calls the spool data acquisition unit 262 (step S905).
  • the function rewriting unit 267 sets the function address of the function that the spooler calls the printer processor such as OpenPrintProcessor () API, PrintDocumentOnPrintProcessor () API, ClosePrintProcessor () API, ControlPrintProcessor () API. Since rewriting is performed, the spooler 242 calls the spool data acquisition unit 262 instead of the print processor of the selected printer.
  • the spool data acquisition unit 252 acquires XPS data and attribute information (step S906).
  • the spool data acquisition unit 252 acquires XPS data, which is spool data included in the spool file 300 sent from the spooler 242, and attribute information of document data that has received a print instruction.
  • the document data is XPS data, but the attribute information is described in XML format, for example, and includes the file name of the document data to be printed, the date and time of printing, the user name, the machine name, and the like.
  • the spool data acquisition unit 262 determines the spool data format (step S907).
  • the acquired spool data is XPS data, but a discrimination process is performed here.
  • the spool data acquisition unit 262 checks and determines whether or not the acquired spool data has the data format of EMF data. If it is determined that the data is not EMF data, data is read as XPS data. Here, if the data can be read as XPS data, it is determined that the data is XPS data. If the data cannot be read, an error occurs and the process ends.
  • Text data extracted by the text extraction unit 263, XPS data that is spool data acquired by the spool data acquisition unit 262, and attribute information are transmitted to the print data transmission control unit 265, respectively (step S909). Since the spool data is already XPS data, spool data conversion processing is not necessary. Here, the spool data acquisition unit 262 extracts not only all the acquired attribute information but only predetermined items, for example, the user name and file name, the printing date and time, and transmits the extracted information to the print data transmission control unit 265. Also good.
  • the print data transmission control unit 265 always monitors whether print data, text information, and attribute information, which are XPS data, has been received, and when detecting that all print data, text information, and attribute information have been received, Transmission to the print data management server 110 is controlled (step S910).
  • the spool data acquisition unit 262 After acquiring the spool data and its attribute information, the spool data acquisition unit 262 calls the print processor 252 (step S911). Since the spooler 242 calls the spool data acquisition unit 262 to call the print processor 252, the spool data acquisition unit 262 calls the print processor 252 in order to continue the printing process normally.
  • the print processor 252 calls the Filter Pipeline Manager 281 (step S ⁇ b> 912). Data processed by the print processor 252 is sent to the Filter Pipeline Manager 281.
  • the Filter®Pipeline® Manager 281 reproduces the received XPS data (step S913) and draws it on the printer device context. Thereafter, the Filter / Pipeline / Manager 281 calls the printer driver (Filter driver) 282, and the printer driver (Filter driver) 282 generates print data (RAW data) unique to the printer (Step S914).
  • the print provider 243 performs a process of switching the output destination of the print data if necessary (step S915).
  • the port monitor 245 performs output processing on the print data in accordance with the type of printer port (USB, TCP / IP, etc.) (step S916).
  • the print data processed in this way is sent to the designated printer via the network and output from the printer.
  • the present invention it is possible to reliably acquire print data information regardless of whether the printer is a GDI system or an XPS system.

Landscapes

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

Abstract

The present invention relates to a print data management system by which printed document data are reliably collected into a server. The information processing device of the print data management system has: a spool data format specification means for specifying, upon receiving a print command, a spool data format of document data to be printed from among printer drivers of an output destination printer; a spool data acquisition means for acquiring the spool data and attribute information of the spool data from a spooler; a text extraction means for extracting text data from the acquired spool data; a spool data conversion means for converting the acquired spool data into a predetermined data format; and a transmission control means for controlling transmission of print data converted into the predetermined data format, the text data, and the attribute data. A print data management server of the print data management system is equipped with: a reception means for receiving the print data, the text data, and the attribute data; and a print data storage means for storing the print data, the text data, and the attribute data.

Description

印刷データ管理システム、情報処理装置、印刷データ取得プログラム、方法Print data management system, information processing apparatus, print data acquisition program, and method
 本発明は、印刷された文書データを確実にサーバで収集する印刷データ管理システムに関する。 The present invention relates to a print data management system that reliably collects printed document data at a server.
 近年、コンピュータシステムやコンピュータネットワークの進展により、多くの文書が電子データで扱われることが多くなり、機密情報も電子化されてサーバなどに保存されるようになった。企業や官公庁では、機密情報についてパスワードの設定やアクセスできる人間を限定するなど、情報漏えいに対しては対策を講じている。しかし、こうした電子化された機密文書を印刷して持ち出されることがあり、問題となっている。 In recent years, with the development of computer systems and computer networks, many documents are often handled as electronic data, and confidential information is also digitized and stored on servers. Companies and government agencies are taking measures against information leakage, such as setting passwords for confidential information and limiting who can access it. However, there are cases where such electronic confidential documents are printed out and taken out.
 ところで、特許文献1では、印刷処理がなされた文書データのポストスクリプトイメージデータからファイル名を取得し、記憶されているファイルを読みだして、ポストスクリプトイメージデータとともにサーバへ送り、印刷処理が実行された文書をサーバに登録することが提案されている。 By the way, in Patent Document 1, the file name is acquired from the postscript image data of the document data subjected to the printing process, the stored file is read out, sent to the server together with the postscript image data, and the printing process is executed. It has been proposed that registered documents be registered on the server.
特開2005-141402号公報Japanese Patent Laid-Open No. 2005-141402
 しかし、特許文献1記載の方法では、印刷される文書のどこかに必ずファイル名が記載されている必要があり、またファイル名が記載されていない文書については、印刷処理がされても文書データを取得することができず、すべての印刷データを登録することができないという問題があった。さらに、文書データに必ずファイル名を入れる必要があるため、ユーザの負担も大きい。 However, in the method described in Patent Document 1, the file name must be described somewhere in the document to be printed, and the document data for which the file name is not described is the document data even if the printing process is performed. Cannot be acquired, and all print data cannot be registered. Furthermore, since it is necessary to always include the file name in the document data, the burden on the user is large.
 また、特許文献1記載の方法では、印刷した日時情報やユーザ名などを取得できないため、実際に印刷されたのか、判別できないという問題があった。また、ユーザがファイル名を文書データに挿入しなければ、データを収集することができないという問題があった。 Also, the method described in Patent Document 1 has a problem in that it cannot be determined whether printing has actually been performed because date information and user name of printing cannot be acquired. In addition, there is a problem that data cannot be collected unless the user inserts the file name into the document data.
 本発明は、クライアント側のユーザの負担なく、印刷処理された文書を確実にサーバで取得することを目的とする。 An object of the present invention is to reliably acquire a print-processed document on a server without a burden on a client-side user.
 本発明における印刷データをプリンタへ出力する情報処理装置にあっては、印刷指示があると印刷指示された文書データのスプールデータ形式を出力先のプリンタのプリンタドライバ内で所望のスプールデータ形式で指定するスプールデータ形式指定手段と、指定されたスプールデータ形式によるスプールデータとスプールデータの属性情報とを、スプーラから取得するスプールデータ取得手段と、取得したスプールデータからテキストデータを抽出するテキスト抽出手段と、テキストデータと、属性情報とを少なくとも送信するよう制御する送信制御手段と、を有する情報処理装置を提供する。 In the information processing apparatus for outputting print data to a printer according to the present invention, when there is a print instruction, the spool data format of the document data instructed to be printed is designated in the desired spool data format in the printer driver of the output destination printer. Spool data format designating means, spool data obtaining means for obtaining spool data in the designated spool data format and spool data attribute information from the spooler, and text extracting means for extracting text data from the obtained spool data An information processing apparatus having transmission control means for controlling to transmit at least text data and attribute information is provided.
 また、本発明におけるプリンタで印刷する印刷データを出力するコンピュータに適用され、印刷データを取得する印刷データ取得プログラムにあっては、印刷指示があると印刷指示された文書データのスプールデータ形式を出力先のプリンタのプリンタドライバ内で所望のスプールデータ形式で指定するスプールデータ形式指定ステップと、指定されたスプールデータ形式によるスプールデータとスプールデータの属性情報とを、スプーラから取得するスプールデータ取得ステップと、取得したスプールデータからテキストデータを抽出するテキスト抽出ステップと、テキストデータと、属性情報とを少なくとも送信するよう制御する送信制御ステップとを実行させることを特徴とする印刷データ取得プログラムを提供する。 Further, in a print data acquisition program that is applied to a computer that outputs print data to be printed by a printer according to the present invention and acquires the print data, the spool data format of the document data instructed to be printed is output when a print instruction is issued. A spool data format specifying step for specifying the desired spool data format in the printer driver of the previous printer, and a spool data acquiring step for acquiring spool data in the specified spool data format and spool data attribute information from the spooler; A print data acquisition program is provided that executes a text extraction step for extracting text data from acquired spool data, and a transmission control step for controlling to transmit at least text data and attribute information.
 さらに、本発明におけるプリンタで印刷する印刷データを出力するコンピュータに適用され、印刷データを取得する印刷データ取得方法であって、印刷指示があると印刷指示された文書データのスプールデータ形式を出力先のプリンタのプリンタドライバ内で所望のスプールデータ形式で指定するスプールデータ形式指定ステップと、指定されたスプールデータ形式によるスプールデータとスプールデータの属性情報とを、スプーラから取得するスプールデータ取得ステップと、取得したスプールデータからテキストデータを抽出するテキスト抽出ステップと、テキストデータと、属性情報とを少なくとも送信するよう制御する送信制御ステップとを実行させることを特徴とする印刷データ取得方法を提供する。 Furthermore, the present invention is a print data acquisition method that is applied to a computer that outputs print data to be printed by a printer according to the present invention, and that acquires print data. When there is a print instruction, the spool data format of the document data instructed to be printed is output to A spool data format specifying step for specifying a desired spool data format in the printer driver of the printer, a spool data acquiring step for acquiring spool data in the specified spool data format and spool data attribute information from the spooler, and There is provided a print data acquisition method characterized by executing a text extraction step for extracting text data from acquired spool data, and a transmission control step for controlling to transmit at least text data and attribute information.
 また、印刷データをプリンタへ出力する情報処理装置と、印刷データを管理する印刷データ管理サーバとを有する印刷データ管理システムであって、情報処理装置は、印刷指示があると印刷指示された文書データのスプールデータ形式を、出力先のプリンタのプリンタドライバ内で所望のスプールデータ形式で指定するスプールデータ形式指定手段と、指定されたスプールデータ形式によるスプールデータとスプールデータの属性情報とを、スプーラから取得するスプールデータ取得手段と、取得したスプールデータからテキストデータを抽出するテキスト抽出手段と、テキストデータと、属性情報とを少なくとも送信するよう制御する送信制御手段とを有し、印刷データ管理サーバは、印刷データと、テキストデータと、属性情報を受信する受信手段と、印刷データと、テキストデータと、属性情報とを記憶する印刷データ記憶手段と、を備える印刷データ管理システムを提供する。 A print data management system having an information processing apparatus that outputs print data to a printer and a print data management server that manages the print data. Spool data format specifying means for specifying the desired spool data format in the printer driver of the output destination printer, spool data in the specified spool data format, and attribute information of the spool data from the spooler. A print data management server having spool data acquisition means for acquiring, text extraction means for extracting text data from the acquired spool data, and transmission control means for controlling to transmit at least text data and attribute information; Receive print data, text data and attribute information Receiving means that provides a print data, and text data, a print data storing means for storing the attribute information, the print data management system comprising a.
 本発明によれば、アプリケーションで印刷指示がなされるごとにスプーラからスプールデータを取得する構成であるため、ユーザが特別な操作を行うことなく印刷データを収集することができる。また、印刷データの印刷日時やユーザ名などの属性情報を、印刷データに関連付けて記憶することができるため、誰がいつ行った印刷処理なのか、後日検証することができる。 According to the present invention, since the spool data is acquired from the spooler every time a print instruction is issued by the application, the print data can be collected without any special operation by the user. In addition, since attribute information such as the print date and time of the print data and the user name can be stored in association with the print data, it is possible to verify at a later date who performed the print processing.
 また、本印刷データ取得プログラムは、プリンタの機種に依存することなく、どのプリンタへの印刷処理であっても確実に印刷データを取得することができる。そして取得したスプールデータを所定のデータ形式へ変換し、またテキスト情報を抽出したうえで、所定のデータ形式による印刷データ及びテキスト情報を印刷データ管理サーバへ送信するため、サーバで文字化けなどを起こすことのない、正確な印刷データを管理サーバで取得することができる。 In addition, this print data acquisition program can reliably acquire print data regardless of the printer model, regardless of the printer processing. The acquired spool data is converted into a predetermined data format, text information is extracted, and the print data and text information in the predetermined data format are transmitted to the print data management server. The correct print data can be acquired by the management server.
 さらに、本発明によれば、アプリケーションを起動したときに印刷取得プログラムも起動する仕組みとしているため、印刷取得プログラムをインストールしてすぐに印刷データを取得することができる。 Furthermore, according to the present invention, since the print acquisition program is also started when the application is started, the print data can be acquired immediately after installing the print acquisition program.
図1は本発明における印刷データ管理システムの構成の一例を示す図面である。FIG. 1 is a diagram showing an example of the configuration of a print data management system according to the present invention. 図2は、本発明にかかるクライアントPC120のハードウェア構成図の一例を示す図面である。FIG. 2 is a diagram showing an example of a hardware configuration diagram of the client PC 120 according to the present invention. 図3は、本発明における印刷データ取得プログラムの機能ブロック図である。FIG. 3 is a functional block diagram of the print data acquisition program according to the present invention. 図4は、本発明の第一の実施の形態における印刷処理におけるクライアントPCの機能ブロック図の一例を示す図面である。FIG. 4 is a diagram showing an example of a functional block diagram of the client PC in the printing process according to the first embodiment of the present invention. 図5は、本発明の第一の実施の形態による印刷処理における印刷データ取得方法を説明するフローチャートの一例である。FIG. 5 is an example of a flowchart for explaining a print data acquisition method in print processing according to the first embodiment of the present invention. 図6は、本発明における印刷データの属性情報の一例を示す図である。FIG. 6 is a diagram showing an example of print data attribute information in the present invention. 図7は、本発明における印刷データ管理サーバの機能ブロックの一例を示す図である。FIG. 7 is a diagram showing an example of functional blocks of the print data management server in the present invention. 図8は、本発明の第二の実施の形態での印刷処理におけるクライアントPCの機能ブロック図の一例を示す図面である。FIG. 8 is a diagram illustrating an example of a functional block diagram of the client PC in the printing process according to the second embodiment of the present invention. 図9は、本発明の第二の実施の形態により印刷処理における印刷データ取得方法を説明するフローチャートの一例である。FIG. 9 is an example of a flowchart for explaining a print data acquisition method in print processing according to the second embodiment of the present invention.
 以下、本発明を実施するための形態について、図面を参照しながら説明する。図1は、本発明における印刷データ管理システムの構成の一例を示す図面である。印刷データ管理システムは、例えば、印刷データ管理サーバ110と、クライアントPC120a、120b、プリンタA130a、プリンタB130bそれぞれは、ネットワーク100で接続されている。ネットワーク100は、有線又は無線を問わず、インターネット、LAN、WANなど、どのようなネットワーク形態であってもよい。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing an example of the configuration of a print data management system according to the present invention. In the print data management system, for example, the print data management server 110 and the client PCs 120a and 120b, the printer A 130a, and the printer B 130b are connected via the network 100, for example. The network 100 may be any network form such as the Internet, a LAN, and a WAN regardless of wired or wireless.
 印刷データ管理サーバ110は、各クライアントPCで印刷処理された文書である印刷データを各クライアントPCから受信し、保存、管理するサーバである。クライアントPCから送信された印刷データ、印刷データに含まれるテキスト情報及びその属性情報は、それぞれ関連付けてデータベース等の記憶部へ保存される。なお、印刷データ管理サーバ110は、一つのサーバ装置である必要はなく、複数のサーバに分散して構成されていてもよい。 The print data management server 110 is a server that receives, saves, and manages print data, which is a document printed by each client PC, from each client PC. Print data transmitted from the client PC, text information included in the print data, and attribute information thereof are stored in a storage unit such as a database in association with each other. The print data management server 110 does not have to be a single server device, and may be configured by being distributed to a plurality of servers.
 クライアントPC120a、120bは、ユーザの操作を受付け、Windows(登録商標)などのオペレーティングシステム上で動作する文書作成ソフトや表作成ソフトなどのアプリケーションを用いて様々な文書データを作成し、追加・修正することができるPC(パーソナルコンピュータ)であり、情報処理装置である。例えば、クライアントPC120aや120bには、プリンタA130a、プリンタB130bで、印刷するためのプリンタプログラムがインストールされており、ユーザがアプリケーション上で操作し、プリンタを選択することで、選択されたプリンタに対応するプリンタプログラムが起動し、プリンタA130aまたはプリンタB130bで、ユーザが希望する文書データを印刷することができる。また、クライアントPC120a、120bには、印刷データ取得プログラムがインストールされており、印刷データ取得プログラムは、印刷データがどのプリンタで印刷される場合であっても、印刷処理される途中で印刷データを取得し、取得した印刷データを印刷データ管理サーバ110へと送る。なお、クライアントPC(情報処理装置)は、二台に限らず、複数台がネットワークに接続される。 The client PCs 120a and 120b accept user operations, create various document data using applications such as document creation software and table creation software that operate on an operating system such as Windows (registered trademark), and add and modify the data. PC (personal computer) that can be an information processing apparatus. For example, printer programs for printing with the printer A 130a and the printer B 130b are installed in the client PCs 120a and 120b, and the user operates on the application and selects the printer, so that the corresponding printer is selected. The printer program is activated, and the printer A 130a or the printer B 130b can print the document data desired by the user. In addition, a print data acquisition program is installed in the client PCs 120a and 120b, and the print data acquisition program acquires print data in the middle of print processing regardless of which printer the print data is printed on. The acquired print data is sent to the print data management server 110. The number of client PCs (information processing devices) is not limited to two, and a plurality of client PCs are connected to the network.
 プリンタA130a、プリンタB130bは、クライアントPCにおいて印刷指示を受けた文書データを印刷データとして受信し、印刷出力する。なお、プリンタとしては、プリンタ単体の機能を有する装置のみならず、コピー機や、FAX装置などの複数の機能を有する装置であってもよい。 The printer A 130a and the printer B 130b receive the document data for which a print instruction has been received in the client PC as print data, and print it out. The printer may be an apparatus having a plurality of functions such as a copier and a FAX apparatus as well as an apparatus having a function of a single printer.
 図2は、本発明にかかるクライアントPC120のハードウェア構成図の一例を示す図面である。図2において、クライアントPC120を構成する情報処理装置は、それぞれバスで相互に接続されているCPU211、ROM212、RAM213、外部インターフェース214、通信インターフェース215、入出力インターフェース216、記憶装置217を有する。CPU211は、アプリケーション230、オペレーティングシステム(OS)240、プリンタプログラム250、印刷データ取得プログラム260を記憶装置217から読み出し、実行する。 FIG. 2 is a diagram showing an example of a hardware configuration diagram of the client PC 120 according to the present invention. In FIG. 2, the information processing apparatus configuring the client PC 120 includes a CPU 211, a ROM 212, a RAM 213, an external interface 214, a communication interface 215, an input / output interface 216, and a storage device 217 that are connected to each other via a bus. The CPU 211 reads the application 230, operating system (OS) 240, printer program 250, and print data acquisition program 260 from the storage device 217 and executes them.
 ROM212は、例えばBIOSやスタートプログラムが記憶されており、RAM213は、作業メモリとして必要なデータを一時保管するメモリとして、CPUが各処理を実行する場合に動作する。 The ROM 212 stores, for example, a BIOS and a start program, and the RAM 213 operates as a memory that temporarily stores data necessary as a work memory when the CPU executes each process.
 外部インターフェース214は、USBケーブルや記憶媒体218を装着するためのインターフェースである。記憶媒体218は、例えば、USBメモリや光ディスクなどの記録媒体である。通信インターフェース215は、LANカードやインターネットケーブルを接続するためのインターフェースであり、ネットワーク100を介してプリンタ130や印刷データ管理サーバ110と接続されている。CPU211からの指示により、印刷データをプリンタ130や印刷データ管理サーバ110へ送信する。 The external interface 214 is an interface for mounting a USB cable or a storage medium 218. The storage medium 218 is a recording medium such as a USB memory or an optical disk. The communication interface 215 is an interface for connecting a LAN card or an Internet cable, and is connected to the printer 130 and the print data management server 110 via the network 100. In response to an instruction from the CPU 211, the print data is transmitted to the printer 130 and the print data management server 110.
 入出力インターフェース216は、マウス219、キーボード220、ディスプレイ221など、ユーザからの操作指示を受け付けたり、操作指示に基づく処理結果を出力したりするインターフェースである。なお、これらに限らず、タッチパネルや、スピーカ、マイクなどを接続してもよい。 The input / output interface 216 is an interface such as a mouse 219, a keyboard 220, and a display 221 that accepts an operation instruction from a user and outputs a processing result based on the operation instruction. Note that the present invention is not limited thereto, and a touch panel, a speaker, a microphone, and the like may be connected.
 記憶装置217は、ハードディスクやフラッシュメモリであり、アプリケーション230、オペレーティングシステム240、プリンタプログラム250、印刷データ取得プログラム260を記憶している。アプリケーション230は、文書作成ソフト、表計算ソフト、プレゼンテーション作成ソフトなどのソフトウェアプログラムである。オペレーティングシステム240は、OSとも言われ、Windows(登録商標)や、Linux(登録商標)などである。プリンタプログラム250は、文書データ等の電子的なデータをプリンタで印刷するためのプログラムであって、接続されているプリンタ各々のプリンタプログラムが記憶されている。印刷データ取得プログラム260は、本発明に係るプログラムであって、アプリケーションから印刷指示されたデータについてどのプリンタで印刷される場合であっても、スプールデータを取得して印刷データとテキスト情報、データの属性情報を取得するプログラムである。 The storage device 217 is a hard disk or flash memory, and stores an application 230, an operating system 240, a printer program 250, and a print data acquisition program 260. The application 230 is a software program such as document creation software, spreadsheet software, or presentation creation software. The operating system 240 is also called an OS, and is Windows (registered trademark), Linux (registered trademark), or the like. The printer program 250 is a program for printing electronic data such as document data with a printer, and stores the printer program of each connected printer. The print data acquisition program 260 is a program according to the present invention, which acquires spool data to obtain print data, text information, and data, regardless of which printer prints data instructed to be printed by the application. This program acquires attribute information.
 記憶媒体218としては、例えば、磁気ディスク、光ディスク、光磁気ディスク、もしくは半導体メモリなどのリムーバブルメディアがある。これらのリムーバブルメディアに印刷データ取得プログラムが記憶され、または図示されないサーバからダウンロードする態様で、印刷データ取得プログラムは配布され、記憶装置217に記憶され、CPU211で実行することで、各種の機能を実行させる。 Examples of the storage medium 218 include a removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory. The print data acquisition program is stored in these removable media or downloaded from a server (not shown). The print data acquisition program is distributed, stored in the storage device 217, and executed by the CPU 211 to execute various functions. Let
 図3は、本発明における印刷データ取得プログラムの機能ブロック図である。図3に示すように、印刷データ取得プログラム260は、スプールデータ形式指定部261、スプールデータ取得部262、テキスト抽出部263、スプールデータ変換部264、印刷データ送信制御部265、レジストリ書き込み部266、関数書換部267を有している。 FIG. 3 is a functional block diagram of the print data acquisition program according to the present invention. As shown in FIG. 3, the print data acquisition program 260 includes a spool data format designation unit 261, a spool data acquisition unit 262, a text extraction unit 263, a spool data conversion unit 264, a print data transmission control unit 265, a registry writing unit 266, A function rewriting unit 267 is provided.
 スプールデータ形式指定部261は、アプリケーションで作成されたデータについて、印刷指示があるとそのデータのスプールデータ形式を、所望のスプールデータ形式となるように指定された出力先のプリンタのプリンタドライバ内で指定する。つまり、個々のプリンタドライバが設定しているスプールデータ形式とは無関係に、強制的に印刷データ取得プログラムが所望するスプールデータ形式を指定する。本発明では、スプールデータ形式をEMFデータ形式として、指定された出力先のプリンタドライバ内で指定する。ここでは、EMFデータ形式をとしているが、EMFに限らず、プリンタの機種に依存しない、つまり、プリンタに処理を依存しないデータ形式であって指定されたプリンタドライバが処理できるデータ形式であればどんなスプールデータ形式でもよい。スプールデータ形式指定部261は、アプリケーションが印刷指示を受けると関数アドレスを書換えることによってどんなプリンタに印刷指示がなされた場合であっても必ずスプールデータ形式指定部261が呼び出される。また、スプールデータ形式指定部261は、EMFデータ形式をプリンタドライバ内で指定すると、それをGDIへ返す。スプールデータ形式指定部261は、EMFデータをプリンタドライバ内で設定する以外は、GDIとプリンタドライバとのやり取りを仲介する。なお、XPSスプールにも対応する場合、スプールデータ形式指定部261は、GDIでの印刷処理の場合にのみ、スプールデータ形式を指定するため、XPSスプールについては、何ら処理を行わない。 When there is a print instruction for the data created by the application, the spool data format designation unit 261 changes the spool data format of the data in the printer driver of the output destination printer designated to be the desired spool data format. specify. In other words, the print data acquisition program forcibly specifies the desired spool data format regardless of the spool data format set by each printer driver. In the present invention, the spool data format is designated as the EMF data format in the designated output destination printer driver. Here, the EMF data format is used. However, the EMF data format is not limited to the EMF, and the data format does not depend on the printer model, that is, the data format does not depend on the printer and can be processed by the designated printer driver. A spool data format may be used. When the application receives a print instruction, the spool data format specification unit 261 always calls the spool data format specification unit 261 regardless of what printer is instructed by rewriting the function address. Further, when the EMF data format is specified in the printer driver, the spool data format specifying unit 261 returns it to the GDI. The spool data format designation unit 261 mediates exchange between the GDI and the printer driver, except for setting EMF data in the printer driver. Note that when the XPS spool is also supported, the spool data format designating unit 261 designates the spool data format only in the case of GDI print processing, and therefore does not perform any processing on the XPS spool.
 スプールデータ取得部262は、指定されたスプールデータ形式によるスプールデータとスプールデータの属性情報とをスプーラから取得する。具体的には、本来、スプーラからプリントプロセッサへ送出されるスプールファイルを、スプールファイルと同時に送出されるスプールデータの属性情報とともに、スプールデータ取得部262が取得する。スプーラからプリントプロセッサにアクセスする関数アドレスをスプールデータ取得部ヘアクセスするように関数アドレスを書き換えることで、スプールデータ取得部262がスプールデータ及びスプールデータの属性情報を取得している。なお、スプールデータ取得部262は、スプールデータと属性情報を取得する以外は、プリントプロセッサとスプーラとのやり取りを仲介する。属性情報とは、印刷されるデータのファイル名やユーザ名、マシン名、印刷日時などを含む情報であって、スプーラからスプールデータとともに取得できる情報であって、XMLデータ形式などでメタファイルとして提供される。また、スプールデータ取得部262は、受信したスプールデータのスプールデータ形式を判別する。具体的には、指定したスプールデータ形式(例えば、EMFデータ)となっているか、判別する。EMFデータであるかどうかは、データフォーマットをチェックすることで判別する。また、XPSデータにも対応する場合、XPSデータで有るかどうかは、XPSデータとして読み込んでみて、データを開くことができるかどうかで判別する。 The spool data acquisition unit 262 acquires spool data in the designated spool data format and attribute information of the spool data from the spooler. Specifically, the spool data acquisition unit 262 acquires the spool file originally sent from the spooler to the print processor together with the attribute information of the spool data sent simultaneously with the spool file. The spool data acquisition unit 262 acquires the spool data and the attribute information of the spool data by rewriting the function address so that the function address for accessing the print processor from the spooler is accessed to the spool data acquisition unit. The spool data acquisition unit 262 mediates the exchange between the print processor and the spooler, except for acquiring spool data and attribute information. The attribute information is information including the file name, user name, machine name, printing date and time of the data to be printed, and is information that can be acquired from the spooler together with the spool data, and is provided as a metafile in XML data format or the like. Is done. Further, the spool data acquisition unit 262 determines the spool data format of the received spool data. Specifically, it is determined whether or not the specified spool data format (for example, EMF data) is used. Whether it is EMF data is determined by checking the data format. In the case of dealing with XPS data, whether the data is XPS data is determined by reading the data as XPS data and determining whether the data can be opened.
 テキスト抽出部263は、スプールデータ取得部262が取得したスプールデータから、テキスト情報を抽出する。テキスト抽出部263は、スプールデータに含まれるテキスト情報だけでなく、画像データを抽出してもよい。なお、スプールデータだけでなく、属性情報からテキスト情報を取り出すように構成してもよい。テキスト抽出部263は、スプールデータ取得部262が判別したスプールデータ形式に従い、EMFデータであれば、EMFデータからのテキストデータ抽出処理を行い、XPSデータであれば、XPSデータからのテキストデータ抽出処理を行う。 The text extraction unit 263 extracts text information from the spool data acquired by the spool data acquisition unit 262. The text extraction unit 263 may extract not only text information included in the spool data but also image data. The text information may be extracted not only from the spool data but also from the attribute information. In accordance with the spool data format determined by the spool data acquisition unit 262, the text extraction unit 263 performs text data extraction processing from EMF data if it is EMF data, and text data extraction processing from XPS data if it is XPS data. I do.
 スプールデータ変換部264は、スプールデータ取得部262が取得したスプールデータを所定のデータ形式に変換する。スプールデータは、印刷指示を受けたデータの印刷処理の途中で生成されるデータであるため、他の情報処理装置で、元の文書データを文字化けすることなく再現できない場合がある。このため、スプールデータ変換部264において、取得したスプールデータ(例えば、EMFデータ)を所定のデータ形式に変換して印刷データとする。所定のデータ形式とは、どの情報処理装置であっても再現可能なデータ形式、例えば、PDFやXPSである。なお、XPS系の印刷処理においては、スプールデータがXPSであるため、スプールデータを変換しない。 The spool data conversion unit 264 converts the spool data acquired by the spool data acquisition unit 262 into a predetermined data format. Since the spool data is data generated in the middle of the printing process of the data for which the print instruction has been received, the original document data may not be reproduced without being garbled by another information processing apparatus. Therefore, the spool data conversion unit 264 converts the acquired spool data (for example, EMF data) into a predetermined data format to obtain print data. The predetermined data format is a data format that can be reproduced by any information processing apparatus, for example, PDF or XPS. In XPS printing, spool data is not converted because XPS is spool data.
 印刷データ送信制御部265は、スプールデータ変換部264が所定のデータ形式に変換した印刷データがある場合は変換したデータと、テキスト抽出部263がスプールデータから抽出したテキストデータと、スプールデータ取得部262が取得した属性情報とを、通信インターフェース215が印刷データ管理サーバ110へとネットワーク100を介して送信するよう制御する。 The print data transmission control unit 265, if there is print data converted into a predetermined data format by the spool data conversion unit 264, converted data, text data extracted from the spool data by the text extraction unit 263, and a spool data acquisition unit The communication interface 215 controls to transmit the attribute information acquired by the H.262 to the print data management server 110 via the network 100.
 レジストリ書き込み部266は、アプリケーション起動時にロードされるモジュールに関するレジストリに関数書換部267の名前を書き込む。アプリケーション起動時にロードされるモジュールのレジストリに関数書換部の名前を書き込むことで、アプリケーション起動時に確実に関数書換部267が起動して、所定の関数アドレスを書き換え、スプーラやGDIがスプールデータ形式指定部261やスプールデータ取得部262にアクセスする。レジストリ書き込み部266は、例えば、Windows(登録商標)がOSの場合、APPInit_DLLsレジストリに、関数書換部267のプログラムモジュール名(DLL名)を書き込む。Windows(登録商標)では、APPInit_DLLsレジストリに登録すると、アプリケーション起動時に強制的にAPPInit_DLLsレジストリに登録されているモジュールをロードする仕様となっているためである。印刷データ取得プログラム260が情報処理装置にインストールされる時に、アプリケーション起動時にロードされるモジュールに関するレジストリに、関数書換部267のプログラムモジュール名を書き込む。モジュール名を書き込むだけのシンプルな処理なので、プログラムインストール後、すぐに印刷データを管理サーバで取得することができる。 The registry writing unit 266 writes the name of the function rewriting unit 267 in the registry related to the module loaded when the application is activated. By writing the name of the function rewriting unit in the registry of the module loaded at the time of starting the application, the function rewriting unit 267 is surely started at the time of starting the application, and a predetermined function address is rewritten. 261 and the spool data acquisition unit 262 are accessed. For example, when Windows (registered trademark) is an OS, the registry writing unit 266 writes the program module name (DLL name) of the function rewriting unit 267 in the APPInit_DLLs registry. This is because, in Windows (registered trademark), when it is registered in the APPInit_DLLs registry, a module registered in the APPInit_DLLs registry is forcibly loaded when the application is started. When the print data acquisition program 260 is installed in the information processing apparatus, the program module name of the function rewriting unit 267 is written in the registry relating to the module loaded when the application is activated. Since it is a simple process that simply writes the module name, the print data can be acquired by the management server immediately after the program is installed.
 関数書換部267は、アプリケーション起動時に印刷に関する所定の関数アドレスを書き換える。関数書換部267のプログラムモジュール名がアプリケーション起動時にロードされるレジストリにレジストリ書き込み部266によって書き込まれているため、アプリケーション起動時に、そのレジストリがロードされることによって、関数書換のプログラムが起動し、印刷に関する所定の関数アドレスを書き換える。具体的には関数書換部267は、GDIがプリンタドライバをアクセスするための関数アドレスを、スプールデータ形式指定部261を呼び出すように関数アドレスを書き換え、また、スプーラがプリントプロセッサを呼び出すための関数アドレスを、印刷データ取得部262を呼び出すように関数アドレスを書き換える。こうすることで、印刷データ取得部は、プリントプロセッサへ送出されるスプールデータ及び属性情報をもれなく取得することが可能となる。 The function rewriting unit 267 rewrites a predetermined function address related to printing when the application is activated. Since the registry writing unit 266 writes the program module name of the function rewriting unit 267 in the registry loaded when the application is started, the function rewriting program is started and printed by loading the registry when the application is started. Rewrite the predetermined function address for. Specifically, the function rewriting unit 267 rewrites the function address for the GDI to access the printer driver so as to call the spool data format specifying unit 261, and the function address for the spooler to call the print processor. The function address is rewritten so as to call the print data acquisition unit 262. In this way, the print data acquisition unit can acquire all the spool data and attribute information sent to the print processor.
 (第一の実施の形態)
 第一の実施の形態においては、クライアントPCにGDI系のプリンタドライバのみがインストールされている場合を説明する。GDI系のプリンタドライバの場合、EMF又はRAWスプールでスプールを行う。
 図4は、本発明の第一の実施の形態における印刷処理におけるクライアントPCの機能ブロック図の一例を示す図面である。クライアントPC120は、Windows(登録商標)系のオペレーティングシステム(OS)240上で動作する、アプリケーション230、プリンタプログラム250、印刷データ取得プログラム260を有している。なお、ここでは、プリンタプログラムは、一つしか図示されていないが、複数のプリンタプログラムがインストールされている場合は、クライアントPC120は、複数のプリンタプログラムを有することとなる。
(First embodiment)
In the first embodiment, a case will be described in which only a GDI printer driver is installed in a client PC. In the case of a GDI printer driver, spooling is performed using an EMF or RAW spool.
FIG. 4 is a diagram showing an example of a functional block diagram of the client PC in the printing process according to the first embodiment of the present invention. The client PC 120 includes an application 230, a printer program 250, and a print data acquisition program 260 that operate on a Windows (registered trademark) operating system (OS) 240. Although only one printer program is shown here, when a plurality of printer programs are installed, the client PC 120 has a plurality of printer programs.
 アプリケーション230は、例えば文書作成ソフトや表作成ソフト、画像作成ソフト、プレゼンテーションソフト、メールソフトなどであって、文字や画像などを有する文書データを作成するプログラムである。ユーザがアプリケーション230に対して、文書データの印刷指示を行うことで、印刷データが生成される。 The application 230 is, for example, a document creation software, a table creation software, an image creation software, a presentation software, an email software, etc., and is a program that creates document data having characters, images, and the like. When the user instructs the application 230 to print document data, print data is generated.
 オペレーティングシステム(OS)は、GDI(Graphics Device Interface)241、スプーラ242、プリントプロバイダ243、ランゲージモニタ244、ポートモニタ245を有する。本発明の印刷データ取得プログラムが情報処理装置にインストールされると、アプリケーションが起動したときに印刷に関する所定の関数アドレスが書き換えられて、OSは、印刷データ取得プログラムのスプールデータ形式指定部261やスプールデータ取得部262にアクセスすることとなる。従って、GDI241は、ユーザからアプリケーションが印刷指示を受付けると、アプリケーション230に呼び出され、書き換えられた関数アドレスに従ってスプールデータ形式指定部261へアクセスする。スプールデータ形式指定部261は、プリンタドライバ251内のスプールデータ形式を強制的に指定してGDI241へ指定したスプールデータ形式を返すので、GDI241は、指定されたスプールデータ形式でスプールデータを生成する。 The operating system (OS) includes a GDI (Graphics Device Interface) 241, a spooler 242, a print provider 243, a language monitor 244, and a port monitor 245. When the print data acquisition program of the present invention is installed in the information processing apparatus, a predetermined function address related to printing is rewritten when the application is started, and the OS can execute the spool data format designation unit 261 of the print data acquisition program or the spool. The data acquisition unit 262 is accessed. Accordingly, when the application receives a print instruction from the user, the GDI 241 is called by the application 230 and accesses the spool data format designation unit 261 according to the rewritten function address. The spool data format designation unit 261 forcibly designates the spool data format in the printer driver 251 and returns the designated spool data format to the GDI 241. Therefore, the GDI 241 generates spool data in the designated spool data format.
 ここで、スプールデータの形式とは、文書データを印刷する場合のスプーリングによって定められるスプールデータ形式であって、GDIを用いたスプーリングとしては、たとえば、RAWスプーリングと、EMFスプーリングがある。RAWスプーリングとは、プリンタに最適なデータに変換してスプールする方式で、個々のプリンタ機種に依存する形式だが、アプリケーションを印刷処理から解放するまでに時間がかかる方法である。EMFスプーリングとは、プリンタの機種に依存しないEMFデータでスプールし、その後プリンタ固有の印刷データを生成して印刷する方式であって、アプリケーションを印刷処理から早期に解放することができる方法である。 Here, the spool data format is a spool data format determined by spooling when printing document data, and examples of spooling using GDI include RAW spooling and EMF spooling. . RAW spooling is a method of converting data into spool data that is optimal for the printer and spooling the data. Although it depends on the individual printer model, it takes a long time to release the application from the printing process. EMF spooling is a method of spooling with EMF data that does not depend on the printer model, and then generating and printing print data unique to the printer, and can release an application from print processing at an early stage. .
 本発明においては、レジストリ書き込み部266が、印刷データ取得プログラムのインストール時にアプリケーション起動時にロードされるモジュールに関するレジストリに関数書換部267の名前を書き込んでいる。そのため、アプリケーション起動時に、関数書換部267がGDI241がプリンタドライバ251を呼び出す関数アドレスをすべてスプールデータ形式指定部261を呼び出すように書き換えている。従って、必ずスプールデータ形式指定部261が呼び出され、スプールデータ形式を例えば、EMFデータをプリンタドライバ内に指定してGDI241に返すため、どのプリンタで印刷する場合であっても、スプールデータ形式は、スプールデータ形式指定部261が指定したスプールデータ形式となる。GDI241は、指定されたスプールデータ形式(例えば、EMFデータ)でスプールデータを生成してスプーラ242へ送出する。 In the present invention, the registry writing unit 266 writes the name of the function rewriting unit 267 in the registry related to the module loaded when the application is activated when the print data acquisition program is installed. Therefore, when the application is activated, the function rewriting unit 267 rewrites all the function addresses that the GDI 241 calls the printer driver 251 to call the spool data format specifying unit 261. Accordingly, the spool data format designation unit 261 is always called, and the spool data format is designated in the printer driver and returned to the GDI 241, for example, so that the spool data format is the same regardless of which printer is used for printing. The spool data format specified by the spool data format specifying unit 261 is used. The GDI 241 generates spool data in a designated spool data format (for example, EMF data) and sends it to the spooler 242.
 スプーラ242は、文書データのスプールデータがすべてスプールされると、指定されたプリンタのプリントプロセッサへデスプールすることを伝える。このとき、どのプリンタのプリントプロセッサでスプールするときであっても、関数書換部267が、アプリケーション起動時に、プリントプロセッサへアクセスする関数アドレスをスプールデータ取得部262へアクセスするように書き換えているため、スプーラ242は、スプールデータ取得部262へ常にアクセスすることになる。そして、スプーラ242が指定されたプリンタのプリントプロセッサへ送出したスプールデータと属性情報とを、スプールデータ取得部262が取得し、その後、スプールデータ取得部262は、指定されたプリンタのプリントプロセッサへスプールデータ及び属性情報を送出する。 When the spool data of the document data is all spooled, the spooler 242 notifies the print processor of the designated printer that it is despooled. At this time, since the function rewriting unit 267 rewrites the function address for accessing the print processor so as to access the spool data acquisition unit 262 when the application is started, even when spooling is performed by the print processor of any printer. The spooler 242 always accesses the spool data acquisition unit 262. The spool data acquisition unit 262 acquires spool data and attribute information sent to the print processor of the printer designated by the spooler 242, and then the spool data acquisition unit 262 spools the spool data to the print processor of the designated printer. Send data and attribute information.
 プリントプロバイダ243は、印刷データの出力先を切り替える処理を行う。例えば、指定されているプリンタがローカルプリンタである場合は、ローカルプリンタへ出力するよう設定し、ネットワークで共有されたプリンタである場合は、ネットワーク共有プリンタへ出力するよう設定する。このプリントプロバイダ243の処理は、スプーラ242からスプールデータが送出され、プリントプロセッサ252でスプールデータが再生され、GDI241で再生されたスプールデータが描画され、プリンタドライバ251でプリンタ機種依存のデータ形式(RAWデータ)に変換処理されたあとに行われる。 The print provider 243 performs processing for switching the output destination of the print data. For example, if the designated printer is a local printer, it is set to output to the local printer, and if it is a printer shared on the network, it is set to output to the network shared printer. In the processing of the print provider 243, spool data is sent from the spooler 242, spool data is reproduced by the print processor 252, spool data reproduced by the GDI 241 is drawn, and the printer driver 251 uses a printer model-dependent data format (RAW This is done after being converted to (data).
 ランゲージモニタ244は、プリンタとの間でプリントステータスデータを送受信する。また必要があれば、プリンタジョブのコマンド制御などの処理を印刷データに対して行う。ポートモニタ245は、プリンタポートの種類(USB、TCP/IPなど)に応じて、印刷データに対し、出力処理を行う。 The language monitor 244 transmits / receives print status data to / from the printer. If necessary, processing such as printer job command control is performed on the print data. The port monitor 245 performs output processing for print data according to the type of printer port (USB, TCP / IP, etc.).
 スプールファイル300は、GDI241によって生成されるデータであって、スプールデータと属性情報データで構成される。スプールデータは、印刷対象の文書データのデータであり、属性情報データは、印刷される文書データに関する属性情報、例えば、印刷日時や、文書データのファイル名、ユーザ名などが含まれる。なお、本実施の形態においては、スプールデータ形式指定部261が必ず所定のスプールデータ形式(例えば、EMFデータ)を指定するため、どのプリンタであっても、スプールデータ形式指定部261が指定したスプールデータ形式でスプールされる。 The spool file 300 is data generated by the GDI 241 and includes spool data and attribute information data. The spool data is data of document data to be printed, and the attribute information data includes attribute information related to the document data to be printed, for example, the printing date and time, the file name of the document data, and the user name. In this embodiment, since the spool data format designation unit 261 always designates a predetermined spool data format (for example, EMF data), the spool designated by the spool data format designation unit 261 is used for any printer. Spooled in data format.
 印刷データ取得プログラム260は、スプールデータ形式指定部261、スプールデータ取得部262、テキスト抽出部263、スプールデータ変換部264、印刷データ送信制御部265を有する。印刷処理の理解を容易にするため、レジストリ書込み部266と関数書換部267を図示していないが、これらも、クライアントPC260に印刷データ取得プログラム260の一部としてインストールされている。印刷データ取得プログラム260がインストールされた時に、レジストリ書き込み部266が、アプリケーション起動時にロードされるモジュールに関するレジストリに、関数書換部267の名前を書き込んでいる。スプールデータ形式指定部261は、アプリケーション起動時に関数書換部267が、所定の印刷に関する関数アドレスを書き換えているため、GDI241は、スプールデータ形式指定部261にアクセスする。スプールデータ形式指定部261は、GDI241がアクセスするはずであった指定されたプリンタのプリンタドライバ内にあるスプールデータ形式を指定するためのビットを、所定のスプールデータ形式を指定するようにして、GDI241には、指定したスプールデータ形式を返す。スプールデータ形式指定部261は、プリンタドライバ内でスプールデータ形式を強制的に指定する。また、GDI241とプリンタドライバ251の間で他の処理がある場合は、スプールデータ形式指定部261は、仲介を行う。 The print data acquisition program 260 includes a spool data format designation unit 261, a spool data acquisition unit 262, a text extraction unit 263, a spool data conversion unit 264, and a print data transmission control unit 265. In order to facilitate understanding of the printing process, the registry writing unit 266 and the function rewriting unit 267 are not shown, but these are also installed in the client PC 260 as a part of the print data acquisition program 260. When the print data acquisition program 260 is installed, the registry writing unit 266 writes the name of the function rewriting unit 267 in the registry related to the module loaded when the application is activated. The spool data format designation unit 261 accesses the spool data format designation unit 261 because the function rewriting unit 267 rewrites a function address related to predetermined printing when the application is activated. The spool data format designating unit 261 designates a bit for designating a spool data format in the printer driver of the designated printer that the GDI 241 should have accessed to designate a predetermined spool data format, so that the GDI 241 Returns the specified spool data format. The spool data format designation unit 261 forcibly designates the spool data format within the printer driver. When there is other processing between the GDI 241 and the printer driver 251, the spool data format designation unit 261 performs mediation.
 スプールデータ取得部262は、スプーラ242が送出したスプールファイル300を取得する。アプリケーション起動時に関数書換部267によってスプーラ242がプリントプロセッサ252へスプールファイルを送出するときの関数アドレスが書き換えられているため、どのプリンタが指定されたとしても、スプーラ242は、スプールファイル300を送出するために、スプールデータ取得部262へアクセスすることとなる。スプールデータ取得部262は、スプールファイル300に含まれているスプールデータと属性情報とを取得する。スプールデータは、所定のスプールデータ形式で表された文書データである。属性情報は、例えば、印刷日時、印刷される文書データのファイル名、印刷を行ったユーザ名など、印刷を行う文書データに関する情報である。スプールデータ取得部262は、スプーラ242から送出されるスプールファイル300を取得する以外は、スプーラ242とプリントプロセッサ252の間で他の処理がある場合は、仲介のみを行う。スプールデータ取得部262は、取得したスプールデータのデータ形式を判別する。具体的には、EMFのデータフォーマットとなっているかどうか、判別を行う。EMFデータであることが確認されると、スプールデータ取得部262は、取得したスプールデータ(EMFデータ)及び属性情報を、テキスト抽出部263へ送出する。 The spool data acquisition unit 262 acquires the spool file 300 sent from the spooler 242. Since the function rewriting unit 267 rewrites the function address when the spooler 242 sends the spool file to the print processor 252 when the application is activated, the spooler 242 sends the spool file 300 regardless of which printer is specified. Therefore, the spool data acquisition unit 262 is accessed. The spool data acquisition unit 262 acquires spool data and attribute information included in the spool file 300. The spool data is document data expressed in a predetermined spool data format. The attribute information is information relating to document data to be printed, such as the printing date and time, the file name of the document data to be printed, and the name of the user who performed printing. The spool data acquisition unit 262 performs only mediation when there is other processing between the spooler 242 and the print processor 252 except for acquiring the spool file 300 sent from the spooler 242. The spool data acquisition unit 262 determines the data format of the acquired spool data. Specifically, it is determined whether the data format is EMF. When it is confirmed that the data is EMF data, the spool data acquisition unit 262 sends the acquired spool data (EMF data) and attribute information to the text extraction unit 263.
 テキスト抽出部263は、スプールデータ取得部262が取得したスプールデータからテキストデータを抽出する。テキスト抽出部263は、テキスト情報だけでなく、画像データなどもあわせて抽出してもよい。EMFデータを生成した装置と同じ装置でテキストデータを抽出するため、文字化けなどの問題を生じることなく、確実にテキストデータを抽出できる。 The text extraction unit 263 extracts text data from the spool data acquired by the spool data acquisition unit 262. The text extraction unit 263 may extract not only text information but also image data and the like. Since the text data is extracted by the same device as the device that generated the EMF data, the text data can be reliably extracted without causing problems such as garbled characters.
 スプールデータ変換部264は、スプールデータ取得部262が取得したスプールデータを所定のデータ形式に変換する。所定のデータ形式とは例えば、PDFデータやXPSデータであるが、どの情報処理装置でも、文字化けやエラーが生じないデータ形式であれば、どのようなデータ形式でもよい。スプールデータをこうしたデータ形式に変換してから、印刷データ管理サーバへ送ることで、印刷された文書データの内容及び態様を確実に取得することができる。 The spool data conversion unit 264 converts the spool data acquired by the spool data acquisition unit 262 into a predetermined data format. The predetermined data format is, for example, PDF data or XPS data, but any data format may be used as long as it does not cause garbled characters or errors in any information processing apparatus. By converting the spool data into such a data format and then sending it to the print data management server, the contents and mode of the printed document data can be reliably acquired.
 印刷データ送信制御部265は、印刷データ取得部262が取得した属性情報と、テキスト抽出部263が抽出したテキスト情報と、スプールデータ変換部が変換した所定のデータ形式による印刷データとを印刷データ管理サーバへとネットワークを介して送信するよう制御する。 The print data transmission control unit 265 performs print data management on attribute information acquired by the print data acquisition unit 262, text information extracted by the text extraction unit 263, and print data in a predetermined data format converted by the spool data conversion unit. Control transmission to the server via the network.
 プリンタプログラム250は、プリンタドライバ251とプリントプロセッサ252を有する。プリンタドライバ251は、印刷データ形式の設定情報を記憶し、プリンタ固有の印刷データを生成する。プリントプロセッサ252は、スプーラ242から送出された印刷データ(本実施の形態ではEMFデータ)を再生し、たとえば印刷文書のページごとの集約・製本等の編集処理等を行う。 The printer program 250 includes a printer driver 251 and a print processor 252. The printer driver 251 stores print data format setting information, and generates printer-specific print data. The print processor 252 reproduces the print data (EMF data in the present embodiment) sent from the spooler 242 and performs, for example, editing processing such as aggregation and bookbinding for each page of the print document.
 図5は、本発明の第一の実施の形態による印刷処理における印刷データ取得方法を説明するフローチャートの一例である。ユーザが、文書作成ソフトや画像作成ソフトなどのアプリケーションを選択すると、選択されたアプリケーションがクライアントPCのOS上で起動する(ステップS501)。 FIG. 5 is an example of a flowchart for explaining a print data acquisition method in print processing according to the first embodiment of the present invention. When the user selects an application such as document creation software or image creation software, the selected application is activated on the OS of the client PC (step S501).
 アプリケーションが起動すると同時に関数書換部267が起動し、所定の関数アドレスを書き換える(ステップS502)。印刷データ取得プログラムがクライアントPCにインストールされたときに、レジストリ書き込み部266は、関数書換部267が、アプリケーションが起動すると同時に起動するように、アプリケーション起動時にロードされるモジュールのレジストリに関数書換部267のモジュール名を書き込んでいるためである。具体的には、関数書換部267のモジュール名は、APPInit_DLLsレジストリにレジストリ書き込み部266によって、印刷データ取得プログラムインストール時に書き込まれる。所定の関数アドレスとは、1つは、GDI241がスプールデータ形式を問い合わせるためにプリンタドライバ251を呼び出す処理に関する関数アドレスであり、例えば、LoadLibrary() APIやDrvEnableDriver()APIといった関数の関数アドレスをプリンタドライバ251からスプールデータ形式指定部261へと書き換える。もう1つは、スプーラ242がスプールファイル300をプリントプロセッサ252へ送出するために呼び出す処理に関する関数アドレスであり、例えば、OpenPrintProcessor() APIやPrintDocumentOnPrintProcessor() API、 ClosePrintProcessor() API、ControlPrintProcessor() APIといった関数の関数アドレスをプリントプロセッサ252からスプールデータ取得部262へと書き換える。 At the same time when the application is activated, the function rewriting unit 267 is activated and rewrites a predetermined function address (step S502). When the print data acquisition program is installed in the client PC, the registry writing unit 266 stores the function rewriting unit 267 in the registry of the module loaded when the application is activated so that the function rewriting unit 267 is activated at the same time as the application is activated. This is because the module name is written. Specifically, the module name of the function rewriting unit 267 is written in the APPInit_DLLs registry by the registry writing unit 266 when the print data acquisition program is installed. One of the predetermined function addresses is a function address related to a process in which the GDI 241 calls the printer driver 251 in order to inquire about the spool data format. For example, the function address of a function such as LoadLibrary () API or DrvEnableDriver () API is used as the printer address. Rewriting from the driver 251 to the spool data format designation unit 261. The other is a function address related to processing that the spooler 242 calls to send the spool file 300 to the print processor 252. For example, OpenPrintProcessor () API, PrintDocumentOnPrintProcessor () API, ClosePrintProcessor () API, ControlPrintProcessor () API, etc. The function address of the function is rewritten from the print processor 252 to the spool data acquisition unit 262.
 次に、アプリケーションがユーザからマウスやキーボード等により印刷指示を受ける(ステップS503)。例えば、ユーザがアプリケーションのメニューから「印刷」を選択し、印刷するプリンタや枚数、出力用紙サイズなどを選択して印刷指示を実行する。次に、アプリケーションが印刷指示を受けるとGDI241は印刷指示対象のプリンタドライバへアクセスするために、レジストリを参照する(ステップS504)。GDI241は、指定されたプリンタドライバを使用するために、スプールデータ形式指定部261を呼び出す(ステップS505)。前述したとおり、関数書換部267がGDI241からプリンタドライバ251へアクセスするための関数アドレス(たとえば、LoadLibrary() APIやDrvEnableDriver()API)をすべてスプールデータ形式指定部261へアクセスするように書き換えているため、どのプリンタドライバを呼び出す場合であってもすべてスプールデータ形式指定部261が呼び出される。 Next, the application receives a print instruction from the user using a mouse, a keyboard, or the like (step S503). For example, the user selects “print” from the application menu, selects a printer to print, the number of sheets, the output paper size, and the like, and executes a print instruction. Next, when the application receives a print instruction, the GDI 241 refers to the registry in order to access the printer driver that is the print instruction target (step S504). The GDI 241 calls the spool data format designation unit 261 to use the designated printer driver (step S505). As described above, all the function addresses (for example, LoadLibrary () API and DrvEnableDriver () API) for the function rewriting unit 267 to access the printer driver 251 from the GDI 241 are rewritten to access the spool data format specifying unit 261. Therefore, regardless of which printer driver is called, the spool data format designation unit 261 is called.
 スプールデータ形式指定部261はプリンタドライバ251をよびだす(ステップS506)。GDI241からの、プリンタドライバの活性化の指令等は、スプールデータ形式指定部261を経由して、プリンタドライバ251へと伝えられる。また、スプールデータ形式指定部261は、プリンタドライバ251を呼び出してドライバインターフェースを取得し、GDI241へはスプールデータ形式指定部261の関数アドレスを返す。 The spool data format designation unit 261 calls the printer driver 251 (step S506). A printer driver activation command or the like from the GDI 241 is transmitted to the printer driver 251 via the spool data format designation unit 261. Further, the spool data format specifying unit 261 calls the printer driver 251 to acquire the driver interface, and returns the function address of the spool data format specifying unit 261 to the GDI 241.
 スプールデータ形式指定部261は、プリンタドライバ251にスプール形式指定ビットをEMFに設定しGDI241に返す(ステップS507)。ドライバインターフェースとしてGDI241に、スプールデータ形式指定部261の関数アドレスを返しているため、GDI241からのスプールデータ形式の問い合わせも、スプールデータ形式指定部261が呼び出される。スプールデータ形式指定部261は、スプールデータ形式の問い合わせ(具体的には、DrvEnablePDEV()関数)に対し、プリンタドライバ251を有効化するためにプリンタドライバ251にアクセスし、プリンタドライバ251内のスプールデータ形式を決定しているビットを所定のスプールデータ形式(たとえば、EMFデータ)となるよう、ビットを変更または保持して設定する。そして、スプールデータ形式指定部251は、プリンタドライバ内に設定したスプールデータ形式をGDI241に返す。 The spool data format designation unit 261 sets the spool format designation bit in the printer driver 251 to EMF and returns it to the GDI 241 (step S507). Since the function address of the spool data format designation unit 261 is returned to the GDI 241 as the driver interface, the spool data format designation unit 261 is also called for an inquiry about the spool data format from the GDI 241. In response to a spool data format inquiry (specifically, the DrvEnablePDEV () function), the spool data format specifying unit 261 accesses the printer driver 251 to enable the printer driver 251, and spool data in the printer driver 251. The bits whose format is determined are set by changing or holding the bits so as to be in a predetermined spool data format (for example, EMF data). Then, the spool data format designation unit 251 returns the spool data format set in the printer driver to the GDI 241.
 GDI241は、EMFデータのスプールファイルを生成し、スプーラ242へ送出する(ステップS508)。GDI241は、所定のデータ形式としてたとえばEMFデータが指定されると、印刷指示された文書データのEMFデータを生成してスプーラ242へ送出する。 The GDI 241 generates a spool file of EMF data and sends it to the spooler 242 (step S508). When, for example, EMF data is designated as a predetermined data format, the GDI 241 generates EMF data of document data for which printing has been instructed and sends it to the spooler 242.
 スプーラ242は、EMFデータがスプールされると、スプールデータ取得部262を呼び出す(ステップS509)。どのプリンタが選択されている場合であっても、関数書換部267がOpenPrintProcessor() APIやPrintDocumentOnPrintProcessor() API、 ClosePrintProcessor() API、ControlPrintProcessor() APIといった関数の関数アドレスを書き換えているため、スプーラ242は、選択されたプリンタのプリントプロセッサではなく、スプールデータ取得部262を呼び出す。スプールデータ取得部252は、スプーラ242からプリントプロセッサ252へ送出されるスプールファイル300を取得する以外は、スプーラ242とプリントプロセッサ262との間の指令の授受の仲介を行う。 When the EMF data is spooled, the spooler 242 calls the spool data acquisition unit 262 (step S509). Regardless of which printer is selected, the function rewriting unit 267 rewrites the function addresses of the functions such as OpenPrintProcessor () API, PrintDocumentOnPrintProcessor () API, ClosePrintProcessor () API, and ControlPrintProcessor () API, so the spooler 242 Calls the spool data acquisition unit 262 instead of the print processor of the selected printer. The spool data acquisition unit 252 mediates exchange of commands between the spooler 242 and the print processor 262 except for acquiring the spool file 300 sent from the spooler 242 to the print processor 252.
 スプールデータ取得部252は、EMFデータ、属性情報を取得する(ステップS510)。スプールデータ取得部252は、スプーラ242から送出されたスプールファイル300に含まれているスプールデータであるEMFデータと印刷指示を受けた文書データの属性情報とを取得する。文書データは、EMFデータであるが、属性情報は、例えば、XML形式で記述されており、印刷される文書データのファイル名、印刷日時、ユーザ名、マシン名などが含まれている。 The spool data acquisition unit 252 acquires EMF data and attribute information (step S510). The spool data acquisition unit 252 acquires EMF data, which is spool data included in the spool file 300 sent from the spooler 242, and attribute information of document data that has received a print instruction. The document data is EMF data, but the attribute information is described in, for example, an XML format, and includes a file name of the document data to be printed, a printing date, a user name, a machine name, and the like.
 ここで、処理が通常の印刷処理と、印刷データを管理するための処理の2つに分かれる。まず、印刷データを管理するための処理を説明する。印刷データを管理するための処理として、スプールデータ取得部262は、スプールデータ形式の判別を行う(ステップS511)。取得したスプールデータは、スプールデータ形式指定部261によって指定されたデータ形式、つまりEMFデータになっているはずであるが、ここで判別処理を行う。具体的には、スプールデータ取得部262は、取得したスプールデータがEMFデータのデータフォーマットとなっているかどうか、チェックして判別する。EMFデータであることが確認されると、スプールデータ取得部262は、取得したスプールデータ(EMFデータ)及び属性情報を、テキスト抽出部263へ送出し、テキスト抽出部263は、スプールデータからテキストデータを抽出する(ステップS512)。なお、テキスト抽出部263は、テキストデータだけでなく、あわせて、画像データも抽出してもよい。 Here, the process is divided into a normal print process and a process for managing print data. First, processing for managing print data will be described. As a process for managing print data, the spool data acquisition unit 262 determines the spool data format (step S511). The acquired spool data should be in the data format designated by the spool data format designation unit 261, that is, EMF data. Specifically, the spool data acquisition unit 262 checks and determines whether or not the acquired spool data has the data format of EMF data. When it is confirmed that the data is EMF data, the spool data acquisition unit 262 sends the acquired spool data (EMF data) and attribute information to the text extraction unit 263, and the text extraction unit 263 extracts the text data from the spool data. Is extracted (step S512). Note that the text extraction unit 263 may extract not only text data but also image data.
 次に、スプールデータ変換部264は、スプールデータであるEMFデータのデータ形式を所定のデータ形式へ変換する(ステップS513)。所定のデータ形式とは、どの情報処理装置であっても、安定的に再現することができるデータ形式、例えば、PDFやXPSである。スプールデータであるEMFデータ形式の場合、フォント情報が含まれていないため、EMFデータを生成した装置以外の装置でEMFデータを開いた場合、文字化けしてしまい、文書データの内容が確認できない場合が生じるため、ここで、データ形式を変換する。変換されたデータは、文書データの印刷データとして印刷データ管理サーバへ送信され、保存される。 Next, the spool data conversion unit 264 converts the data format of EMF data, which is spool data, into a predetermined data format (step S513). The predetermined data format is a data format that can be stably reproduced by any information processing apparatus, for example, PDF or XPS. In the case of the EMF data format that is spool data, font information is not included, so if the EMF data is opened on a device other than the device that generated the EMF data, the characters are garbled and the contents of the document data cannot be confirmed. Therefore, the data format is converted here. The converted data is transmitted to the print data management server as document data print data and stored.
 そして、スプールデータ変換部264が変換した印刷データ、テキスト抽出部263が抽出したテキストデータ、スプールデータ取得部262が取得した属性情報は印刷データ送信制御部265へそれぞれ送信される(ステップS514)。ここで、スプールデータ取得部262は、取得したすべての属性情報ではなく、所定の項目のみ、例えば、ユーザ名とファイル名、印刷日時など、を抽出して印刷データ送信制御部265へ送信してもよい。属性情報には、データ量などかなり細かな情報まで含まれるため、所定の項目のみを抽出するようにすることで、送信データ量を削減することができる。 The print data converted by the spool data conversion unit 264, the text data extracted by the text extraction unit 263, and the attribute information acquired by the spool data acquisition unit 262 are transmitted to the print data transmission control unit 265 (step S514). Here, the spool data acquisition unit 262 extracts not only all the acquired attribute information but only predetermined items, for example, the user name and file name, the printing date and time, and transmits the extracted information to the print data transmission control unit 265. Also good. Since the attribute information includes fairly fine information such as the data amount, the transmission data amount can be reduced by extracting only predetermined items.
 印刷データ送信制御部265は、印刷データ、テキスト情報及び属性情報を受領したかどうか、常に監視しており、印刷データ、テキスト情報、及び属性情報すべてを受領したことを検出すると、印刷データ管理サーバ110への送信を制御する(ステップS515)。 The print data transmission control unit 265 constantly monitors whether print data, text information, and attribute information have been received, and when detecting that all print data, text information, and attribute information have been received, the print data management server The transmission to 110 is controlled (step S515).
 次に、通常の印刷処理について説明する。スプールデータ取得部262は、スプールデータ及びその属性情報を取得後、プリントプロセッサ252を呼び出す(ステップS516)。スプーラ242は、プリントプロセッサ252を呼び出すために、スプールデータ取得部262を呼び出しているため、スプールデータ取得部262は、印刷処理を正常に継続させるために、プリントプロセッサ252を呼び出す。 Next, normal printing processing will be described. After acquiring the spool data and its attribute information, the spool data acquisition unit 262 calls the print processor 252 (step S516). Since the spooler 242 calls the spool data acquisition unit 262 to call the print processor 252, the spool data acquisition unit 262 calls the print processor 252 in order to continue the printing process normally.
 スプーラ242が送出したスプールファイル300は、スプールデータ取得部262からそのままプリントプロセッサ252へ送出され、プリントプロセッサ252で必要な処理がある場合は、処理が行われる。例えば、ページごとの集約や製本処理などである。プリントプロセッサ252による処理後、プリントプロセッサ252によってGDI241が呼び出され(ステップS517)、処理後のデータがGDI241へ送出される。 The spool file 300 sent out by the spooler 242 is sent out from the spool data acquisition unit 262 to the print processor 252 as it is, and when there is a process required by the print processor 252, the process is performed. For example, page-by-page aggregation or bookbinding processing. After processing by the print processor 252, the GDI 241 is called by the print processor 252 (step S517), and the processed data is sent to the GDI 241.
 GDI241は、受領したEMFデータを再生し(ステップS518)、プリンタデバイスコンテキストへ描画を行う。その後、GDI241は、プリンタドライバで処理をさせるためにスプールデータ形式指定部261を呼び出す。スプールデータ形式指定部261は、プリンタドライバ251を呼び出し、プリンタドライバ251は、プリンタ固有の印刷データ(RAWデータ)を生成する(ステップS519)。このとき、スプールデータ形式指定部261は、特にプリンタドライバの処理結果を変更する等の処理は行わず、プリンタドライバのインターフェースとしてGDI241とのやり取りの仲介を行う。 The GDI 241 reproduces the received EMF data (step S518) and performs drawing on the printer device context. Thereafter, the GDI 241 calls the spool data format designation unit 261 for processing by the printer driver. The spool data format designation unit 261 calls the printer driver 251, and the printer driver 251 generates printer-specific print data (RAW data) (step S519). At this time, the spool data format specifying unit 261 does not particularly perform processing such as changing the processing result of the printer driver, and mediates exchange with the GDI 241 as an interface of the printer driver.
 プリントプロバイダ243は、必要があれば、印刷データの出力先を切り替える処理などを行う(ステップS520)。また、ランゲージモニタ244は、プリントプロバイダでの処理後、必要があれば、印刷データへ処理を行う(ステップS521)。ポートモニタ245は、プリンタポートの種類(USB、TCP/IPなど)に応じて、印刷データに対し、出力処理を行う(ステップS522)。このようにして処理された印刷データは、ネットワークを介して指定されたプリンタへと送られ、プリンタから出力されることとなる。 If necessary, the print provider 243 performs processing for switching the output destination of the print data (step S520). Further, the language monitor 244 performs processing on the print data if necessary after processing at the print provider (step S521). The port monitor 245 performs output processing on the print data according to the type of printer port (USB, TCP / IP, etc.) (step S522). The print data processed in this way is sent to the designated printer via the network and output from the printer.
 図6は、本発明における印刷データの属性情報の一例を示す図である。EMFデータとともにスプーラから取得される属性情報は、印刷データの属性を含むプロパティファイルとして構成されており、例えばXMLデータ形式である。従って、多くの情報が含まれているため、印刷データ取得部262は、取得した属性情報のうち、送信データ量を削減するために、いくつかの項目のみを、印刷データ送信制御部263へ送出してもよい。印刷データ管理サーバへ送信される属性情報としては、例えば、図6に示すように印刷データが出力されるプリンタ名(LBP5900#3)、印刷される文書データのファイル名(TestDoc.txt)、プリンタのネットワーク上での名前であるプリンタネーム(ここではプリンタ名と同じLBP5900#3)、印刷指示を行ったクライアントPCのネットワーク上のマシンネーム(ここでは\\abc-F5522)、クライアントPCを使用しているユーザ名(ここではdef)、そして、印刷データのプリンタでの印刷完了時間である印刷ジョブ完了時間(ここでは、2013年4月16日7時51分27秒)である。なお、これらに限定されず、他の項目、例えば、印刷ジョブ開始時間や印刷する文書データの紙サイズ(A4)などを含めてもよい。 FIG. 6 is a diagram showing an example of print data attribute information in the present invention. The attribute information acquired from the spooler together with the EMF data is configured as a property file including the attributes of the print data, and is in an XML data format, for example. Accordingly, since a lot of information is included, the print data acquisition unit 262 sends only some items of the acquired attribute information to the print data transmission control unit 263 in order to reduce the transmission data amount. May be. As attribute information transmitted to the print data management server, for example, as shown in FIG. 6, the printer name (LBP5900 # 3) to which the print data is output, the file name of the document data to be printed (TestDoc.txt), the printer The printer name (here LBP5900 # 3, which is the same as the printer name), the machine name of the client PC network that issued the print instruction (here \\ abc-F5522), and the client PC And the print job completion time (here, 7:51:27 on April 16, 2013) which is the print completion time of the print data on the printer. However, the present invention is not limited to these, and other items such as the print job start time and the paper size (A4) of the document data to be printed may be included.
 図7は、本発明における印刷データ管理サーバの機能ブロックの一例を示す図である。印刷データ管理サーバ110は、印刷データ受信部701、印刷データ記憶部702、トークン解析部705、インデックス記憶部706、検索部707、通知条件設定部710、通知部711を有する。また、印刷データ記憶部702は、属性情報記憶部703と印刷データ記憶部704を有する。検索部707は、検索条件解析部708と検索用ページ生成部709を有する。 FIG. 7 is a diagram showing an example of functional blocks of the print data management server according to the present invention. The print data management server 110 includes a print data receiving unit 701, a print data storage unit 702, a token analysis unit 705, an index storage unit 706, a search unit 707, a notification condition setting unit 710, and a notification unit 711. The print data storage unit 702 includes an attribute information storage unit 703 and a print data storage unit 704. The search unit 707 includes a search condition analysis unit 708 and a search page generation unit 709.
 印刷データ受信部701は、クライアントPCの印刷データ送信制御部265の送信制御により送信された印刷データ、テキストデータ及びその属性情報を受信する。印刷データ受信部701は、受信した印刷データ、テキストデータ及びその属性情報を、印刷データのファイル、テキストデータのファイル、属性情報のファイルとに分割し、印刷データと属性情報とを印刷データ記憶部702に記憶させる。印刷データのファイルは印刷データ記憶部704へ、また、属性情報のファイルは属性情報記憶部703へと記憶される。また、印刷データ受信部701は、トークン解析部705へテキストデータと属性情報とを送出する。 The print data receiving unit 701 receives print data, text data, and attribute information transmitted by the transmission control of the print data transmission control unit 265 of the client PC. The print data receiving unit 701 divides the received print data, text data, and attribute information thereof into a print data file, a text data file, and an attribute information file, and the print data and attribute information are divided into print data storage units. 702 is stored. The print data file is stored in the print data storage unit 704, and the attribute information file is stored in the attribute information storage unit 703. In addition, the print data receiving unit 701 sends text data and attribute information to the token analysis unit 705.
 印刷データ記憶部702は、属性情報記憶部703と印刷データ記憶部704を有している。印刷データ記憶部702は、印刷データ受信部701が受信した印刷データ(例えば、PDFデータ)及び属性情報データとを、それぞれ印刷データ記憶部704と属性情報記憶部703へ記憶している。このとき、印刷データ記憶部702は、印刷データとそれに対応する属性情報とを、一方から他方を取得できるよう、互いに関連付けて記憶するようにする。例えば、印刷データと属性情報とに同じID番号を付与し、それぞれID番号とともに属性情報記憶部703と印刷データ記憶部704へ記憶する。 The print data storage unit 702 includes an attribute information storage unit 703 and a print data storage unit 704. The print data storage unit 702 stores print data (for example, PDF data) and attribute information data received by the print data receiving unit 701 in the print data storage unit 704 and the attribute information storage unit 703, respectively. At this time, the print data storage unit 702 stores the print data and the attribute information corresponding to the print data in association with each other so that one can be acquired from the other. For example, the same ID number is assigned to the print data and the attribute information, and the ID number is stored in the attribute information storage unit 703 and the print data storage unit 704, respectively.
 トークン解析部705は、クライアントPCから印刷データ受信部701へ送られてきたテキストデータ及び属性情報のデータのトークン解析を行うことでインデックスデータを生成する。具体的には、テキストデータから全文検索を高速かつ容易に行えるよう、トークン(単語)を抽出する処理を行う。ここで、トークン解析部705は印刷データ受信部701が受信するとトークン解析を行う構成で説明したが、テキストデータをいったんインデックス記憶部707へ記憶し、適時トークン解析部706が抽出してトークン解析するように構成してもよい。 The token analysis unit 705 generates index data by performing token analysis of text data and attribute information data sent from the client PC to the print data reception unit 701. Specifically, a process of extracting a token (word) is performed so that a full-text search can be performed quickly and easily from text data. Here, the token analysis unit 705 has been described with the configuration in which the token analysis is performed when the print data reception unit 701 receives the data. However, the text data is temporarily stored in the index storage unit 707, and the token analysis unit 706 extracts and analyzes the token in a timely manner. You may comprise as follows.
 インデックス記憶部706は、印刷データ及び属性情報のテキストデータとトークン解析により生成されたインデックスデータを記憶している。インデックス記憶部706は、もとの印刷データ及びその属性情報と互いに対応づけられるよう、属性情報記憶部703と印刷データ記憶部704と関連づけられている。 The index storage unit 706 stores print data and text data of attribute information and index data generated by token analysis. The index storage unit 706 is associated with the attribute information storage unit 703 and the print data storage unit 704 so as to be associated with the original print data and its attribute information.
 検索部707は、印刷データ管理サーバに記憶されている大量の印刷データ及びその属性情報から、所望のデータを抽出するための検索ページを提供する。例えば、検索語を入力することが可能なWebの検索ページを提供し、ユーザがキーワードなどを入力することで希望する印刷データを抽出できるようにする。検索部707は、検索条件解析部708と検索用ページ生成部709を有している。検索条件解析部708は、検索ページに入力された検索条件を解析し、インデックス記憶部706のインデックスデータに基づいて、該当する印刷データを検索する。検索用ページ生成部709は、記憶されている印刷データ及び属性情報の検索サービスをユーザへ提供するために検索条件を入力するための検索用ページを生成する。検索用ページは、例えば、ネットワークを経由してWebページで提供される。検索用ページ生成部709は、入力された検索条件に合致する印刷データ及び属性情報を検索条件解析部708が抽出すると、それらを一覧表として表示させたり、印刷データの内容や属性情報を表示させる。 The search unit 707 provides a search page for extracting desired data from a large amount of print data and its attribute information stored in the print data management server. For example, a Web search page capable of inputting a search word is provided, and a user can extract desired print data by inputting a keyword or the like. The search unit 707 includes a search condition analysis unit 708 and a search page generation unit 709. The search condition analysis unit 708 analyzes the search condition input on the search page, and searches for corresponding print data based on the index data in the index storage unit 706. The search page generation unit 709 generates a search page for inputting search conditions in order to provide a search service for stored print data and attribute information to the user. The search page is provided as a Web page via a network, for example. When the search condition analysis unit 708 extracts print data and attribute information that match the input search conditions, the search page generation unit 709 displays them as a list or displays the contents and attribute information of the print data. .
 通知条件設定部710は、所定の通知先に通知する場合の通知条件と通知先と対応付けて設定している。通知条件とは、所定の条件に合った印刷データや属性情報があった場合に所定の通知先に通知する条件である。所定のキーワードを含む印刷データや、所定の日時に印刷された印刷データ等を抽出するよう、通知条件として設定できる。例えば、「社外秘」「Confidential」の語を含む印刷データを検知したときに、所定のメールアドレスへ通知するよう、設定することができる。通知条件の設定は、所定フォームに記入して、印刷データ管理サーバに送信する方法、検索ページから通知条件の設定をする方法、通知条件設定のwebページから設定する方法、その他どのような方法であってもかまわない。一例においては、通知条件設定部710に設定された条件を満たす印刷ページ又は属性情報があるかどうかは、新たな印刷データを受信し、印刷データが印刷データ記憶部702に記憶され、トークン解析部705において、テキストデータがトークン解析されるタイミングで、検索され、通知条件に合う印刷データが検出されると通知条件設定部にその旨が通知される。別の例にあっては、通知条件が新たに設定されると、通知条件設定部710は、所定時間ごとにインデックス記憶部706を検索し、通知条件に合致する印刷データを検知するよう構成してもよい。 The notification condition setting unit 710 is set in association with a notification condition and a notification destination when a predetermined notification destination is notified. The notification condition is a condition for notifying a predetermined notification destination when there is print data or attribute information that meets the predetermined condition. The notification condition can be set so as to extract print data including a predetermined keyword, print data printed at a predetermined date and time, and the like. For example, when print data including the words “confidential” and “confidential” is detected, it can be set to notify a predetermined mail address. The notification condition can be set by filling a predetermined form and sending it to the print data management server, setting the notification condition from the search page, setting from the notification condition setting web page, or any other method. It does not matter. In one example, whether there is a print page or attribute information that satisfies the conditions set in the notification condition setting unit 710 is received as new print data, the print data is stored in the print data storage unit 702, and the token analysis unit In 705, the text data is searched at the timing of token analysis, and when print data matching the notification condition is detected, the notification condition setting unit is notified of the fact. In another example, when a notification condition is newly set, the notification condition setting unit 710 searches the index storage unit 706 every predetermined time and detects print data that matches the notification condition. May be.
 通知部711は、通知条件設定部710に設定された通知条件に合致した印刷データが検知されたこと及び通知先が通知条件設定部710から伝えられると、所定の通知先に、通知を行う。通知方法は、設定された通知先へのメール送信、設定された通知先への自動コール等、どのような方法であってもかまわない。 The notification unit 711 notifies a predetermined notification destination when print data matching the notification condition set in the notification condition setting unit 710 is detected and the notification destination is notified from the notification condition setting unit 710. The notification method may be any method such as mail transmission to the set notification destination, automatic call to the set notification destination, and the like.
 なお、図7においては、印刷データ管理サーバ110は、一つのサーバ装置で構成されるように図示されているが、分散する複数のサーバで構成してもよいことは当然である。 In FIG. 7, the print data management server 110 is illustrated as being configured by a single server device, but may be configured by a plurality of distributed servers.
 (第二の実施の形態)
 第二の実施の形態においては、クライアントPCにGDI系のプリンタドライバとXPS系のプリンタドライバとがインストールされている場合を説明する。GDI系のプリンタドライバの場合、EMF又はRAWスプールでスプールを行うが、XPS系のプリンタドライバは、XPSでスプールを行う。なお、第一の実施の形態と同様の点、つまり、GDI241を経由してプリンタドライバ(GDIドライバ)251を用いて印刷する処理については説明を省略する。
 図8は、本発明の第二の実施の形態での印刷処理におけるクライアントPCの機能ブロック図の一例を示す図面である。第一の実施の形態と同様に、クライアントPC120は、Windows(登録商標)系のオペレーティングシステム(OS)240上で動作する、アプリケーション230、プリンタプログラム250、印刷データ取得プログラム260、を有している。ここで、プリンタプログラム250のなかに、プリンタドライバ(GDIドライバ)251と、プリンタドライバ(Filterドライバ)282が一つずつ図示されているが、GDIドライバのプリンタドライバが複数、Filterドライバが複数インストールされていてもよい。
(Second embodiment)
In the second embodiment, a case where a GDI printer driver and an XPS printer driver are installed in a client PC will be described. In the case of a GDI printer driver, spooling is performed using an EMF or RAW spool, whereas an XPS printer driver performs spooling using XPS. Note that description of the same points as in the first embodiment, that is, processing for printing using the printer driver (GDI driver) 251 via the GDI 241 is omitted.
FIG. 8 is a diagram illustrating an example of a functional block diagram of the client PC in the printing process according to the second embodiment of the present invention. As in the first embodiment, the client PC 120 includes an application 230, a printer program 250, and a print data acquisition program 260 that operate on a Windows (registered trademark) operating system (OS) 240. . Here, one printer driver (GDI driver) 251 and one printer driver (Filter driver) 282 are shown in the printer program 250, but a plurality of GDI driver printer drivers and a plurality of Filter drivers are installed. It may be.
 第二の実施の形態において、オペレーティングシステム(OS)240は、GDI241、スプーラ242、プリントプロバイダ243、ランゲージモニタ244、ポートモニタ245と、Filter Pipeline Manager281を有している。Filter Pipeline Manager281は、XPSスプール形式による印刷処理において用いられ、XPSスプールデータを生成する。アプリケーション230がユーザから印刷指示を受けるとき、印刷するプリンタを選択する。このときに、選択されたプリンタドライバがXPS系のプリンタドライバである場合、Filter Pipeline Manager281がアプリケーションに呼び出される。関数書換部267は、GDI241がプリンタドライバ251を呼び出す関数アドレスのみを、スプールデータ形式指定部261を呼び出すように書き換えているため、Filter Pipeline Manager281は、スプールデータ形式指定部261を呼び出すことなく、プリンタドライバ(Filterドライバ)282を呼び出す。なぜなら、XPS系の印刷処理の場合、出力されるスプールデータ形式は、XPSであるため、どの情報処理装置であっても再現可能であるからである。このため、印刷データ取得プログラムは、XPS系のプリンタドライバについては、スプールデータ形式指定部261を呼び出すための関数書換を行わず、スプールデータ形式指定部261を経由しない。 In the second embodiment, the operating system (OS) 240 has a GDI 241, a spooler 242, a print provider 243, a language monitor 244, a port monitor 245, and a Filter Pipeline Manager 281. The Filter / Pipeline / Manager 281 is used in the printing process in the XPS spool format, and generates XPS spool data. When the application 230 receives a print instruction from the user, a printer to be printed is selected. At this time, if the selected printer driver is an XPS printer driver, Filter Pipeline Manager 281 is called by the application. Since the function rewriting unit 267 rewrites only the function address that the GDI 241 calls the printer driver 251 so as to call the spool data format specifying unit 261, the Filter Pipeline Manager 281 does not call the spool data format specifying unit 261, A driver (Filter driver) 282 is called. This is because, in the case of XPS printing processing, the output spool data format is XPS, so that it can be reproduced by any information processing apparatus. Therefore, the print data acquisition program does not perform function rewriting for calling the spool data format designation unit 261 for the XPS printer driver, and does not go through the spool data format designation unit 261.
 スプーラ242、プリントプロバイダ243、ランゲージモニタ244、ポートモニタ245については、第一の実施の形態と同様であるため、説明を省略する。但し、GDI系のプリンタドライバによる印刷処理においては、プリントプロバイダ243での処理の後、ランゲージモニタ244及びポートモニタ245の処理が続くが、XPS系のプリンタドライバによる印刷処理においては、プリントプロバイダ243での処理の後、ランゲージモニタ244は経由せず、ポートモニタ245での処理となる。 Since the spooler 242, the print provider 243, the language monitor 244, and the port monitor 245 are the same as those in the first embodiment, description thereof is omitted. However, in the printing process by the GDI printer driver, the processing in the language monitor 244 and the port monitor 245 continues after the process in the print provider 243. In the printing process by the XPS printer driver, in the print provider 243, After the above process, the process is performed by the port monitor 245 without going through the language monitor 244.
 スプールファイル300は、GDI241又はFilter Pipeline Manager281によって生成されるデータであって、スプールデータと属性情報データで構成される。なお、本実施の形態においては、スプールデータは、EMFデータまたはXPSデータとなる。 The spool file 300 is data generated by the GDI 241 or the Filter Pipeline Manager 281 and includes spool data and attribute information data. In the present embodiment, the spool data is EMF data or XPS data.
 印刷データ取得プログラム260は、スプールデータ形式指定部261、スプールデータ取得部262、テキスト抽出部263、スプールデータ変換部264、印刷データ送信制御部265を有する。スプールデータ形式指定部261は、アプリケーション起動時に関数書換部267が、GDI241がプリンタドライバ251を呼び出す関数アドレスのみを、スプールデータ形式指定部261を呼び出すように書き換えているため、スプールデータ形式指定部261は、GDI241からアクセスを受けると、印刷指示を受けたプリンタのプリンタドライバ(GDIドライバ)251内にあるスプールデータ形式を指定するためのビットを、所定のスプールデータ形式、例えば、EMFデータ形式、を指定するようにし、GDI241には、指定したスプールデータ形式を返す。なお、XPS系のプリンタドライバによる印刷処理の場合は、関数書換が行われていないため、スプールデータ形式指定部261を経由しない。 The print data acquisition program 260 includes a spool data format designation unit 261, a spool data acquisition unit 262, a text extraction unit 263, a spool data conversion unit 264, and a print data transmission control unit 265. Since the function rewriting unit 267 rewrites only the function address at which the GDI 241 calls the printer driver 251 so that the spool data format specifying unit 261 is called when the application is activated, the spool data format specifying unit 261 is changed. When an access is received from the GDI 241, a bit for designating a spool data format in the printer driver (GDI driver) 251 of the printer that has received the print instruction is set to a predetermined spool data format, for example, an EMF data format. The specified spool data format is returned to the GDI 241. Note that in the case of printing processing by an XPS printer driver, function rewriting is not performed, and thus the print data does not go through the spool data format designation unit 261.
 スプールデータ取得部262は、スプーラ242が送出したスプールファイル300を取得する。スプーラ242は、GDI系の印刷処理の場合は、スプールデータ形式指定部261が指定したスプールデータ形式(例えば、EMFデータ)と属性情報データを送出し、XPS系の印刷処理の場合は、XPSデータであるスプールデータと属性情報データを送出する。アプリケーション起動時に関数書換部267によってスプーラ242がプリントプロセッサ252へスプールファイルを送出するときの関数アドレスが書き換えられているため、スプーラ242は、スプールファイル300を送出するために、スプールデータ取得部262へアクセスする。スプールデータ取得部262は、スプールデータがEMFデータ、XPSデータ、いずれのデータであってもスプーラ242から送出されるスプールファイル300を取得する。そして、取得する以外は、スプーラ242とプリントプロセッサ252の間で他の処理がある場合は、仲介のみを行う。そして、スプールデータ取得部262は、取得したスプールデータのデータ形式を判別する。具体的には、まずEMFのデータフォーマットとなっているかどうか、判別を行い、EMFデータでない場合、XPSデータとしてデータを読み込むことができるかで判別を行う。EMFデータ又はXPSデータであることが確認されると、スプールデータ取得部262は、取得したスプールデータ(EMFデータ又はXPSデータ)及び属性情報を、テキスト抽出部263へ送出する。 The spool data acquisition unit 262 acquires the spool file 300 sent from the spooler 242. The spooler 242 sends the spool data format (for example, EMF data) and attribute information data designated by the spool data format designation unit 261 in the case of GDI printing processing, and the XPS data in the case of XPS printing processing. Spool data and attribute information data are sent out. Since the function address when the spooler 242 sends the spool file to the print processor 252 is rewritten by the function rewriting unit 267 when the application is activated, the spooler 242 sends the spool file 300 to the spool data acquisition unit 262. to access. The spool data acquisition unit 262 acquires the spool file 300 sent from the spooler 242 regardless of whether the spool data is EMF data or XPS data. Except for the acquisition, when there is other processing between the spooler 242 and the print processor 252, only mediation is performed. Then, the spool data acquisition unit 262 determines the data format of the acquired spool data. Specifically, it is first determined whether or not the data format is EMF. If it is not EMF data, it is determined whether or not data can be read as XPS data. When it is confirmed that the data is EMF data or XPS data, the spool data acquisition unit 262 sends the acquired spool data (EMF data or XPS data) and attribute information to the text extraction unit 263.
 テキスト抽出部263は、スプールデータ取得部262が取得したEMF又はXPSデータであるスプールデータからテキストデータを抽出する。 The text extraction unit 263 extracts text data from spool data that is EMF or XPS data acquired by the spool data acquisition unit 262.
 スプールデータ変換部264は、スプールデータ取得部262が取得したスプールデータのうち、EMFデータを所定のデータ形式(例えば、PDFデータやXPSデータ)へ変換する。なお、XPS系の印刷処理においては、スプールデータが既にXPSデータであり、どの情報処理装置でも、文字化けやエラーが生じないデータ形式であるため、スプールデータの変換を要しない。従って、XPS系の印刷処理の場合は、スプールデータ変換部264を経ずに、印刷データ送信制御部265での処理にうつる。 The spool data conversion unit 264 converts EMF data out of the spool data acquired by the spool data acquisition unit 262 into a predetermined data format (for example, PDF data or XPS data). In XPS printing processing, spool data is already XPS data, and any information processing apparatus has a data format that does not cause garbled characters or errors, so that spool data conversion is not required. Therefore, in the case of XPS type printing processing, the processing in the print data transmission control unit 265 is performed without going through the spool data conversion unit 264.
 印刷データ送信制御部265は、印刷データ取得部262が取得した属性情報と、テキスト抽出部263が抽出したテキスト情報と、XPSデータ又は所定のデータ形式による印刷データとを印刷データ管理サーバへとネットワークを介して送信するよう制御する。 The print data transmission control unit 265 is a network that transmits the attribute information acquired by the print data acquisition unit 262, the text information extracted by the text extraction unit 263, and the print data in a predetermined data format to the print data management server. Control to transmit via.
 プリンタプログラム250は、プリンタドライバ(GDIドライバ)251と、プリンタドライバ(Filterドライバ)282と、プリントプロセッサ252を有する。プリンタドライバ(GDIドライバ)251は、OSのGDI241を使って印刷処理を行うプリンタドライバであり、プリンタドライバ(Filterドライバ)282は、Filter Pipeline Manager281を使って印刷処理を行うプリンタドライバである。どちらの種類のプリンタドライバであっても、印刷データ形式の設定情報を記憶し、プリンタ固有の印刷データを生成する。プリントプロセッサ252は、スプーラ242から送出された印刷データ(EMFデータ又はXPSデータ)を再生し、たとえば印刷文書のページごとの集約・製本等の編集処理等を行う。 The printer program 250 includes a printer driver (GDI driver) 251, a printer driver (Filter driver) 282, and a print processor 252. A printer driver (GDI driver) 251 is a printer driver that performs printing processing using the GDI 241 of the OS, and a printer driver (Filter driver) 282 is a printer driver that performs printing processing using Filter Pipeline Manager 281. Regardless of the type of printer driver, print data format setting information is stored, and printer-specific print data is generated. The print processor 252 reproduces print data (EMF data or XPS data) sent from the spooler 242 and performs, for example, editing processing such as aggregation and bookbinding for each page of the print document.
 図9は、本発明の第二の実施の形態により印刷処理における印刷データ取得方法を説明するフローチャートの一例である。ユーザが、文書作成ソフトや画像作成ソフトなどのアプリケーションを選択すると、選択されたアプリケーションがクライアントPCのOS上で起動する(ステップS901)。 FIG. 9 is an example of a flowchart for explaining a print data acquisition method in print processing according to the second embodiment of the present invention. When the user selects an application such as document creation software or image creation software, the selected application is activated on the OS of the client PC (step S901).
 アプリケーションが起動すると同時に関数書換部267が起動し、所定の関数アドレスを書き換える(ステップS902)。印刷データ取得プログラムがクライアントPCにインストールされたときに、レジストリ書込み部266が、アプリケーション起動時にロードされるモジュールのレジストリに関数書換部267のモジュール名を書き込んでいるため、アプリケーションが起動すると同時に関数書換部267が起動して所定の関数アドレスを書き換える。書き換える関数アドレスは、第一の実施の形態と同じである。XPS系の印刷処理においては、XPSでスプールされるため、スプールデータ形式を印刷データ取得プログラムが強制的に指定する必要はなく、また、GDI系印刷処理でも、XPS系印刷処理でも、スプーラ242がスプールファイル300をプリントプロセッサ252へ送出するために呼び出す処理は共通であるため、関数アドレスは同じだからである。従って、GDI241がスプールデータ形式を問い合わせるためにプリンタドライバ251を呼び出す処理に関する関数アドレスである、例えば、LoadLibrary() APIやDrvEnableDriver()APIといった関数の関数アドレスを、プリンタドライバ251からスプールデータ形式指定部261へと書き換え、スプーラ242がスプールファイル300をプリントプロセッサ252へ送出するために呼び出す処理に関する関数アドレス、例えば、OpenPrintProcessor() APIやPrintDocumentOnPrintProcessor() API、 ClosePrintProcessor() API、ControlPrintProcessor() APIといった関数の関数アドレスをプリントプロセッサ252からスプールデータ取得部262へと書き換える。 At the same time when the application is activated, the function rewriting unit 267 is activated and rewrites a predetermined function address (step S902). When the print data acquisition program is installed in the client PC, the registry writing unit 266 writes the module name of the function rewriting unit 267 in the registry of the module loaded when the application is started. The unit 267 is activated to rewrite a predetermined function address. The function address to be rewritten is the same as in the first embodiment. In the XPS printing process, since spooling is performed by XPS, it is not necessary to forcibly specify the spool data format by the print data acquisition program, and the spooler 242 can be used in both the GDI printing process and the XPS printing process. This is because the function address is the same because the process called to send the spool file 300 to the print processor 252 is common. Therefore, the function address of the function for calling the printer driver 251 to inquire the spool data format by the GDI 241, for example, the function address of the function such as LoadLibrary () API or DrvEnableDriver () API, is sent from the printer driver 251 to the spool data format designation unit. The function address related to the processing that the spooler 242 calls to send the spool file 300 to the print processor 252, for example, functions such as OpenPrintProcessor () API, PrintDocumentOnPrintProcessor () API, ClosePrintProcessor () API, ControlPrintProcessor () API The function address is rewritten from the print processor 252 to the spool data acquisition unit 262.
 次に、アプリケーションがユーザからマウスやキーボード等により印刷指示を受ける(ステップS903)例えば、ユーザがアプリケーションのメニューから「印刷」を選択し、印刷するプリンタや枚数、出力用紙サイズなどを選択して印刷指示を実行する。このときに、ユーザがGDI系のプリンタドライバを選択した場合は、第一の実施の形態の図5のステップS504以降の処理と同じであるため、説明を省略し、ユーザがXPS系のプリンタドライバを選択した場合について、以下に、説明する。 Next, the application receives a print instruction from the user using a mouse, a keyboard, or the like (step S903). For example, the user selects “print” from the application menu, selects the printer to be printed, the number of sheets, the output paper size, and the like. Execute the instructions. At this time, if the user selects a GDI printer driver, the processing is the same as the processing in and after step S504 in FIG. 5 of the first embodiment. The case where is selected will be described below.
 ユーザがXPS系のプリンタドライバを選択した場合、Filter Pipeline Manager281が呼び出される。Filter Pipeline Manager281は、XPSデータのスプールファイルを生成し、スプーラへ送出する(ステップS904)。前述したとおり、Filter Pipeline Manager281は、XPSデータのスプールファイルを生成するため、印刷データ取得プログラムは、スプールファイル形式の指定において介入しない。 When the user selects an XPS printer driver, the Filter Pipeline Manager 281 is called. The Filter / Pipeline / Manager 281 generates a spool file of XPS data and sends it to the spooler (step S904). As described above, since the Filter Pipeline Manager 281 generates a spool file of XPS data, the print data acquisition program does not intervene in specifying the spool file format.
 次に、スプーラ242は、XPSデータがスプールされると、スプールデータ取得部262を呼び出す(ステップS905)。XPSのプリンタが選択されている場合であっても、関数書換部267がOpenPrintProcessor() APIやPrintDocumentOnPrintProcessor() API、 ClosePrintProcessor() API、ControlPrintProcessor() APIといったスプーラがプリンタプロセッサを呼び出す関数の関数アドレスを書き換えているため、スプーラ242は、選択されたプリンタのプリントプロセッサではなく、スプールデータ取得部262を呼び出す。 Next, when the XPS data is spooled, the spooler 242 calls the spool data acquisition unit 262 (step S905). Even when an XPS printer is selected, the function rewriting unit 267 sets the function address of the function that the spooler calls the printer processor such as OpenPrintProcessor () API, PrintDocumentOnPrintProcessor () API, ClosePrintProcessor () API, ControlPrintProcessor () API. Since rewriting is performed, the spooler 242 calls the spool data acquisition unit 262 instead of the print processor of the selected printer.
 スプールデータ取得部252は、XPSデータ、属性情報を取得する(ステップS906)。スプールデータ取得部252は、スプーラ242から送出されたスプールファイル300に含まれているスプールデータであるXPSデータと印刷指示を受けた文書データの属性情報とを取得する。文書データは、XPSデータであるが、属性情報は、例えば、XML形式で記述されており、印刷される文書データのファイル名、印刷日時、ユーザ名、マシン名などが含まれている。 The spool data acquisition unit 252 acquires XPS data and attribute information (step S906). The spool data acquisition unit 252 acquires XPS data, which is spool data included in the spool file 300 sent from the spooler 242, and attribute information of document data that has received a print instruction. The document data is XPS data, but the attribute information is described in XML format, for example, and includes the file name of the document data to be printed, the date and time of printing, the user name, the machine name, and the like.
 ここで、第一の実施の形態と同様に、通常の印刷処理と、印刷データを管理するための処理の2つに分かれる。まず、印刷データを管理するための処理を説明する。印刷データを管理するための処理として、スプールデータ取得部262は、スプールデータ形式の判別を行う(ステップS907)。取得したスプールデータは、XPSデータであるが、ここで判別処理を行う。具体的には、スプールデータ取得部262は、取得したスプールデータがEMFデータのデータフォーマットとなっているかどうか、チェックして判別する。EMFデータでないことを判別すると、次にXPSデータとしてデータの読み込みを行う。ここで、XPSデータとして読み込むことができれば、XPSデータであると判別され、読み込み処理ができない場合は、エラーとなり、処理は終了する。XPSデータと判別されると、スプールデータ取得部262は、取得したスプールデータ(XPSデータ)及び属性情報を、テキスト抽出部263へ送出し、テキスト抽出部263は、スプールデータからテキストデータを抽出する(ステップS908)。なお、テキスト抽出部263は、テキストデータだけでなく、あわせて、画像データを抽出してもよい。 Here, as in the first embodiment, there are two processes: a normal print process and a process for managing print data. First, processing for managing print data will be described. As a process for managing print data, the spool data acquisition unit 262 determines the spool data format (step S907). The acquired spool data is XPS data, but a discrimination process is performed here. Specifically, the spool data acquisition unit 262 checks and determines whether or not the acquired spool data has the data format of EMF data. If it is determined that the data is not EMF data, data is read as XPS data. Here, if the data can be read as XPS data, it is determined that the data is XPS data. If the data cannot be read, an error occurs and the process ends. When it is determined as XPS data, the spool data acquisition unit 262 sends the acquired spool data (XPS data) and attribute information to the text extraction unit 263, and the text extraction unit 263 extracts text data from the spool data. (Step S908). Note that the text extraction unit 263 may extract not only text data but also image data.
 テキスト抽出部263が抽出したテキストデータと、スプールデータ取得部262が取得したスプールデータであるXPSデータと、属性情報は印刷データ送信制御部265へそれぞれ送信される(ステップS909)。スプールデータは、すでにXPSデータであるため、スプールデータの変換処理は不要である。ここで、スプールデータ取得部262は、取得したすべての属性情報ではなく、所定の項目のみ、例えば、ユーザ名とファイル名、印刷日時など、を抽出して印刷データ送信制御部265へ送信してもよい。 Text data extracted by the text extraction unit 263, XPS data that is spool data acquired by the spool data acquisition unit 262, and attribute information are transmitted to the print data transmission control unit 265, respectively (step S909). Since the spool data is already XPS data, spool data conversion processing is not necessary. Here, the spool data acquisition unit 262 extracts not only all the acquired attribute information but only predetermined items, for example, the user name and file name, the printing date and time, and transmits the extracted information to the print data transmission control unit 265. Also good.
 印刷データ送信制御部265は、XPSデータである印刷データ、テキスト情報及び属性情報を受領したかどうか、常に監視しており、印刷データ、テキスト情報、及び属性情報すべてを受領したことを検出すると、印刷データ管理サーバ110への送信を制御する(ステップS910)。 The print data transmission control unit 265 always monitors whether print data, text information, and attribute information, which are XPS data, has been received, and when detecting that all print data, text information, and attribute information have been received, Transmission to the print data management server 110 is controlled (step S910).
 次に、通常の印刷処理について説明する。スプールデータ取得部262は、スプールデータ及びその属性情報を取得後、プリントプロセッサ252を呼び出す(ステップS911)。スプーラ242は、プリントプロセッサ252を呼び出すために、スプールデータ取得部262を呼び出しているため、スプールデータ取得部262は、印刷処理を正常に継続させるために、プリントプロセッサ252を呼び出す。 Next, normal printing processing will be described. After acquiring the spool data and its attribute information, the spool data acquisition unit 262 calls the print processor 252 (step S911). Since the spooler 242 calls the spool data acquisition unit 262 to call the print processor 252, the spool data acquisition unit 262 calls the print processor 252 in order to continue the printing process normally.
 プリントプロセッサ252によって、必要な処理が行われた後、プリントプロセッサ252は、Filter Pipeline Manager281を呼び出す(ステップS912)。プリントプロセッサ252による処理後のデータがFilter Pipeline Manager281へ送出される。 After the necessary processing is performed by the print processor 252, the print processor 252 calls the Filter Pipeline Manager 281 (step S <b> 912). Data processed by the print processor 252 is sent to the Filter Pipeline Manager 281.
 Filter Pipeline Manager281は、受領したXPSデータを再生し(ステップS913)、プリンタデバイスコンテキストへ描画を行う。その後、Filter Pipeline Manager281は、プリンタドライバ(Filterドライバ)282を呼び出し、プリンタドライバ(Filterドライバ)282は、プリンタ固有の印刷データ(RAWデータ)を生成する(ステップS914)。 The Filter®Pipeline® Manager 281 reproduces the received XPS data (step S913) and draws it on the printer device context. Thereafter, the Filter / Pipeline / Manager 281 calls the printer driver (Filter driver) 282, and the printer driver (Filter driver) 282 generates print data (RAW data) unique to the printer (Step S914).
 プリントプロバイダ243は、必要があれば、印刷データの出力先を切り替える処理などを行う(ステップS915)。ポートモニタ245は、プリンタポートの種類(USB、TCP/IPなど)に応じて、印刷データに対し、出力処理を行う(ステップS916)。このようにして処理された印刷データは、ネットワークを介して指定されたプリンタへと送られ、プリンタから出力されることとなる。 The print provider 243 performs a process of switching the output destination of the print data if necessary (step S915). The port monitor 245 performs output processing on the print data in accordance with the type of printer port (USB, TCP / IP, etc.) (step S916). The print data processed in this way is sent to the designated printer via the network and output from the printer.
 このように、本発明によれば、プリンタがGDI系であってもXPS系であっても、いずれの場合にも確実に印刷データの情報を取得することができる。 As described above, according to the present invention, it is possible to reliably acquire print data information regardless of whether the printer is a GDI system or an XPS system.
 100 ネットワーク
 110 印刷データ管理サーバ
 120 クライアントPC
 130 プリンタ
100 Network 110 Print Data Management Server 120 Client PC
130 Printer

Claims (17)

  1.  印刷データをプリンタへ出力する情報処理装置であって、
     印刷指示があると印刷指示された文書データのスプールデータ形式を出力先のプリンタのプリンタドライバ内で所望のスプールデータ形式で指定するスプールデータ形式指定手段と、
     指定されたスプールデータ形式によるスプールデータと前記スプールデータの属性情報とを、スプーラから取得するスプールデータ取得手段と、
     取得した前記スプールデータからテキストデータを抽出するテキスト抽出手段と、
     前記テキストデータと、前記属性情報とを少なくとも送信するよう制御する送信制御手段と、を有する情報処理装置。
    An information processing apparatus that outputs print data to a printer,
    Spool data format designating means for designating the spool data format of the document data instructed to be printed in the printer driver of the output destination printer in the desired spool data format when there is a print instruction;
    Spool data acquisition means for acquiring spool data in a specified spool data format and attribute information of the spool data from a spooler;
    Text extraction means for extracting text data from the acquired spool data;
    An information processing apparatus comprising: transmission control means for controlling to transmit at least the text data and the attribute information.
  2.  アプリケーション起動時に印刷に関する所定の関数アドレスを書き換える関数書換手段をさらに有し、
     前記関数書換手段によって関数アドレスが書き換えられたことにより、前記スプールデータ形式指定手段が、スプールデータ形式を指定し、前記スプールデータ取得手段が、前記スプールデータを取得することを特徴とする、請求項1記載の情報処理装置。
    A function rewriting means for rewriting a predetermined function address related to printing when the application is started;
    The spool data format designating unit designates a spool data format when the function address is rewritten by the function rewriting unit, and the spool data obtaining unit obtains the spool data. 1. An information processing apparatus according to 1.
  3.  前記関数書換手段が、GDIが出力先のプリンタのプリンタドライバにアクセスするための関数アドレスを書き換えることで、前記スプールデータ形式指定手段がスプールデータ形式を指定し、スプーラがプリントプロセッサを呼び出すための関数アドレスを書き換えることで、前記スプールデータを取得する、請求項2記載の情報処理装置。 The function rewriting means rewrites the function address for the GDI to access the printer driver of the output destination printer, so that the spool data format designating means designates the spool data format and the spooler calls the print processor. The information processing apparatus according to claim 2, wherein the spool data is acquired by rewriting an address.
  4.  アプリケーション起動時にロードされるモジュールに関するレジストリに前記関数書換手段の名前を書き込むレジストリ書き込み手段をさらに有することを特徴とする、請求項3記載の情報処理装置。 4. The information processing apparatus according to claim 3, further comprising registry writing means for writing a name of the function rewriting means in a registry relating to a module loaded when an application is started.
  5.  前記スプールデータ形式指定手段で指定されるスプールデータ形式はEMFデータであることを特徴とする、請求項1~4記載の情報処理装置。 5. The information processing apparatus according to claim 1, wherein the spool data format specified by the spool data format specifying means is EMF data.
  6.  前記印刷データの属性情報は、少なくとも印刷日時、文書データ名、ユーザ名を含むことを特徴とする、請求項1~5記載の情報処理装置。 6. The information processing apparatus according to claim 1, wherein the attribute information of the print data includes at least a print date, a document data name, and a user name.
  7.  さらに、取得したスプールデータを所定のデータ形式に変換するスプールデータ変換手段を有し、
     前記送信制御手段は、所定のデータ形式に変換した印刷データの送信を制御する、請求項1~6記載の情報処理装置。
    Furthermore, it has a spool data conversion means for converting the acquired spool data into a predetermined data format,
    The information processing apparatus according to any one of claims 1 to 6, wherein the transmission control unit controls transmission of print data converted into a predetermined data format.
  8.  前記スプールデータ変換手段は、スプールデータ形式がEMFデータであるときに変換する、請求項7記載の情報処理装置。 The information processing apparatus according to claim 7, wherein the spool data conversion means converts when the spool data format is EMF data.
  9.  前記スプールデータ変換手段は、取得したスプールデータをPDF又はXPSデータに変換する、請求項7又は8記載の情報処理装置。 The information processing apparatus according to claim 7 or 8, wherein the spool data conversion means converts the acquired spool data into PDF or XPS data.
  10.  プリンタで印刷する印刷データを出力するコンピュータに適用され、前記印刷データを取得する印刷データ取得プログラムであって、
     印刷指示があると印刷指示された文書データのスプールデータ形式を出力先のプリンタのプリンタドライバ内で所望のスプールデータ形式で指定するスプールデータ形式指定ステップと、
     指定されたスプールデータ形式によるスプールデータとスプールデータの属性情報とを、スプーラから取得するスプールデータ取得ステップと、
     取得した前記スプールデータからテキストデータを抽出するテキスト抽出ステップと、
     前記テキストデータと、前記属性情報とを少なくとも送信するよう制御する送信制御ステップとを
     実行させることを特徴とする印刷データ取得プログラム。
    A print data acquisition program that is applied to a computer that outputs print data to be printed by a printer and acquires the print data,
    A spool data format designation step for designating the spool data format of the document data for which printing is instructed in a desired spool data format in the printer driver of the output destination printer;
    A spool data acquisition step for acquiring spool data in the specified spool data format and spool data attribute information from the spooler;
    A text extraction step of extracting text data from the acquired spool data;
    A print data acquisition program for executing a transmission control step of controlling to transmit at least the text data and the attribute information.
  11.  アプリケーション起動時に印刷に関する所定の関数アドレスを書き換える関数書換ステップをさらに有し、
     前記関数書換ステップによって関数アドレスが書き換えられたことにより、前記スプールデータ形式指定手段が、スプールデータ形式を指定し、前記スプールデータ取得ステップが、前記スプールデータを取得することを特徴とする、請求項10記載の印刷データ取得プログラム。
    A function rewriting step of rewriting a predetermined function address related to printing when the application is activated;
    The spool data format designating unit designates a spool data format when the function address is rewritten by the function rewriting step, and the spool data obtaining step obtains the spool data. The print data acquisition program according to 10.
  12.  アプリケーション起動時にロードされるモジュールに関するレジストリに前記関数書換ステップの名前を書き込むレジストリ書き込みステップをさらに有することを特徴とする、請求項11記載の印刷データ取得プログラム。 12. The print data acquisition program according to claim 11, further comprising a registry writing step for writing a name of the function rewriting step in a registry relating to a module loaded when the application is started.
  13.  プリンタで印刷する印刷データを出力するコンピュータに適用され、前記印刷データを取得する印刷データ取得方法であって、
     印刷指示があると印刷指示された文書データのスプールデータ形式を出力先のプリンタのプリンタドライバ内で所望のスプールデータ形式で指定するスプールデータ形式指定ステップと、
     指定されたスプールデータ形式によるスプールデータと前記スプールデータの属性情報とを、スプーラから取得するスプールデータ取得ステップと、
     取得した前記スプールデータからテキストデータを抽出するテキスト抽出ステップと、
     前記テキストデータと、前記属性情報とを少なくとも送信するよう制御する送信制御ステップとを
     実行させることを特徴とする印刷データ取得方法。
    A print data acquisition method that is applied to a computer that outputs print data to be printed by a printer and acquires the print data,
    A spool data format designation step for designating the spool data format of the document data for which printing is instructed in a desired spool data format in the printer driver of the output destination printer;
    A spool data acquisition step of acquiring spool data in a specified spool data format and attribute information of the spool data from a spooler;
    A text extraction step of extracting text data from the acquired spool data;
    A print data acquisition method comprising: executing a transmission control step of controlling to transmit at least the text data and the attribute information.
  14.  印刷データをプリンタへ出力する情報処理装置と、前記印刷データを管理する印刷データ管理サーバとを有する印刷データ管理システムであって、
     前記情報処理装置は、
     印刷指示があると印刷指示された文書データのスプールデータ形式を、出力先のプリンタのプリンタドライバ内で所望のスプールデータ形式で指定するスプールデータ形式指定手段と、
     指定されたスプールデータ形式によるスプールデータと前記スプールデータの属性情報とを、スプーラから取得するスプールデータ取得手段と、
     取得した前記スプールデータからテキストデータを抽出するテキスト抽出手段と、
     前記テキストデータと、前記属性情報とを少なくとも送信するよう制御する送信制御手段とを有し、
     前記印刷データ管理サーバは、
     前記印刷データと、前記テキストデータと、前記属性情報を受信する受信手段と、
     前記印刷データと、前記テキストデータと、前記属性情報とを記憶する印刷データ記憶手段と、
    を備える印刷データ管理システム。
    A print data management system comprising: an information processing apparatus that outputs print data to a printer; and a print data management server that manages the print data,
    The information processing apparatus includes:
    Spool data format designating means for designating the spool data format of the document data instructed to be printed in the printer driver of the output destination printer in the desired spool data format when there is a print instruction;
    Spool data acquisition means for acquiring spool data in a specified spool data format and attribute information of the spool data from a spooler;
    Text extraction means for extracting text data from the acquired spool data;
    Transmission control means for controlling to transmit at least the text data and the attribute information;
    The print data management server
    Receiving means for receiving the print data, the text data, and the attribute information;
    Print data storage means for storing the print data, the text data, and the attribute information;
    A print data management system.
  15.  前記印刷データ管理サーバは、
     さらに、前記テキストデータ及び前記属性情報に基づいて生成したインデックスデータを記憶するインデックス記憶手段と、
     前記インデックスデータに基づいて前記印刷データを検索する検索手段と、
    を有する請求項14記載の印刷データ管理システム。
    The print data management server
    Further, index storage means for storing index data generated based on the text data and the attribute information;
    Search means for searching for the print data based on the index data;
    The print data management system according to claim 14.
  16.  前記テキストデータのトークン解析することでインデックスデータを生成するトークン解析手段と、をさらに有する請求項15記載の印刷データ管理システム。 16. The print data management system according to claim 15, further comprising token analysis means for generating index data by token analysis of the text data.
  17.  前記印刷データ管理サーバは、
     所定条件を有する印刷データが前記印刷データ記憶手段に記憶されたときに、所定の通知先に通知するための通知条件設定手段と、
     前記通知条件設定手段に所定条件に合致する印刷データを検出すると所定の通知先へ通知する通知手段をさらに有することを特徴とする、請求項14~16記載の印刷データ管理システム。
    The print data management server
    A notification condition setting unit for notifying a predetermined notification destination when print data having a predetermined condition is stored in the print data storage unit;
    The print data management system according to any one of claims 14 to 16, further comprising notification means for notifying a predetermined notification destination when print data matching a predetermined condition is detected by the notification condition setting means.
PCT/JP2016/072737 2015-08-19 2016-08-03 Print data management system, information processing device, and program and method for acquiring print data WO2017029987A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015162087A JP2017041073A (en) 2015-08-19 2015-08-19 Print data management system, information processing apparatus, print data acquisition program, and method
JP2015-162087 2015-08-19

Publications (1)

Publication Number Publication Date
WO2017029987A1 true WO2017029987A1 (en) 2017-02-23

Family

ID=58052168

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/072737 WO2017029987A1 (en) 2015-08-19 2016-08-03 Print data management system, information processing device, and program and method for acquiring print data

Country Status (2)

Country Link
JP (1) JP2017041073A (en)
WO (1) WO2017029987A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210072935A1 (en) * 2018-03-29 2021-03-11 Shimadzu Corporation Analysis information collection program and analysis information collection system
CN110210455B (en) * 2019-06-18 2022-03-01 石家庄捷弘科技有限公司 Printing content formatting extraction method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007249860A (en) * 2006-03-17 2007-09-27 Canon Inc Printer driver changing method for information processor, and program
JP2013196259A (en) * 2012-03-19 2013-09-30 Ricoh Co Ltd Data processor, data processing system and program
JP2014063477A (en) * 2012-08-29 2014-04-10 Ricoh Co Ltd Information processing apparatus, print system, and program
JP2015011488A (en) * 2013-06-28 2015-01-19 株式会社スプラインネットワーク Print data management system, information processing device, print data acquisition program, and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007249860A (en) * 2006-03-17 2007-09-27 Canon Inc Printer driver changing method for information processor, and program
JP2013196259A (en) * 2012-03-19 2013-09-30 Ricoh Co Ltd Data processor, data processing system and program
JP2014063477A (en) * 2012-08-29 2014-04-10 Ricoh Co Ltd Information processing apparatus, print system, and program
JP2015011488A (en) * 2013-06-28 2015-01-19 株式会社スプラインネットワーク Print data management system, information processing device, print data acquisition program, and method

Also Published As

Publication number Publication date
JP2017041073A (en) 2017-02-23

Similar Documents

Publication Publication Date Title
US10152332B2 (en) Information processing apparatus, information processing method, and storage medium
JP5338505B2 (en) Information processing apparatus, program, and recording medium
US8537438B2 (en) Information processing apparatus in which a plurality of types of print drivers and plurality of graphics units run, control method therefor, and program
US8045198B2 (en) System and method for processing a change history of a PDF file
US9354832B2 (en) Print system for recovering a print job in a redundant print server, print server and print control method
US10003703B2 (en) Data processing apparatus and print system
US9507544B2 (en) Information processing apparatus, recording medium, and control method to process print data using filters
JP2014109854A (en) Information processor, control method and program
US9311036B2 (en) Data processing system and method of data processing
JP5655909B2 (en) Method and information processing apparatus
WO2017029987A1 (en) Print data management system, information processing device, and program and method for acquiring print data
JP2007323162A (en) Client device, server device, and program
JP5919925B2 (en) Program, information processing apparatus, storage medium
JP2018180667A (en) Printing management program, printing management method and printing management device
US20160041795A1 (en) Information processing apparatus and method for controlling the same
US10310788B2 (en) Control method for generating data used for printing and information processing apparatus
US8860961B2 (en) Information processing apparatus, information processing system and computer readable medium
JP2015011488A (en) Print data management system, information processing device, print data acquisition program, and method
JP4861841B2 (en) Print data generation apparatus, print data generation method, printer driver program, document data generation server, document data generation method, document data generation program, and print data generation system
US8228533B2 (en) Image processing system, image processing method, computer readable medium, and computer data signal
JP2014029633A (en) Information processing device and printing system
US20220413776A1 (en) Image forming apparatus that stores link file indicating path to second resource file in sub folder, instead of first resource file, when second resource file of same content as first resource file, included in image forming job submitted to hot folder, is stored in hot folder storage region, image forming method, and image forming program
JP2012141732A (en) Information processor, control method and program
JP5459383B2 (en) Print data generation apparatus, print data generation method, printer driver program, and print data generation system
JP2009276919A (en) Image information processor, image formation processor and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16836978

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16836978

Country of ref document: EP

Kind code of ref document: A1