The socket system of PictBridge compatible printer
Technical field
The present invention relates to LAN device, relate in particular to a kind of between printer and interface device between the LAN and the correlation technique of supporting the PictBridge agreement.
Background technology
Because digital camera is widely popular in recent years, the printer industry is the agitation in response to this wave number word image, also release and aim at the printer of printing digital photo and designing, simultaneously in order to simplify the process of photo printing, these printers all provide the connection mode different with conventional printer, similarly are directly to accept memory card or the interface function of directly being printed by digital camera.But as any emerging product, each dealer respectively has own exclusive connection mode and agreement, even and if belong to the digital camera and the printer of same brand, also have incompatible situation.In order to solve the puzzlement of this interface difference, Japanese CIPA (Camera﹠amp; Imaging Products Association) association proposes the agreement CIPA-DC-001 (being commonly referred to as PictBridge) of a standard, make the digital camera (or digital VTR, camera cell phone) of any support PictBridge agreement, can directly print digital photo from the printer of any support PictBridge.
Though PictBridge becomes the standard of accepting extensively gradually, undeniable had a large amount of digital cameras, camera cell phone, digital VTR etc. not to support this standard on the market.In addition, mainly be at individual user at the beginning of the PictBridge design, so be to adopt a digital camera and a printer with the man-to-man mode of operation of USB cable to connecting.In other words, PictBridge agreement and be not suitable for allowing multiple arrangement share.
Based on these shortcomings, then there is a kind of conception that the PictBridge port of PictBridge compatible printer is combined by an interface device and LAN, make it become resources shared on the LAN, all can connect the arithmetic unit of LAN, except general computer installation, other for example supports the multi mode terminal, PDA etc. of 802.11a/b/g, also can with digital photo or itself image archives, file print from the PictBridge compatible printer by this device.
This device is very similar but actual inequality with traditional printing servomechanism installation to a certain extent.Shown in Figure 1 is the schematic network structure of traditional prints servomechanism installation.As shown in Figure 1, printer 40 is to be connected with printing servomechanism installation 30 with interface (for example USB or parallel port etc.) with suitable cable, prints servomechanism installation 30 and is connected with LAN 10.Under so-called point-to-point (Peer-to-peer) pattern, the arithmetic unit 20 of client is equipped with the driver 202 of back printer 40, during printing, typescripts is via driver 202, become the print job (print job) of 203 li of print queues (print queue), again via network driver 201, send printing servomechanism installation 30 to network communication protocol, print from printer 40 again.The process of another print queue based on server (Server-basedPrint Queue) pattern is also very similar, basically difference is to be positioned on the webserver 21 in print queue only, rather than implementing on the arithmetic unit of printing 20, so the print queue that print job passes to the webserver 21 from arithmetic unit 20 is earlier sent to by the webserver 21 and prints servomechanism installation 30.Note that, the action of printing driver 202 via printer 40 on arithmetic unit 20 has just been finished (just as the printer prints at this machine) basically, is follow-uply to send to and print servomechanism installation 30 and printer 40 by LAN 10 (rather than this machine parallel port or USB port).In other words, printing servomechanism installation 30 is a simple device of not having intelligence (intelligence) basically.
Fig. 2 is the digital camera of PictBridge compatibility and the structural representation of printer interaction.As shown in Figure 2, be directly to be connected between the digital camera of PictBridge compatibility and the printer, and must play the part of the role of client (Client) and server (Server) according to the PictBridge agreement each other mutually with the USB cable.When digital camera will be printed photograph, it is printed client (Print Client) and sends request to the printing server (Print Server) of printer, and printer is when carrying out this print job, and its storage client (Storage Client) oppositely asks for the digital photo that will print to the storage server (Storage Server) of digital camera.This external digital camera is with at the beginning of printer is connected with the USB cable, and digital camera also can be via a mechanism of consulting (negotiation) to grasp the function that printer was had.These be not do not have intelligence traditional printing servomechanism installation can under known network printing structure, finish.
Summary of the invention
Based on above-mentioned PictBridge and traditional problem that does not conform to via the network printing structure of printing servomechanism installation, the present invention proposes to comprise an interface device and the method that is implemented on a driver, make the arithmetic unit that this driver also can be connected with LAN is installed, all can print from the PictBridge compatible printer of any brand by LAN.
The socket system of PictBridge compatible printer proposed by the invention, it comprises a driver and an interface device, this interface device supports the PictBridge port of the printer of PictBridge agreement to be connected with a USB cable and, this interface device is connected with a LAN with a socket in addition, this driver is installed in the operating system of the arithmetic unit on this LAN in the mode of a printed driver, this socket system is characterised in that: when an application program of this arithmetic unit was the printout object with this driver, the data that this driver is printed institute's desire earlier was converted to the document of a bitmap format of being scheduled to; This operating system according to a communications protocol of this interface device and this operating system compatibility, sends this bitmap document to this interface device via a network driver and this LAN; And this interface device is printed by this USB cable this bitmap document according to the PictBridge agreement by the printer of this support PictBridge agreement.
Be this interface device of arranging in pairs or groups, the arithmetic unit that all need be printed from the PictBridge compatible printer through interface device thus all needs to install one and is suitable for its hardware platform and implements general (universal) driver that the present invention proposes method.So it is because brand, the model of the PictBridge compatible printer that this driver does not limit interface device and connected or have which kind of print characteristic and function that this driver is called " general ".So when printing, driver of the present invention is converted to bitmap (bitmap) form with the data of printing, the result that will change utilizes traditional network printing structure (as shown in Figure 1) to send interface device to again, interface device according to its bitmap format of consulting printer characteristic, function and the support learnt, comes out bitmap printing again.
The detailed description and the claim scope that cooperate appended icon, embodiment, will on address other purpose of the present invention and advantage and be specified in after.Yet, should understand that appended icon is pure establishes the improper definition that is considered as the scope of the invention for explaining orally spirit of the present invention.The definition of the relevant scope of the invention please refer to appended claim.
Description of drawings
Fig. 1 is the schematic network structure of traditional prints servomechanism installation;
Fig. 2 is the digital camera of PictBridge compatibility and the structural representation of printer interaction;
Fig. 3 a is the applied environment synoptic diagram of first embodiment of the invention;
Fig. 3 b is the applied environment synoptic diagram of second embodiment of the invention.
Among the figure
10 LAN, 20 arithmetic units
21 arithmetic units, 22 arithmetic units
30 print servomechanism installation 31 interface devices of the present invention
40 printers, 41 PictBridge compatible printers
50 access devices
201 network drivers, 202 printed drivers
203 print queues, 205 drivers of the present invention
Embodiment
As mentioned above, the present invention mainly comprises two parts: an interface device and a method that is implemented on driver.Fig. 3 a is the applied environment synoptic diagram of first embodiment of the invention.In this embodiment, interface device 31 of the present invention is to be connected with the printer 41 of any support PictBridge agreement with a USB cable (not label).The printer of PictBridge compatibility generally has two ports, one is parallel port or the USB port that is connected usefulness with computer equipment, and another then is the USB port (being called the PictBridge port in this manual) of linking to each other for the PictBridge compatible apparatus specially.The USB cable of interface device 31 promptly is the PictBridge port that is inserted in printer 41.
In the present embodiment, interface device 31 has a wireless network interface of supporting home control network communication protocols such as 802.11a/b/g, and itself does not possess the function of access device (access point), therefore be with an access device 50 lines to be connected with LAN 10.Interface device 31 is the same with general wireless stations (wireless station) with the connection mode of access device 50, needs the parameters such as SSID, WEP of setting and access device 50 compatibilities.Usually also have some display lamp numbers or the display screen of LCD on the fuselage of interface device 31, with the mode of operation of display interface device 31.About the networking function of interface device 31, mode and set that all the wireless stations with traditional is identical, do not repeat them here.
Interface device 31 is an independent device in the present embodiment, but also has other embodiment that interface device 31 and other network equipment are combined, and for example access device can provide the function of this interface device simultaneously.When interface device 31 is an autonomous device, its hardware configuration is the same with general arithmetic unit, also is to have a processor, a flash memory (to deposit control element), random access memory, a various I/O interface and connect bus of these assemblies etc.The control element of interface device 31 is played the part of two roles.For PictBridge compatible printer 41, the control element of interface device 31 makes it as digital camera shown in Figure 2, have the function of printing client and storage client equally, and with the program that meets the PictBridge agreement and the printing server and storage client connection of printer 41.On the other hand, the control element of interface device 31 has and the general identical network printing function of servomechanism installation of printing it.So the user can adopt step that traditional setting network prints, with identical procotol (for example NetBEUI, TCP/IP, RAW, LPR) etc., set up the mechanism that prints to printer 40 from arithmetic unit 20,21,22.
After interface device 31 connects printer 41 and is wired to access device 50, also need to install the driver of the present invention 205 that is fit to its platform on the arithmetic unit 20,21,22.From the angle of the operating system of arithmetic unit, the driver of driver 205 and other any brand printer is the same.That suppose on the arithmetic unit 20 to carry out is Windows
The operating system of series, the user adopts Windows
The mounting means of " the newly-increased printer " of operating system.(for example arithmetic unit 22 is to carry out WinCE because the hardware and the operating system of arithmetic unit are not quite similar
The PDA of operating system), therefore different arithmetic units may need different driver 205.
When printing, driver 205 is the same except the printed driver with traditional a bit.With point-to-point pattern is example, it is to start behind the object of printout to print that application program on the arithmetic unit 20 is selected with driver 205, driver 205 is data of earlier institute's desire being printed then, convert the form (for example one of forms such as BMP, JPEG, TIFF, GIF) of the good bitmap of a decision in advance to, become the print job of 203 li of print queues then, again via network driver 201, send interface device 31 to network communication protocol, print from printer 40 according to the PictBridge agreement again.Interface device 31 of the present invention and driver 205 are under another print queue pattern based on server, process is also very similar, difference is to be positioned on the webserver 21 in print queue only basically, rather than on the arithmetic unit of printing 20, print job sends interface device 31 to by the webserver 21 again.In other embodiment, interface device 31 is to be connected with LAN 10 in wired mode, shown in Fig. 3 b.Fig. 3 b is the applied environment synoptic diagram of second embodiment of the invention, and it is to be connected with LAN 10 in wired mode at interface device 31 just with the main difference of last embodiment.Other is set, the step of operation is all identical with last embodiment.Socket that so interface device 31 can have wired or wireless (genetic system).
By the above detailed description of preferred embodiments, hope can be known description feature of the present invention and spirit more, and is not to come category of the present invention is limited with above-mentioned disclosed preferred embodiment.On the contrary, its objective is that hope can contain in the claim scope of being arranged in of various changes and tool equality institute of the present invention desire application.