phenomenon: The printed file has a stain or black handwriting.
Cause: the cartridge is dirty.
The solution is as follows:
First, wipe the ink cartridge nozzle and contact point.
1. Press the "Change Cartridge" button on the control Panel.
2. Open the Control Panel and cartridge hatch, and then remove the cartridge.
3. Use a clean wet cloth to gently wipe the ink cartridge copper area, including the nozzle and the dry ink on the contact point, in order to better dissolve the dry ink,
Test instructions: Given a string, ask if there is exactly one K string that is a palindrome and is as long as that.Analysis: There is nothing to say, each interception n/k, judge is not a palindrome good.The code is as follows:#include Codeforces 548A Mike and Fax (palindrome, water problem)
If an image contains an image with an RGB value of 0xF7F7F7, the image area is heavily colored in the image and fax viewer. Put it in the drawing program for comparison and you can see it (you can also see it without comparison, just to have a physical evidence ).In a simple example, select the view mode as detailed information in the resource manager of XP. Then, the base color of the sorting column is 0xF7F7F7. After screenshots are taken, we can ve
//Create a new system processSystem.Diagnostics.Process Process =NewSystem.Diagnostics.Process (); //set the file name, here is the true path of the picture + file nameProcess. Startinfo.filename =FileName; //This is a critical part. Sets the process run parameters, at which time the picture is displayed for the maximized window. Process. Startinfo.arguments ="rundll32.exe C://windows//system32//shimgvw.dll,imageview_fullscreen"; //This entry is not available if the shell is used to execute the
Reason Analysis:
Because the Windows Picture and Fax Viewer does not exist programmatically, the form of a dynamic-link library exists in the Explorer.exe program, with the name C: Windowssystem32shimgvw.dll, while Shimgvw.dll is inserted into the EXPLORER.EXE main program as a thread, one of the benefits of a dynamic-link library (DLL) is to reduce system resource production without creating a separate program for it. Instead, insert other programs
Verify password: Can only enter 6-20 letters, numbers, underscoresThe code is as follows:
function ispasswd (s)
{
var patrn=/^ (W) {6,20}$/;
if (!patrn.exec (s)) return false
return True
}
Check ordinary telephone, fax number: You can "+" start, in addition to numbers, can contain "-"The code is as follows:
function Istel (s)
{
var patrn=/^[+]{0,1} (d) {1,3}[]? ([-]? (d) {1,12}) +$/;
var patrn=/^[+]{0,1} (d) {1,3}[]? ([-]? ((d) | []) {
34.1 LPR: Printing files
34.2 lpq: Show print queue status
34.3 LPRM: Canceling a print job
34.4 Lpstat: Show cups status information
34.5 cupsaccept: Accept job sent to destination
34.6 Cupsreject: Reject job sent to destination
34.7 cupsenable: Start Printer and class
34.8 cupsdisable: Stop printer and class
34.9 cancle: Canceling printing
34.1 LPR: Printing files34.2 lpq: Show print queue status34.3 LPRM: Canceling a print job34.4 Lpstat: Show cups status
Example:There are black lines on both sides of the paper that are sent and copied, but it is normal to print the test page. Original cause:The document scanner is dirty and needs to be cleaned. The solution is as follows: I. Clean white rollers 1.
Copy codeThe Code is as follows: function isTel (object)
{
Var s = document. getElementById (object. id). value;
// Verify the phone number and mobile phone number
Var pattern =/^ (\ d {11}) | ^ (\ d {7, 8}) | (\ d {4} | \ d {3 }) -(\ d {7, 8}) |
In order to implement this function today, I have reviewed numerous materials on the Internet, and I don't know how to call it, either VB or. Finally, the answer is found in the example given by msdn. The Code is as follows
// Create a New System
First download the Alternatiffx-1_8_2 plugin (http://www.alternatiff.com/);
After installing the plug-in, it can be applied, for example:
Test tifClassid= "clsid:106e49cf-797a-11d2-81a2-00e02c015623" >Src= "1173167831.674.tif" type=
Copy codeThe Code is as follows:Function isTel (object){Var s = document. getElementById (object. id). value;// Verify the phone number and mobile phone numberVar pattern =/^ (\ d {11}) | ^ (\ d {7, 8}) | (\ d {4} | \ d {3 }) -(\ d {7, 8}) | (\ d {4}
From: http://blog.csdn.net/destimarve/article/details/3869486
In order to achieve this function today, I have reviewed numerous materials on the Internet, and I don't know how to call it, either VB or. Finally, the answer is found in the example
Copy Code code as follows:
function Istel (object)
{
var s =document.getelementbyid (object.id). value;
Telephone and cell phone number verification
var pattern =/^ ((\d{11}) |^ ((\d{7,8}) | ( \D{4}|\D{3})-(\d{7,8}) | (\d{4}|\d{3})-(\d{7,8})
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.