Use Windows-powered virtual printers to print Excel tables without a tabular line problem resolution (1)

Source: Internet
Author: User

Problem:

With a custom print processor, a virtual printer developed using the Windows no user interface, rendering plug-in universal print driver, when you print an Excel table file, there is a case where the table lines are not drawn, others are normal.

Analysis:

The client side of the actual use of the environment in the context of each print task can be appended with a template receipt generated by Excel, this receipt is printed out as normal, stating that not all cases will not have a table line (or will not find the problem now).

As a result, the receipt template Excel file is used as the starting test file.

1, to ensure that the Excel file itself is not set up problems, such as not set the table line Ah, the simplest way is to print the preview directly, the preview is found in the table line, so eliminate the problem of the setup .

2, after and problems of the table file comparison, the first most obvious difference is the receipt of the picture on the list, so the receipt of the picture is removed to print, found that there is also a table line, so simply copy and paste the receipt form directly into the problematic file to print, there is no form line, it is related to the document itself? Try to save the receipt after removing the picture, close the file, and print, but there is no form line. Then I pasted a picture to come in, perform the printing again, the picture is immediately outside the print area.

3, then I undo the picture again, found that the receipt of the document still can print out the form line, but the other test of the file in the same way, after the image is cancelled after the print there is no table line, What can be reflected here?

4, specially installed WPS for testing, the same file, using Office (different versions are) and WPS for the exact same printing operation, WPs never appeared in the case of no table. is this basically possible to exclude with my virtual printer itself is related to it?

5. Using someone else's virtual printer and the printer in the Windows printer sample can print out the form line, so I replaced my virtual printer's print processor as Windows default, and found no table line. So I tested with the WDK sample printer C:\WinDDK\7600.16385.1\src\print\oemdll\uniuirep and found that there were no table lines for the printed SPL file. combined with the fourth Test, is it possible to conclude that there is no connection to the print driver?

Summarize:

1, there is a picture of Excel table, print Normal, no problem.

2, no picture of the Excel table, printing is not necessarily abnormal, depending on whether there is no table before, and the results are not necessarily identical, this from the third Test above can be seen.

3, comprehensive above test fourth and fifth can be seen should be and print driver is not related, if the Windows Universal driver itself has this problem, why WPS can write forms, Office is not available. Plus it has to do with having a picture, is it related to the rendering mechanism of office and WPS itself, but if so why choose a few other printers without problem. Is it normal for other printers to complement office rendering by their own rendering drivers? that means that office and WPS itself perform printing when the context settings are different, such as drawing, etc., so using the same printer will have various effects. and office uses different printers (mostly driven differently) to have different effects because the print rendering driver is different?

Not to be continued ...

Use Windows-powered virtual printers to print Excel tables without a tabular line problem resolution (1)

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.