选择打印机

Typically, when you first create a document, you use the New Document wizard to select the printer that you want to print the document to.However, in some cases, you might want to send your print job to a different printer.To do this, you can use the options on the Print dialog or the Printer Name Options dialog to select the printer that you want.

关闭使用“打印”对话框选择打印机

  1. 在“文件”菜单上,单击“打印”以打开“打印”对话框。或者,单击主工具栏上的 图标。

  2. 在“名称”列表中,选择所需的打印机。

  3. Optionally, click Document Properties and/or Printer Properties to view or modify the settings for the selected printer.

  4. 单击“打印”以打印文档。也可以单击“关闭”返回模板,而不运行打印作业。

If you previously configured the document to obtain the printer name from a database field, a data source, or a data entry form, the Name list is read-only.To reconfigure the document to obtain the printer name from the Print dialog, follow these steps:

  1. Next to the Name list, click .

  2. In the Printer Name Source area of the Printer Name Options dialog, select Specify printer name in print dialog, and then click OK.

  3. 在“名称”列表中,选择所需的打印机。

关闭To select a printer by using a database field

  1. Connect your document to a database that contains the exact name of the printer that you want to use.For more information about how to do this, refer to Connecting to a Database.

  2. 在“文件”菜单上,单击“打印”以打开“打印”对话框。或者,单击主工具栏上的 图标。

  3. Next to the Name list, click .

  4. In the Printer Name Source area of the Printer Name Options dialog, select Get printer name from database field.

  5. In the Database Field list, select the database field that contains the name of the printer that you want, and then click OK.

  6. In the Print dialog, click Print to print the document.也可以单击“关闭”返回模板,而不运行打印作业。

关闭To select a printer by using a data source

You can configure your document to use certain types of data sources, such as VBScript or an external file, to obtain the name of the printer that you want to use.要执行此操作,请完成以下步骤:

  1. 在“文件”菜单上,单击“打印”以打开“打印”对话框。或者,单击主工具栏上的 图标。

  2. Next to the Name list, click .

  3. In the Printer Name Source area of the Printer Name Options dialog, select Get printer name from data source.

  4. In the left navigation pane, click Data Source.

  5. On the Data Source tab, click next to the Type field, and then use the Change Data Source Type wizard to select and configure the data source.

  6. Click OK to close the Printer Name Options dialog.

  7. 单击“打印”以打印文档。也可以单击“关闭”返回模板,而不运行打印作业。

For more information about data sources, refer to Working with Data Sources.

关闭To select a printer at print time by using a data entry form

This option is available when a control on the data entry form is connected to the list of available printers.At print time, the print operator uses the data entry form to specify the printer to use.

  1. 在“文件”菜单上,单击“打印”以打开“打印”对话框。或者,单击主工具栏上的 图标。

  2. Next to the Name list, click .

  3. In the Printer Name Source area of the Printer Name Options dialog, select Chosen via data entry form, and then click OK.

  4. 单击“打印”以打印文档。也可以单击“关闭”返回模板,而不运行打印作业。

关闭To connect a control to the printer list

  1. On the data entry form, add the control that you want the print operator to use at print time to select the printer.

  2. 双击控件,以打开控件属性对话框。也可以右键单击控件,然后单击“属性”。

  3. 在左侧导航窗格中,单击“链接数据源”。

  4. In the Data sources area, click Printer, and then click Close.

本部分内容