Achieve the following effects:Here's how it's implemented:Using System;Using System.Drawing.Printing;Using System.Runtime.InteropServices;Using System.Windows.Forms;namespace Piss. View.customcontrol{Public partial class Printerconfigmessbox:form {#region Define, construct, initialize[DllImport ("Winspool.drv")]//Call the win API to set the specified name of the printer as the default printerPublic static extern bool SetDefaultPrinter (String Name);pr
When adding a shared network printer, the system prompts "access denied" and other information. You cannot add a printer.Cause analysis:This problem is caused by insufficient user permission settings for the shared printer.Solution:Open printer properties or share interfaceIf no everyone user exists, add the user and grant the print permission.Fault symptom:When you add a shared network
Do you encounter this situation when you use a printer? Then the printer window does not have a printer, so how exactly to solve it? First of all, we must have read all I said after reading the specific how to operate, first of all you need to click on the desktop above my computer, Then you need to right-click to select the Admin option, then find the service an
true;}Else{return false;}}Print functions, parameters for printer commands or other text!public bool Write (string MyString){if (ihandle! = 1){int i;OVERLAPPED x;byte[] MyByte = System.Text.Encoding.Default.GetBytes (MyString);Return WriteFile (Ihandle, MyByte, MyByte. Length, out I, out x);}Else{throw new Exception ("Port is not open!") ");}}Close the print portpublic bool Close (){return CloseHandle (Ihandle);}}}************************************
Some departments can not be directly linked to the system for some reason, so must be set.
1, clear the location of the ticket set, respectively, is the name, date, charge items, itemized charges, the amount of the case, the name of the toll
2, and then in Excel to make the same table content, you can play bills
3, but the first to the printer to customize the paper, the amount of good bill is the length and width of the number.
4, from the
What to do when you connect to a network shared printer, "The operation cannot be completed, and the printer name you typed is incorrect", this tutorial provides you with a workaround.
1, when adding a printer, enter the IP of the other machine, and then automatically show the share name of the printer, this is a very
" menu and choose "Printers and Faxes".
10. In the Open Printers and Faxes folder, you find that you already have a default printer icon.
11. After you add the printer you want, right-click the target printer and choose Set as default printer to set the pr
1. In the lower left corner of the computer there is a win key, that is, the "Start" menu, we click on it or right click it will see a "Control Panel" click on it to enter.
2. Then we went into the control panel of the system and we found the "Network and Sharing Center" option to click into.
3. Into this interface we find the "Change advanced sharing Settings" on the left to go as shown in the following figure.
4. In the following figure we will see a "File and
Failure Phenomenon:
The Windows 7 system shared printer appears "Cannot save printer setup operation cannot complete error 0x00000d9".
Reason Analysis:
This problem is due to the firewall Windows Firewall service not being opened.
Solution:
Turn on Windows Firewall service
Method One
1. Right mouse click on my Computer, choose management and open management;
2. Open the se
I have been logging onto the blog for a long time. I have just been in the development field for a year. I don't know what to write on my blog. Now I want to share some of my work experience with bar code printers.CodeI hope to give some help to scholars. I have a limited level and cannot write much. The specific code is as follows:
// Enable the serial port of the printer.
Internal class barcodeprinter{
// PortPrivate string filename;
Public
Reason Analysis:
Some people say that because the Windows Firewall service is not open, we can try to turn on Windows Firewall to see.
Workaround:
Open the Windows Firewall service.
Fayi
1. The desktop right click on the "Computer" and then click "Management" specific operation as follows;
2. In the Computer Management window, we find the "services and Applications" on the left and then double-click Services as shown in the figure;
3. Then we find
Note:
1. If the paper source is selected automatically from the printer driver, this option is not displayed.
2. If the paper disk protection is turned on, for example, the paper Disk 1 set to open, the paper plate switching process will exclude paper disk 1.
1. Press the "menu" key on the control Panel.
2. Press the Left/right arrow on the Control Panel to select System settings, and then press the OK key.
3. Press the Le
Printer structure and principle
A printer is a complex and sophisticated mechanical and electronic device. Regardless of the type of printer, its structure can basically be divided into two parts: mechanical device and control circuit. These two parts are closely related. The mechanical devices include the printing head, the word car mechanism, the paper walking
Article title: Linux operating system printer configuration Raiders (photos ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I. development roadmap of the Linux printing system
In the Unix world, the PostScript language is mainly used for printing interfaces. All major applications output general-purpose Po
How is the MAC system WiFi printer connected? Many users who just use Macs may not know much about Mac, and many people are asking, how does a WiFi printer connect to a Mac? How to use the WiFi printer? How to set up to quickly connect to the WiFi printer, small written this article does not cover all Wi-Fi Various pos
Author: famous sci-tech Bureau Source: site original hits: updated on:
Whether in the office or in the home, it is unlikely that every computer will be equipped with a printer. At this time, the sharing of printing will have to be faced. Print Sharing can be said to be the most common peripheral Sharing Solution in the LAN environment, because the implementation is very simple, users do not need to have too much computer knowledge to do it. Now let's
How does the WiFi printer connect to the Mac? How do I use the WiFi printer? How to set up to quickly connect to the WiFi printer, the small written article does not cover all the possibilities of all Wi-Fi printers. The steps to add a Wi-Fi printer to a Wi-Fi network vary by vendor.
Before you start
Make sure you kn
In an office, it is impossible to have a printer for each person, some data printing is unavoidable to use print sharing, this article on the Windows XP operating system to achieve print sharing.
First, configure the printer
1 Open "Printers and Faxes" In Control Panel, select "Add Printer" on the left option or right-click;
2) Click "Next";
3 Next click "N
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.