CN102541487B - A kind of method and system for printing sectional drawing - Google Patents
A kind of method and system for printing sectional drawing Download PDFInfo
- Publication number
- CN102541487B CN102541487B CN201110426495.0A CN201110426495A CN102541487B CN 102541487 B CN102541487 B CN 102541487B CN 201110426495 A CN201110426495 A CN 201110426495A CN 102541487 B CN102541487 B CN 102541487B
- Authority
- CN
- China
- Prior art keywords
- sectional drawing
- image
- printing
- user
- 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.)
- Active
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention provides a kind of method and system for printing sectional drawing, belong to computer, network technique field.This method comprises the following steps:First, screenshot capture request is received, starts screenshot capture function;Then, instructed according to the sectional drawing received, the image of respective regions is intercepted in the interface of user terminal;Finally, print command is gathered, preserves and print the screenshot capture intercepted in previous step.System of the present invention is made up of screenshot capture module, picture editting's module and image print module three parts.Using the present invention, user the direct currently received picture file of printing user, can reach the operating procedure that simplified user prints picture, improve the usage experience of user by the control in sectional drawing, provided by sectional drawing tool bar.
Description
Technical field
The invention belongs to computer, network technique field.
Background technology
With extensive use of the computer in the routine work, life of people, the application program using computer as platform
Also it is more and more.In daily use, sectional drawing can conveniently and efficiently obtain and preserve some figures.Need to print under certain situation
The picture of user's interception, but in the prior art, the file of user's printing need to be existing file in user computer.In such case
Under, user, it is necessary to first preserve institute sectional drawing piece in the terminal, then carries out printing behaviour when printing sectional drawing to the picture after preservation
Make, step is relatively complicated.
The content of the invention
The purpose of the present invention, it is to provide a kind of method for printing sectional drawing, and supporting system, utilizes the present invention, user
It can reach simplified user by the picture file at sectional drawing, currently intercepted by the direct printing user of sectional drawing instrument and beat
The operating procedure of impression piece, improve the usage experience of user.
A kind of method for printing sectional drawing comprises the following steps:
Step 1, screenshot capture request is received, starts screenshot capture function;
Step 2, instructed according to the sectional drawing received, the image of respective regions is intercepted in the interface of user terminal;
Step 3, print command is gathered, preserves and print the screenshot capture intercepted in previous step.
Further, a kind of method for printing sectional drawing of the present invention also has following technical characteristic:
Preferably, the triggering mode of screenshot capture function includes shortcut triggering mode in the step 1 and/or control touches
Originating party formula.
Preferably, in the step 2, after the image according to the command interception respective regions of user, picture editting is started
Function, step be,
Step 2-1, in action pane display image edit tool bar;
Step 2-2, edit operation is carried out to the image in selection area according to the user's edit instruction received.
Preferably, in the step 3, the print command of screenshot capture, it is located at image editing tools during by triggering sectional drawing
Word depghi in bar produces.
Preferably, it is the step of print screen sectional drawing in the step 3,
Step 3-1, after the print command for receiving family, the image attributes through step 2 truncated picture according to setting is pressed
Cached according to specified store path;
Step 3-2, the sectional drawing file after printing preservation.
Preferably, the sectional drawing file preserved in the step 3-1 is deleted after step 3-2 is printed.
Preferably, the image attributes in the step 3-1 includes image name and picture format.
Preferably, described image title default setting is the sectional drawing time.
Preferably, the store path default setting specified for temporary folder on the terminal device.
The present invention also provides a kind of system for printing sectional drawing, and the system includes:
Sectional drawing trigger module, screenshot capture request is received, starts screenshot capture function;
Sectional drawing execution module, instructed according to the sectional drawing received, the figure of respective regions is intercepted in the interface of user terminal
Picture;
Sectional drawing print module, print command is gathered, preserves and print the screenshot capture intercepted in previous step.
Further, corresponding described picture editting's module is additionally provided with image editing tools module, for each image to be compiled
Collect function and user interface is shown in the form of control, and gather edit instruction of the user to image.
Further, corresponding described image print module is additionally provided with print attribution setting module, for receiving family
Print command after, generate the dialog box for showing print attribution.
Brief description of the drawings
Fig. 1 is a kind of method flow diagram for printing sectional drawing of the present invention.
Fig. 2 is a kind of image editing tools bar schematic diagram printed in screenshot method of the present invention.
Fig. 3 is a kind of structured flowchart for printing sectional drawing system of the present invention.
Embodiment
It is directed to the description of major function of the present invention:
The invention provides a kind of method and system for printing sectional drawing, using the present invention, user can pass through in sectional drawing
The control that sectional drawing tool bar provides, the file of the direct current sectional drawing of printing user, reach the operation step that simplified user prints picture
Suddenly, the purpose of the usage experience of user is improved.
With reference to the accompanying drawings, the present invention is described further in conjunction with specific embodiments.
Fig. 1 describes a kind of screenshot method that prints of the present invention and realizes step.
In step S101, asked according to the screenshot capture for coming from user received, start screenshot capture function.
Wherein, for example and without limitation, the triggering mode of screenshot capture function has two kinds, is shortcut triggering side respectively
Formula and control triggering mode.
Described shortcut triggering, can be by the way of hot key, to set Macintosh, for example, setting Macintosh " Alt+
Ctrl+P " is used as shortcut, and sectional drawing triggering command can be produced after triggering, screenshot capture function corresponding to unlatching.
In step s 102, instructed according to the sectional drawing received, intercept the image of respective regions.
As an example, for Windows operating system, the instruction of described sectional drawing can be by gathering mouse in form
In operation information realize.For example referred to using the mode of the message loop of manager window to capture the mouse action of user
Order, including current mouse action mark is obtained, and judge whether current mouse action has the release such as release using message parameter
Action, so as to obtain the position data of active user's mouse click, obtain the rectangular area that user chooses.It is pointed out that
User can also choose other shapes of screenshot area, not limit specifically;Or other sectional drawing principles are used, specifically
Do not limit.
As shown in Fig. 2 screenshot area 100 is the screenshot area scope obtained according to user's mouse information in figure.
In step s 103, the respective regions image being truncated to is edited.
Further, after the image according to the command interception respective regions of user, image editing function is started:
Step 2-1, in action pane display image edit tool bar;
Step 2-2, edit operation is carried out to the image in selection area according to the user's edit instruction received.
As shown in Fig. 2 it is determined that after screenshot area, screenshot area data are read, and start image editing tools bar 200.
Image editing tools bar 200 provides the user picture editting's control 210, according to the selection and operation of user, to screenshot area number
According to modifying.
In step S104, print command is gathered, preserves and prints the screenshot capture of interception.
As an example, the print command of screenshot capture, it is under sectional drawing state, collection acquisition is directed to picture editting's control
Start after the triggering message of word depghi 211 in 210.
Further, print screen sectional drawing includes following two steps:
Step 3-1, after the print command for receiving family, the image attributes through step 2 truncated picture according to setting is pressed
Cached according to specified store path;
Step 3-2, the sectional drawing file after printing preservation.
As an example, the image attributes described in step 3-1 includes image name and picture format, and image name is default to be set
It is set to sectional drawing and the specific time occurs, this can be by carries out data acquisition with the api function of time correlation.Such as title
" 2011-12-01-10-52 ", it is the time for carrying out image interception operation to represent " 52 minutes December 01 day 10 point in 2011 ".
In addition, the specified store path described in step 3-1, default setting for temporary file on the terminal device
Folder.By taking WindosXP systems as an example, the specified store path can be using default setting as c:\Documents and
Settings\Administrator\Local Settings\Temporary Internet Files。
After foregoing print command is triggered, the printing started in the place terminal associated with print command triggering is set
It is standby, and generate the dialog box for showing print attribution.Described print attribution, as an example, including printing number, whether
The configuration information such as scaling and various Printing Qptionses.It is determined that printing can be carried out afterwards.Or direct beating according to acquiescence
Set-up mode is printed, foregoing screenshot area is directed to and carries out printing.
Further, can also as needed after completing printing, the sectional drawing file that will be preserved in the step 3-1,
Path according to the storage of its file obtains this document, and is deleted.
Foregoing method is correspond to, present invention also offers a kind of system for printing sectional drawing, the system architecture such as Fig. 3 institutes
Show.
As can be seen from Figure, system 300 of the present invention includes:
Sectional drawing trigger module 310, screenshot capture request is received, starts screenshot capture function;
Sectional drawing execution module 320, instructed according to the sectional drawing received, respective regions are intercepted in the interface of user terminal
Image;
Sectional drawing print module 330, print command is gathered, preserves and print the screenshot capture intercepted in previous step.
Further, corresponding described sectional drawing execution module 320 is additionally provided with image editing tools module 321, for by respectively
Image editing function is shown in user interface in the form of control, and gathers edit instruction of the user to image, and to the control
The operation information of part.
Corresponding described sectional drawing print module 330 is additionally provided with print attribution setting module 331, for receiving family
After print command, printing device in terminal where triggering, and generate the dialog box for showing print attribution.Wherein, it is described
Print attribution set, including the configuration information such as printing number, scaling and various Printing Qptionses.
Specifically, user passes through the sectional drawing of setting first when being operated using printing sectional drawing system 100 of the present invention
Trigger module 310, screenshot capture function is triggered, such as, shortcut " Alt+Ctrl+P " can be used, or click on and the function phase
It is corresponding to release the button.After screenshot capture function on, by sectional drawing execution module 320, according to the operation of user, catch
On-screen data, intercept the image of respective regions.After sectional drawing, by image editing tools module 321, by each picture editting's work(
User interface can be shown in the form of control, and then, edit instruction of the user to image or the operation to control can be gathered
Instruction.After the completion of editing and processing, by gathering corresponding word depghi in image editing tools module 321, send printing and refer to
Order.Image print module 330 caches sectional drawing data after the print command of word depghi is collected, and generates pair of print attribution
Window is talked about, printing is carried out according to the setting of printing situation of user, or directly printed according to the set-up mode of acquiescence
Operation.
Above is the description of this invention and non-limiting, the other embodiments based on inventive concept, the present invention's
Among protection domain.
Claims (11)
- A kind of 1. method for printing sectional drawing, it is characterised in that this method includes:Step 1, screenshot capture request is received, starts screenshot capture function;Step 2, instructed according to the sectional drawing received, the image of respective regions is intercepted in the interface of user terminal, according to user Command interception respective regions image after, start image editing tools bar be shown in action pane;Step 3, under sectional drawing state, the word depghi collection provided by described image edit tool bar is for interception image Print command, preserve and print the interception image.
- A kind of 2. method for printing sectional drawing according to claim 1, it is characterised in that:Screenshot capture work(in the step 1 The triggering mode of energy includes shortcut triggering mode and/or control triggering mode.
- A kind of 3. method for printing sectional drawing according to claim 1, it is characterised in that:In the step 2, pass through the figure As edit tool bar, edit operation is carried out to the image in selection area according to the user's edit instruction received.
- A kind of 4. method for printing sectional drawing according to claim 1, it is characterised in that:Print screen is cut in the step 3 The step of figure is,Step 3-1, after the print command for receiving family, by the image attributes through step 2 truncated picture according to setting, according to finger Fixed store path is cached;Step 3-2, the sectional drawing file after printing preservation.
- A kind of 5. method for printing sectional drawing according to claim 4, it is characterised in that:What is preserved in the step 3-1 cuts Map file is deleted after step 3-2 is printed.
- A kind of 6. method for printing sectional drawing according to claim 4, it is characterised in that:Image category in the step 3-1 Property includes image name and picture format.
- A kind of 7. method for printing sectional drawing according to claim 6, it is characterised in that:Described image title default setting is The sectional drawing time.
- A kind of 8. method for printing sectional drawing according to claim 4, it is characterised in that:The store path specified is default Be arranged to temporary folder on the terminal device.
- 9. a kind of system for printing sectional drawing, it is characterised in that the system includes:Sectional drawing trigger module, screenshot capture request is received, starts screenshot capture function;Sectional drawing execution module, instructed according to the sectional drawing received, the image of respective regions, root are intercepted in the interface of user terminal After image according to the command interception respective regions of user, start image editing tools bar and be shown in action pane;Sectional drawing print module, under sectional drawing state, the word depghi collection provided by described image edit tool bar is for cutting The print command of image is taken, preserves and prints the interception image.
- A kind of 10. system for printing sectional drawing according to claim 9, it is characterised in that:Corresponding described sectional drawing performs mould Block is additionally provided with image editing tools module, for each image editing function to be shown in into user interface in the form of control, and adopts Collect edit instruction of the user to image.
- A kind of 11. system for printing sectional drawing according to claim 9, it is characterised in that:Corresponding described sectional drawing impression block Block is additionally provided with print attribution setting module, for after the print command at family is received, generating for showing print attribution Dialog box.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110426495.0A CN102541487B (en) | 2011-12-18 | 2011-12-18 | A kind of method and system for printing sectional drawing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110426495.0A CN102541487B (en) | 2011-12-18 | 2011-12-18 | A kind of method and system for printing sectional drawing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102541487A CN102541487A (en) | 2012-07-04 |
CN102541487B true CN102541487B (en) | 2018-01-09 |
Family
ID=46348469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110426495.0A Active CN102541487B (en) | 2011-12-18 | 2011-12-18 | A kind of method and system for printing sectional drawing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102541487B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106911850B (en) * | 2017-02-27 | 2020-05-19 | 陈惠金 | Mobile terminal and screen capturing method thereof |
CN108664281A (en) * | 2018-03-13 | 2018-10-16 | 广东美晨通讯有限公司 | It obtains application and starts time method, electronic equipment and the device with store function |
CN115268802A (en) * | 2021-04-30 | 2022-11-01 | 华为技术有限公司 | Automatic printing method and electronic equipment |
CN113672180A (en) * | 2021-08-23 | 2021-11-19 | 维沃移动通信有限公司 | Print management method and apparatus |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102270139A (en) * | 2011-08-16 | 2011-12-07 | 潘天华 | Screenshot method |
-
2011
- 2011-12-18 CN CN201110426495.0A patent/CN102541487B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102270139A (en) * | 2011-08-16 | 2011-12-07 | 潘天华 | Screenshot method |
Also Published As
Publication number | Publication date |
---|---|
CN102541487A (en) | 2012-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102708539B (en) | Obtain method and the client of image by secondary sectional drawing | |
CN102929485B (en) | A kind of characters input method and device | |
CN102541487B (en) | A kind of method and system for printing sectional drawing | |
CN106681624B (en) | Annotation display methods and device based on touch display screen | |
CN104102419B (en) | Page display method, device and terminal device | |
CN106909855B (en) | File hiding method and device | |
CN102455857B (en) | Method and system for realizing quick links in mobile terminal browser | |
CN108566332A (en) | A kind of instant communication information processing method, device and storage medium | |
CN102323873B (en) | In order to trigger the method and system that icon is replied in instant messaging | |
CN102263706A (en) | Image interception method and apparatus thereof | |
WO2015085840A1 (en) | Backup and related operations | |
CN102801649A (en) | Method and terminal for establishing shortcut of instant messaging interactive interface | |
CN102663791A (en) | Method aimed at editing screenshot area and client-side thereof | |
CN102270139B (en) | Screenshot method | |
CN107220051A (en) | A kind of processing method of interactive information, device and terminal | |
CN104978352B (en) | The method and client of information processing | |
CN102710553A (en) | Method and client for reminding instant communication message | |
CN102541600A (en) | Method for starting document through instant messaging tool, client and system | |
CN102023987A (en) | Method and device for processing WEB document | |
CN103399685B (en) | Method, device and terminal for restoring language settings | |
CN106020740B (en) | The method of backup is printed under a kind of Windows environment | |
CN102508699A (en) | Terminal and data processing method | |
CN102413066A (en) | Input method toolbar having an instant messaging function, a realization method and a system | |
CN103297315B (en) | Information processing method and equipment | |
CN104699773A (en) | Application software management method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |