In QT, printing is similar to plotting in qwidget, qpixmap, or qimage. The general steps are as follows:
1
Create the qprinter of the drawing device;
2
The Print dialog box and qprintdialog are displayed. You can select a printer and set attributes;
3
Create a qpainter of qprinter;
4
Use qpainter to draw a page;
5
Call qprinter: Newpage () and draw the next page;
6
, Repeat steps 4 a
Case 1: The printer is not powered up or the printer is not online
Some Office users can not print the file when the printer, is due to the printer power is not open, or may accidentally touch the printer-related Settings butto
The first type of problem is that ink is weak, and this situation occurs in two cases, one is a single ink printer, and the other is a dual-cartridge printer. The most fundamental way to solve this problem is to add ink, the ink cartridge will be taken off the tip of the bottle with a sharp mouth into the printer cartridge ink plus ink. Check the
Print command, also known as print control command. The computer uses the print control language, software commands to control printer operations, interpret and execute printed data, and obtain printed results. The print control language is the basis for the complex function
vista/win7 Add network XP system shared printer This "ground Print Spooler service is not running" and "Windows cannot connect to printer denied access" Workaround this problem occurs because the machine that is connected to the printer is an XP system, and only the printer
Printers, and open the Printers window. 2. Right-click the printer icon, the system pops up the Quick menu, click "Set as Default".
4, printer port settings error
Printer Port Setup errors are also one of the reasons why printers cannot print. The repair steps are as follows: 1. In the Printers window,
The new HP DeskJet 2131 inkjet printer, according to the instructions installed after the installation of the computer, the discovery Scan, copy function is normal use, except printing function can not be used normally.The problem is as follows:
Print the test page in the installed printer Assistant can output normally, but the
Http://support.microsoft.com/kb/322091/zh-cn? Spid = 548 SID = 348 # topIt seems that the official support of Microsoft has provided the VC # solution, which can be run, and no error is reported, that is, there is no response!
The basic function call process is binary,
Openprinter --> startdocprinter --> startpageprinter --> writeprinter --> endpageprinter --> enddocprinter --> closeprinter
Explanations of various functions:
Openprinter:The openprinter function gets a handle to another type of
What if the printer is garbled or does not print?
Answer: The following steps can be used to determine the fault:
1, the printer self-test: The printer alone, put a piece of paper, and then let the printer self-test (can refer to the use of the manual), to observe whether
The computer that connects the printer is an XP system, the printer model: HP Laser Jet 1010, opens the network share, the following dialog box appears when adding the printer with the Win7 system in the local area network:
Looking for a lot of information is not very comprehensive. So the solution to write down the process and share with you, hope a
Remote unauthorized print vulnerability caused by improper design of a printer of HP
The HP LaserJet M1536dnf MFP printer port 9999 has an unauthorized printing vulnerability. Any content sent to port 9999 can be printed, or the printer can always be printed by sending packets (DOS ).May you say that printers are not s
A: In fact, this is a very common printer failure, causing the main reasons for this failure are the following several.
(1) If the file page you want to print contains a number of special fonts, and the use of a relatively old printer model, then the printer built in the library will most likely not have to
Office computer printers because of IP address replacement can not print how to deal with? My computer is a host connected to the printer, the company's other computers are shared with me, I have to restart every time the print Spooler, and then their printer can print, and
Win7 system Add Printer no Print Spooler service No registry resolution, win764 bit system just installed a few days to find a notebook cannot install a virtual printer, because I often use PDF printing, such as the CutePDF printer. Start to search all kinds of experience, found that can not solve the problem, there ar
WIN7
system sharing settings and
XP
different
Operation is as follows
One: Host settings
1.
install the
WIN7
printer driver first. Shut down the system firewall.
2. install the driver and then click on the Host Desktop network options.
3.
Select Change advanced sharing settings after opening the network
as shown in figure
1:
4. Sele
A problem has been encountered these days that printers on a Windows 2008 print server cannot be deleted. You can remove the printer from the device and the printer, then refresh it, and they come out again. These printers have long been absent, and the icons for these printers are translucent. Right-click the printer
How to implement the printing of the heat-sensitive 58MM ticket printer in php-developed background management system to implement the order printing function, through the heat-sensitive 58MM ticket printer to open the order, how to implement in php, it is better to have the source code, and you can give a thought without the source code! I have no idea about this print
For users who have both Windows and Ubuntu computers but only one printer, this blog shows you how to share a printer in Windows and allow Ubuntu to use it for printing.
Almost all printers support Windows by default. Many printer manufacturers produce printers for Windows, but not many for Linux systems including Ubuntu. Therefore, if you have a
Sometimes you will encounter a printer can not print two-sided situation, the printer clearly has double-sided printing function, in the printing preferences are shown as gray, can not be double-sided printing. This article is for Win 7 system computer, share to big everybody how solves this problem. (XP system appears the solution of the problem is similar, we h
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.