windows:Experiences/printing

出自UXGuide.net

跳转到:导航, 搜索

打印
Printing

目录


本文中的“打印”是指当直接输出在纸张上而非屏幕显示时,在纸张上的用户体验。“打印版(Printer-friendly format)”是指程序可以对屏幕显示输出的内容修改后适用于纸张输出的版本。

尽管人们以为计算机能够带来“无纸化办公”,但我们惊讶地发现,我们仍然在大量地进行着打印。我们会在桌上分发 Microsoft® PowerPoint® 演示文稿的打印复本,打印从网上找到的但打算稍候再仔细研究的文档,或是打印重要的电子邮件或收到的电子格式的简历等等。虽然在设计用户界面时很容易忽视打印,但要记住,打印是整体用户体验的重要组成部分。

注:通用对话框相关的设计规范请参考各自相应的章节。


这样的用户界面是否正确?

考虑下列问题以确定你的程序是否需要支持打印:


设计理念

设计你的程序以避免不必要的打印

有很多理由来解释用户为什么需要打印——有些是好的,而有些则不然。用户应当能够进行打印,因为他们想这么做,而不是必须这么做。要求用户进行打印可能是功能缺失的标志。例如,在过去,用户需要打印文档是为了添加批注和修改建议,而如今用户可以直接在 Microsoft Word 文档中完成这些工作。检查你程序中那些涉及打印的使用情境,最好的可能性是,确保用户并非必须打印,而且不是因为功能的缺失。

还有一点需要记住的是,节约纸张和墨水这样的资源有助于环境保护,并可以为组织的长期运行节约金钱。


理解屏幕显示与打印的区别

虽然显示输出与打印有诸多相似之处,但也有许多差别。打印输出的特点有:

这些区别可能会影响你的打印设计。创建好的打印体验不仅仅是简单地把程序输出的内容重定向到打印机。


所见即所得与屏幕显示的需求演进

历史上,人们认为打印用户体验的最基本原则是所见即所得(WYSIWYG,what you see is what you get)。该原则认为,一份文档在屏幕上的显示与打印出来的版本应当具有强烈的关联性。在所见即所得成为实践标准之前,一份文档在屏幕上的显示与打印出来的版本通常没有什么联系。用户需要通过打印才能知道文档在纸上究竟是什么样子。所见即所得的使用极大地提高了工作效率,因为当时大多数程序都是主要为创建和打印文档而设计的。

如今,网站为屏幕显示而优化,且其打印版看起来差别很大的作法已经很普遍。此外,我们拥有各种各样的计算设备(如智能电话、数字个人助理)往往需要为小屏幕输出进行优化。虽然所见即所得对于创建文档的程序来说仍然是最好的方式,但对于其他程序来说,为不同的目标设备优化更为合适。对于这类程序,你在 PC 屏幕上看到的内容可能和在其他设备显示屏上看到的不同,与打印出来的样子也可能不同。


为打印优化

没有严格的所见即所得打印体验的程序仍然可以通过下列途径为打印进行优化:

显示版本:
Cc872778_Printing02a(en-us,MSDN_10).png
打印版本:
Cc872778_Printing02(en-us,MSDN_10).png
在打印版本中,所有数据都是可见的,交互元素则被移去了。
可以接受:
更多信息,请参见 UX 规范。
为打印优化:
更多信息,请参见 UX 规范(http://www.vistauxguide.com)。


Include the right print options

The Print options common dialog provides options to:

Your program may require additional options, such as document content options (which content to print), format options (how to print, including print quality, picture sizes, fitting to frame), and color options. If you need to provide additional options, do so by extending the Print options common dialog. Don't create a custom Print dialog box.

When designing the Print options, consider the experience when printing multiple documents. Chances are the next print job will be very similar to the last print job. Optimize the default settings for reprints and similar print jobs—don't make users start over completely each time.


Design print preview for performance and usability

An incorrect print job wastes time and money. For document creation programs, users should be able to evaluate the results before doing the actual printing. A print preview should allow users to:

Some complex documents (such as computer-aided design [CAD] drawings) can take a long time to render. The performance of the preview is important—a print preview can become quite tedious if it takes awhile to render each page. Consequently, it's better to have a print preview that renders quickly and is accurate enough to allow users to evaluate the print results than to have a completely accurate preview that renders slowly.

When designing the print preview, consider the whole task of preparing to print. What are users going to be looking for? What are they going to change? Document creation programs should provide an interactive print preview so that users can adjust frequently changed settings like margins and line breaks within the preview.

However, to the best extent possible, your program should do the right thing by default. When necessary, warn about printing situations that are unlikely to be what the user intended. Don't rely on users finding problems using the print preview. For example, suppose a spreadsheet has too many columns to print on a single page in portrait mode. While the program could present a confirmation dialog box, a better solution is to print in landscape mode automatically.

If you do only five things...

  1. Design a printing experience appropriate for your program type.
  2. Review your program's scenarios that involve printing and to the best extent possible, make the need to print optional.
  3. Provide useful printing extensions by customizing the Print common dialog. Don't create a custom Print dialog box for this purpose.
  4. Optimize the Print options for reprints and similar print jobs.
  5. Provide a preview feature whenever appropriate.


Printing patterns

The type of program is the primary indicator of the appropriate printing experience:

Advanced document creation

Used to create, view, and print high-end documents. The ability to create high-quality printouts is one of the main reasons why the program exists. Targeted at expert users.

User goals: Perfect results—detailed control over the print output.

Example: Microsoft Word

Recommended printing experience:

  • Output optimized for print (WYSIWYG).
  • Advanced document formatting features, with options to print large objects.
  • Advanced print options, including headers and footers. Document-related print options are saved within the document itself.
  • Fast, accurate, powerful print previews.

Intermediate document creation

Used to create and view more complex documents. The ability to create good-quality printouts is important, but not necessarily one of the main reasons why the program exists. Targeted at intermediate users.

User goals: Good results with minimal effort. Some control over the print output.

Examples: Most Microsoft Office programs, such as Outlook® and Excel®.

Recommended printing experience:

  • Output optimized for print (WYSIWYG).
  • Some document formatting features, with ability to print large objects without truncation.
  • Some custom print options, including headers and footers.
  • Accurate, easy to use print previews.

Simple document creation

Used to create and view simple documents. Targeted at all users.

User goals: Basic printing support with standard printing options. Users expect good results without any tweaking.

Examples: WordPad, Paint.

Recommended printing experience:

  • Output may be optimized for print (WYSIWYG), but this is not required.
  • Some document formatting features, with ability to print large objects without truncation.
  • Standard print options; custom print options are optional.
  • Simple or no print previews.

Document viewers

Used to view documents. Users can't change the document content or format.

User goals: Basic printing support with standard printing options. Users expect good results without any tweaking. Printing problems are handled automatically because users can't modify the document.

Example: Windows® Internet Explorer®

Recommended printing experience:

  • Output may be optimized for print (WYSIWYG), but this is not required.
  • Program automatically handles page breaks, eliminates blank pages, handles large objects, and removes backgrounds and other design elements.
  • Standard print options; custom print options are optional.
  • Simple or no print previews.

Utilities or line-of-business applications

Used to perform simple, specific tasks. Targeted at all users.

User goals: Ability to export selected data efficiently. Users expect good results without any tweaking. Often for such programs, users are pleasantly surprised to find any printing support at all.

Recommended printing experience:

  • Printing support is optional depending upon supported scenarios.
  • Output may be optimized for print (WYSIWYG), but this is not required.
  • Some document formatting features. Might be acceptable if large objects are truncated.
  • Standard print options.
  • Print previews optional.


Guidelines

General


Formatting pages

Acceptable:
For more information, see UX Guide.
Optimized for printing:
For more information, see UX Guide (http://www.vistauxguide.com/).
In this example, the link is replaced with its text equivalent in parentheses.


Oversized objects

Handling large objects, such as spreadsheets, graphics, and photos, is a problem unique to printing. Choose one of the following approaches:

Cc872778_Printing03(en-us,MSDN_10).png
In this example, the large image is scaled to fit on the page.
Cc872778_Printing04c(en-us,MSDN_10).png
In this example, the large image is rotated to fit better on the page.
Cc872778_Printing05b(en-us,MSDN_10).png
In this example, the large table is printed on two pages. Column headers persist from page to page to facilitate quick comprehension.
Cc872778_Printing06(en-us,MSDN_10).png
In this example, the large image is truncated.


Headers and footers


Print commands

Cc872778_Printing14(en-us,MSDN_10).png
In this example, the Print command has an ellipsis to indicate that it will display the Print options common dialog to get more information.
Cc872778_Printing15(en-us,MSDN_10).png
In this example, the Print command in a toolbar prints immediately instead of displaying the Print options common dialog. Putting the default printer in the tooltip provides textual reinforcement that the user is bypassing the dialog.
Cc872778_Printing16(en-us,MSDN_10).png
In this example, the Windows Internet Explorer toolbar uses a split button control to provide all the print commands.
Cc872778_Printing23(en-us,MSDN_10).png
For Ribbons, the Print command is accessed using the application menu.


Print options

Incorrect:
Cc872778_Printing17(en-us,MSDN_10).png
In this example, Fabrikam incorrectly uses a separate dialog for additional print options.
Developers: For information about how to extend the Print common dialog, see PRINTDLGEX Structure.
Developers: To learn how to determine the capabilities of the selected printer, see Print Schema.
Cc872778_Printing19(en-us,MSDN_10).png
In this example, the dialog box makes it easy to cancel the printer capability detection if the user decides the task is taking too long.


Print previews

Cc872778_Printing24(en-us,MSDN_10).png
In this example, Word has print preview support within the main program window.
Consider providing an interactive print preview so that users can adjust frequently changed settings like margins and line breaks directly within the preview.
Cc872778_Printing20(en-us,MSDN_10).png
The Print Preview mode in Word has an obvious close preview command.


Printing errors

Note: Once the print job has been spooled to the printer, Windows is responsible for any subsequent errors. Your program only has to handle errors that happen before the print job is spooled.


Text


文档编写

导航
工具箱