CN106201374A - A kind of for judging method and the printer that print job originates - Google Patents

A kind of for judging method and the printer that print job originates Download PDF

Info

Publication number
CN106201374A
CN106201374A CN201610496393.9A CN201610496393A CN106201374A CN 106201374 A CN106201374 A CN 106201374A CN 201610496393 A CN201610496393 A CN 201610496393A CN 106201374 A CN106201374 A CN 106201374A
Authority
CN
China
Prior art keywords
print job
mac address
network card
printer
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610496393.9A
Other languages
Chinese (zh)
Inventor
程若飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING JIAHUA LONGMA TECHNOLOGY Co Ltd
Original Assignee
BEIJING JIAHUA LONGMA TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING JIAHUA LONGMA TECHNOLOGY Co Ltd filed Critical BEIJING JIAHUA LONGMA TECHNOLOGY Co Ltd
Priority to CN201610496393.9A priority Critical patent/CN106201374A/en
Publication of CN106201374A publication Critical patent/CN106201374A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1287Remote printer device, e.g. being remote from client or server via internet
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1275Print workflow management, e.g. defining or changing a workflow, cross publishing

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 is a kind of for judging the method that print job is originated, including: when carrying out printing, MAC Address of Network Card and print job according to accessed current computer are to generate the request of print job stream, and send it to printer;After printer parses MAC Address of Network Card and print job in being asked by print job stream, print job is added in print job sequence, and in order print job is printed;By checking the MAC Address of Network Card being saved in printer storage, to learn the source of print job.Implement the printer of said method, including controller and print components, it is characterised in that also include parsing module, memorizer and check module.The present invention uses the MAC Address of Network Card corresponding with computer network interface card as the unique conditional distinguishing that mimeograph documents are originated, and by checking that the MAC Address of Network Card stored in printer is just appreciated that the source of mimeograph documents, and can ensure its uniqueness originated.

Description

A kind of for judging method and the printer that print job originates
Technical field
The present invention relates to a kind of Method of printing, a kind of for judging method and the printer that print job originates.
Background technology
At present, determine that the mode that print job is originated generally comprises following two:
1, by sending the current computer title of print job to printer to determine the source of print job;
2, by sending the current computer IP address of print job to printer to determine the source of print job.
In using current computer title in the way of determining the source of print job, if added in current local area network Router, may result in current computer title in LAN and changes, it is impossible to ensure the uniqueness of current computer title.
It addition, in using current printing calculator IP address in the way of determining the source of print job.If currently beaten Print computer is in router rear end, because security reason, the IP of original print computer can be replaced with accessor by router Address, now, printer can only determine that print job derives from this router, thus cannot determine that print job is really originated.
Summary of the invention
For weak point present in the problems referred to above, the present invention provides a kind of by checking the net stored in printer Card MAC Address is just appreciated that mimeograph documents are originated, and can ensure that the one of uniqueness that print job originates is for judging The method in print job source and printer.
For achieving the above object, the present invention provides a kind of for judging the method that print job is originated, and comprises the following steps:
Step 1, when carrying out printing, according to MAC Address of Network Card and the print job of accessed current computer To generate the request of print job stream, and send it to printer;
After step 2, printer parse MAC Address of Network Card and print job in being asked by print job stream, printing is made Industry is added in print job sequence, and prints print job in order;
Step 3, by checking the MAC Address of Network Card being saved in printer storage, to learn the source of print job.
Above-mentioned is a kind of for judging the method that print job is originated, wherein, in step 1, when carrying out printing, Including following two situation:
In situation one, including following sub-step:
Step 11, user when using the network printer that is connected with current computer to carry out printing, then according to Family operation prints and chooses the network port, and obtains this MAC Address of Network Card;
Step 12, after encoding MAC Address of Network Card to generate MAC Address of Network Card coding information, with print job To generate the request of print job stream, and the request of print job stream is sent to the network printer;
In situation two, including following sub-step:
Step 11`, user are when using the local printer being connected with current computer to carry out printing, it is thus achieved that current The MAC Address of Network Card of computer;
Step 12`, according to the MAC Address of Network Card of current computer with print job to generate the request of print job stream, and will It sends to printer.
Above-mentioned is a kind of for judging the method that print job is originated, wherein, before step 11 is implemented with step 11`, also Need to install in current computer to get MAC Address of Network Card the printer driver that MAC Address of Network Card is preserved Program.
Above-mentioned is a kind of for judging the method that print job is originated, wherein, in step 2, including following sub-step:
Received print job stream request is resolved, to be beaten by step 21, printer by parsing module MAC Address of Network Card included in print job stream request and print job;
Step 22, print job is added in print job sequence, and in order print job is printed.
Above-mentioned is a kind of for judging the method that print job is originated, and wherein, in step 22, print job is being added When print job sequence, in print job sequence, identify title using MAC Address of Network Card as print job.
Above-mentioned is a kind of for judging the method that print job is originated, wherein, in step 3, it is judged that current network interface card MAC Whether address is that MAC Address of Network Card encodes information, including following two situation:
Situation one,
If it is determined that current MAC Address of Network Card be encoded after with generate MAC Address of Network Card coding information, then to net Card MAC Address coding information is decoded, and after obtaining former MAC Address of Network Card, former MAC Address of Network Card is saved in printer Memorizer in;
Situation two,
If it is determined that current MAC Address of Network Card is the former MAC Address of Network Card not carrying out encoding operation, then by current net Card MAC Address is saved in the memorizer of printer.
The present invention also provides for a kind of for judging the printer that print job is originated, including controller and print components, also Including parsing module, memorizer and check module;
Described parsing module is for resolving printing job stream request, to obtain MAC Address of Network Card and print job;
Described memorizer is used for storing MAC Address of Network Card;
Described check that module is for checking the MAC Address of Network Card stored in described memorizer.
Above-mentioned for judging the printer that print job is originated, wherein, also include judge module and decoder module;
Described judge module is for judging whether MAC Address of Network Card is the coding information after encoding;
Described decoder module is decoded for the MAC Address of Network Card implementing encoding operation encodes information, to obtain Former MAC Address of Network Card.
Compared with prior art, the invention have the advantages that
The present invention uses the MAC Address of Network Card corresponding with computer network interface card as the unique bar distinguishing that mimeograph documents are originated Part, by checking that the MAC Address of Network Card stored in printer is just appreciated that the source of mimeograph documents, and can ensure to print The uniqueness in operation source.
User is by checking the MAC Address of Network Card being saved in printer storage, to learn the source of print job, and And, it is also possible to according to MAC Address of Network Card to navigate to computer position corresponding thereto.
Accompanying drawing explanation
Fig. 1 is the flow chart of method part in the present invention;
Fig. 2 is the structured flowchart of printer in the present invention.
Main Reference Numerals is described as follows:
1-controller;2-print components;3-parsing module;4-memorizer;5-checks module;6-judge module;7-decodes Module
Detailed description of the invention
As it is shown in figure 1, the present invention provides a kind of for judging the method that print job is originated, comprise the following steps:
Step 1, when carrying out printing, according to MAC Address of Network Card and the print job of accessed current computer To generate the request of print job stream, and send it to printer.
Concrete, in step 1, when carrying out printing, including following two situation:
In situation one, including following sub-step:
Step 11, user when using the network printer that is connected with current computer to carry out printing, then according to Family operation prints and chooses the network port, to obtain this MAC Address of Network Card.
Separately add, before step 11 is implemented, in addition it is also necessary to install in current computer and can get MAC Address of Network Card right MAC Address of Network Card carries out the printed driver preserved.
Installing printed driver in current computer, printed driver can get currently in installation process All MAC Address of Network Card in computer, and accessed MAC Address of Network Card is preserved.
Wherein, accessed MAC Address of Network Card is stored in printed driver.
When carrying out printing, the network interface card MAC ground of the current computer preserved can be called from printed driver Location, or the MAC Address of Network Card of current computer is reacquired by printed driver.
Step 12, after encoding MAC Address of Network Card to generate MAC Address of Network Card coding information, with print job To generate the request of print job stream, and the request of print job stream is sent to the network printer.
In situation two, including following sub-step:
Step 11`, user are when using the local printer being connected with current computer to carry out printing, it is thus achieved that current The MAC Address of Network Card of computer.
Separately add, before step 11` is implemented, in addition it is also necessary to install in current computer and can get MAC Address of Network Card right MAC Address of Network Card carries out the printed driver preserved.
Installing printed driver in current computer, printed driver can get currently in installation process All MAC Address of Network Card in computer, and accessed MAC Address of Network Card is preserved.
Wherein, accessed MAC Address of Network Card is stored in printed driver.
When carrying out printing, the network interface card MAC ground of the current computer preserved can be called from printed driver Location, or the MAC Address of Network Card of current computer is reacquired by printed driver.
Step 12`, according to the MAC Address of Network Card of current computer with print job to generate the request of print job stream, and will It sends to printer.
After step 2, printer parse MAC Address of Network Card and print job in being asked by print job stream, printing is made Industry is added in print job sequence, and prints print job in order.
In step 2, including following sub-step:
Received print job stream request is resolved, to be beaten by step 21, printer by parsing module MAC Address of Network Card included in print job stream request and print job;
Step 22, print job is added in print job sequence, and in order print job is printed.
Wherein, print job, when being added to print job sequence, is printing using MAC Address of Network Card as print job Job sequence identifies title.
Step 3, by checking the MAC Address of Network Card being saved in printer storage, to learn the source of print job.
In step 3, it is judged that whether current MAC Address of Network Card is that MAC Address of Network Card encodes information, including following two Situation:
Situation one,
If it is determined that current MAC Address of Network Card be encoded after with generate MAC Address of Network Card coding information, then to net Card MAC Address coding information is decoded, and after obtaining former MAC Address of Network Card, former MAC Address of Network Card is saved in printer Memorizer in.
Situation two,
If it is determined that current MAC Address of Network Card is the former MAC Address of Network Card not carrying out encoding operation, then by current net Card MAC Address is saved in the memorizer of printer.
User is by checking the MAC Address of Network Card being saved in printer storage, to learn the source of print job, and And, it is also possible to according to MAC Address of Network Card to navigate to computer position corresponding thereto.
As in figure 2 it is shown, the present invention provides a kind of for judging the printer that print job is originated, including controller 1, print Assembly 2, parsing module 3, memorizer 4, check module 5, judge module 6 and decoder module 7.
Wherein, print components 2, parsing module 3, memorizer 4, check module 5, judge module 6 and decoder module 7 respectively It is connected with controller 1.
Parsing module is for resolving received print job stream request, to obtain in the request of print job stream The MAC Address of Network Card comprised and print job.
Judge module is for judging that MAC Address of Network Card encodes information with the MAC Address of Network Card generated after being encoded.
Decoder module is decoded for the MAC Address of Network Card implementing encoding operation encodes information, to obtain former net Card MAC Address.
Memorizer is for storing obtained MAC Address of Network Card.
Check that module is for checking the MAC Address of Network Card stored in memorizer.
User is by checking the MAC Address of Network Card being saved in printer storage, to learn the source of print job, and And, it is also possible to according to MAC Address of Network Card to navigate to computer position corresponding thereto.
These are only presently preferred embodiments of the present invention, be merely illustrative for invention, and nonrestrictive.This is specially Industry artisans understand that, it can be carried out many changes, revise, even in the spirit and scope that invention claim is limited Equivalence, but fall within protection scope of the present invention.

Claims (8)

1., for judging the method that print job is originated, comprise the following steps:
Step 1, when carrying out printing, MAC Address of Network Card and print job according to accessed current computer are with life Become to print job stream request, and send it to printer;
After step 2, printer parse MAC Address of Network Card and print job in being asked by print job stream, print job is added It is added in print job sequence, and in order print job is printed;
Step 3, by checking the MAC Address of Network Card being saved in printer storage, to learn the source of print job.
It is the most according to claim 1 a kind of for judging the method that print job is originated, it is characterised in that in step 1, When carrying out printing, including following two situation:
In situation one, including following sub-step:
Step 11, user when using the network printer being connected with current computer to carry out printing, then make according to user Industry prints and chooses the network port, and obtains this MAC Address of Network Card;
Step 12, after encoding MAC Address of Network Card to generate MAC Address of Network Card coding information, with print job with life Become to print job stream request, and the request of print job stream is sent to the network printer;
In situation two, including following sub-step:
Step 11`, user are when using the local printer being connected with current computer to carry out printing, it is thus achieved that current computer MAC Address of Network Card;
Step 12`, according to the MAC Address of Network Card of current computer with print job to generate the request of print job stream, and by it Deliver to printer.
The most according to claim 2 a kind of for judging the method that print job is originated, it is characterised in that step 11 with Before step 11` is implemented, in addition it is also necessary to install in current computer and can get MAC Address of Network Card and MAC Address of Network Card is carried out The printed driver preserved.
It is the most according to claim 1 a kind of for judging the method that print job is originated, it is characterised in that in step 2, Including following sub-step:
Received print job stream request is resolved by step 21, printer by parsing module, makees to obtain printing MAC Address of Network Card included in the request of industry stream and print job;
Step 22, print job is added in print job sequence, and in order print job is printed.
The most according to claim 4 a kind of for judging the method that print job is originated, it is characterised in that in step 22 In, print job is when being added to print job sequence, using MAC Address of Network Card as print job in print job sequence Mark title.
It is the most according to claim 1 a kind of for judging the method that print job is originated, it is characterised in that in step 3, Judge whether current MAC Address of Network Card is that MAC Address of Network Card encodes information, including following two situation:
Situation one,
If it is determined that current MAC Address of Network Card be encoded after with generate MAC Address of Network Card coding information, then to network interface card MAC Address coding information is decoded, and after obtaining former MAC Address of Network Card, former MAC Address of Network Card is saved in printer In memorizer;
Situation two,
If it is determined that current MAC Address of Network Card is the former MAC Address of Network Card not carrying out encoding operation, then by current network interface card MAC Address is saved in the memorizer of printer.
7. implement a kind of printer for judging method that print job originates described in claim 1, including control Device processed and print components, it is characterised in that also include parsing module, memorizer and check module;
Described parsing module is for resolving printing job stream request, to obtain MAC Address of Network Card and print job;
Described memorizer is used for storing MAC Address of Network Card;
Described check that module is for checking the MAC Address of Network Card stored in described memorizer.
8. according to the printer described in claim 7, it is characterised in that also include judge module and decoder module;
Described judge module is for judging whether MAC Address of Network Card is the coding information after encoding;
Described decoder module is decoded for the MAC Address of Network Card implementing encoding operation encodes information, to obtain former net Card MAC Address.
CN201610496393.9A 2016-06-30 2016-06-30 A kind of for judging method and the printer that print job originates Pending CN106201374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610496393.9A CN106201374A (en) 2016-06-30 2016-06-30 A kind of for judging method and the printer that print job originates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610496393.9A CN106201374A (en) 2016-06-30 2016-06-30 A kind of for judging method and the printer that print job originates

Publications (1)

Publication Number Publication Date
CN106201374A true CN106201374A (en) 2016-12-07

Family

ID=57463408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610496393.9A Pending CN106201374A (en) 2016-06-30 2016-06-30 A kind of for judging method and the printer that print job originates

Country Status (1)

Country Link
CN (1) CN106201374A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001022549A (en) * 1999-07-13 2001-01-26 Ricoh Co Ltd Printer system
CN1519692A (en) * 2003-01-22 2004-08-11 ���ǵ�����ʽ���� Management method of printing client machine in radio network and radio local net printer
US20070273924A1 (en) * 2006-05-26 2007-11-29 Fuji Xerox Co., Ltd. Recording medium storing printing program, printing apparatus, printing method, and computer data signal embodied in carrier wave
CN102104701A (en) * 2009-12-17 2011-06-22 村田机械株式会社 Image forming device
CN102193757A (en) * 2010-03-08 2011-09-21 精工爱普生株式会社 Printing control apparatus and printer search apparatus
CN102541482A (en) * 2010-12-27 2012-07-04 北大方正集团有限公司 Method and system for document printing control and document tracing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001022549A (en) * 1999-07-13 2001-01-26 Ricoh Co Ltd Printer system
CN1519692A (en) * 2003-01-22 2004-08-11 ���ǵ�����ʽ���� Management method of printing client machine in radio network and radio local net printer
US20070273924A1 (en) * 2006-05-26 2007-11-29 Fuji Xerox Co., Ltd. Recording medium storing printing program, printing apparatus, printing method, and computer data signal embodied in carrier wave
CN102104701A (en) * 2009-12-17 2011-06-22 村田机械株式会社 Image forming device
CN102193757A (en) * 2010-03-08 2011-09-21 精工爱普生株式会社 Printing control apparatus and printer search apparatus
CN102541482A (en) * 2010-12-27 2012-07-04 北大方正集团有限公司 Method and system for document printing control and document tracing

Similar Documents

Publication Publication Date Title
JP4165517B2 (en) Network printing instruction method and program
RU2637429C2 (en) Protection of data in consumed product memory
US7961340B2 (en) Printer, printing system and printing method for preventing abnormal printing
US20120188605A1 (en) Print control apparatus, print control system and print apparatus
KR101306430B1 (en) Information processing apparatus, method for controlling the same, and storage medium
CN103841111A (en) Method for preventing data from being submitted repeatedly and server
GB0206192D0 (en) A method and apparatus for estimating printer resources
CN102546606B (en) Telnet command filter method, network safety device and network safety system
WO2015081693A1 (en) Network sharing user identification method and apparatus
WO2019161622A1 (en) Dynamic configuration method, terminal device, network device and computer storage medium
CN106327143B (en) Method and apparatus for nodes in a flow
WO2017107698A1 (en) Printing control system and method
CN106201374A (en) A kind of for judging method and the printer that print job originates
US8368933B2 (en) Image forming device configured to record print history in a server
US7284277B2 (en) Secured printing
KR100613600B1 (en) Printer for directly printing pdf batch file and method thereof
CN115297104A (en) File uploading method and device, electronic equipment and storage medium
KR20050060756A (en) Image foming device and auto emulation switching metod
US20130083355A1 (en) Information processing system, data processing device, and information processing method
JP2007106030A (en) Printer
US8612399B2 (en) Alteration detecting apparatus and alteration detecting method
CN113632510A (en) Conversion device, conversion method, and recording medium
JP2018199277A (en) Information processing device and method, image formation system, and program
US8806257B2 (en) Image processing apparatus and control method thereof
US20180035008A1 (en) Image Forming Method That Ensures High Speed Monochrome Printing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207