“打印”对话框

在完成模板设计之后,您可以使用“打印”对话框打印您的项目。 要显示“打印”对话框,请从“文件”菜单中选择“打印”。 或者,单击主工具栏上的 图标。

要打开“打印”对话框,请按键盘上的 Ctrl+P

The Print dialog is a tabbed dialog that contains two or more tabs that enable you to customize your printing environment. After you have made the selections that you want, click the Print button to send your print job to the selected printer.

The Test Print button prints a single item and then closes the Print dialog. 即使模板上的数据源已启用数据输入,系统也不会提示您输入数据。 而是使用该数据源的默认数据。 如果某个数据源设置为序列化,则该字段中显示的数据与一系列打印项目中第一个项目上显示的完全相同。

The Preview button enables you to preview your entire print job before you send it to the printer. Note that only those objects that are positioned within the border of the displayed template will be printed on your items. 通过显示作业的打印预览,您可以轻松地验证模板上的所有对象是否都将出现在您的项目上。

根据使用中的打印机驱动程序,以下选项卡可能可用:

Closed“打印”选项卡

The Print tab specifies the printer, the number of items to print, and additional print options.

打印机

打印机”部分定义用于打印项目的打印机。

在加载了某个文档后,BarTender 将查找与上次保存该文档时所选打印机完全同名(包括空格和标点符号)的打印机。 如果没有找到,它就会查找相同类型的打印机(即相同的制造商和型号)并使用找到的第一台打印机。 如果也没有找到相同类型的打印机,它将使用 Windows 默认打印机。

以下是可用的子选项卡:

Closed“数量”子选项卡

  • 副本: 指定要为每个文档打印的份数。 如果您正在从数据库中读取数据,此选项可以确定在打印作业中将针对每个记录打印的份数。

  • 序列化机会: 指定模板将使用变化的序列号进行打印的次数。 起始数据由启用了序列化的数据源的内容决定。 The number that is entered in the Serial Numbers field determines the length of the serialization sequence, using the starting data and the settings that are specified in the Serialization dialog.

    如果您正在从数据库中读取数据,“序列号数”字段可以确定在打印作业中将针对“每个记录”打印变化的序列号的个数。 当为模版上至少一个数据源启用序列化时可用。

  • 每个序列号的份数: 指定将为序列化顺序中的每个值打印的份数。 当为模版上至少一个数据源启用序列化时可用。

打开“打印数量选项”对话框,使用该对话框可通过数据库、数据输入表单上的控件或者 VBScript 动态更改份数或序列号数。

记录选择

  • 使用数据库 When this option is enabled, BarTender reads information from the databases that are specified in the Database Setup dialog when printing.

  • 数据库连接设置: Opens the Database Setup dialog.

  • 已查询记录: 指定要打印的已查询记录。

    • 全部: 指定将打印满足查询条件的所有记录。

    • 仅第一个记录: 指定将打印满足查询条件的第一个记录。

    • 选定: Specifies that of the records that meet the query criteria, only those records that are selected in the Select Records dialog will be printed.

    • 打印时所选记录: 启用打印时记录选择。 所有满足查询的记录在打印时均可供选择。

  • 所选记录: 指定要在打印作业中包括的数据库记录。 如果使用“选择记录”对话框或“已查询记录”选项指定要打印的记录,此字段将自动填充要打印的记录。

    You can specify a series of records manually by entering the records you want into the Selected Records field. 可以使用逗号分隔一系列记录编号: 1,3,7。 A range of records can be specified by using a hyphen: 1-3。 可以使用两者的组合来指定一系列和一定范围的记录: 1-3,7,8。 此外,还可以使用括号覆盖“份数”设置: 1-3,7,8,9(14),12-40,41-43(14)。

  • 选择记录: Opens the Select Records dialog, which enables you to manually select the records that you want to print.

Closed“选项”子选项卡

  • 重复数据输入,直到取消为止: When enabled, specifies that when a print job is complete, a new print job is automatically run. 当您需要使用同一 BarTender 文档执行多个连续打印作业时,这会阻止您手动重新启动打印作业。

  • 取消任何先前排队等待输出到此打印机的作业: 启用后,取消所有之前在新打印作业开始时发送到打印机的打印作业。

  • 启用数据输入: 启用后,当执行打印作业时,将显示数据输入表单。 Available if any data sources have data entry enabled. For more information about data entry forms, see Using Data Entry at Print-Time.

  • 启用打印机代码修改器: 启用此选项后,运行文档中存在的所有打印代码操作和 VBScript。 By default, BarTender will automatically enable this option if it detects the presence of Print Code Actions or VBScript modifications. To prevent actions or scripts from running, click to clear this option.

  • 打印作业结束时显示打印机代码: 在打印作业完成时打开一个文本编辑器,并在其中显示打印机代码。 仅当启用“打印到文件”选项时可用。

Closed“对象打印方法”选项卡

对象打印方法”选项卡包含的选项的作用是:当打印机或打印机驱动程序不直接支持某个对象类型时,指定如何在感热打印机上打印对象。 The options on this tab may or may not be enabled, depending on the printer driver that is currently in use.

设置

对象

Closed“性能”选项卡

The Performance tab specifies how BarTender takes advantage of built-in printer capabilities when you use a Seagull printer driver to run a print job.

使用“性能”选项卡上的选项可以优化您的打印体验,具体方式为将文档和/或图形高速缓存到打印机,使用打印机的内置序列化功能以及利用打印机的字体和图形。

设置

打印机优化

有关如何处理一些不常见性能问题的信息,请参见高级打印机和驱动程序设置对话框。

重要提示:切记,TrueType 字体是作为图形(而不是作为下载字体)传送到感热打印机的。 由于感热打印机只能递增被处理成字体的数据,因此不能使用打印机内置的序列化功能递增 TrueType 字体。 如果希望将模板上的某个对象序列化并利用打印机的序列化功能,则必须使用打印机的内置字体之一。

Closed打印机高速缓存选项卡

当 Drivers by Seagull 与 BarTender 结合使用时,能够将格式和图形存储(或缓存)在打印机中,以供后续打印作业重新使用。 This can significantly speed up print jobs, because large graphics and frequently printed documents are sent to the printer only one time.

BarTender 能够跟踪存储在打印机中的项。 However, some situations, such as a failed print job or a printer replacement, can cause BarTender to determine that certain items have been stored in the printer for later reuse when they actually have not. If this happens, BarTender might run a print job and fail to send certain items to the printer because it has determined that the items are already stored there. This can result in items that have missing parts or blank items being printed. 因此,建议您定期刷新(清除)打印机的高速缓存。

要打开打印机高速缓存,必须启用“打印”对话框的“性能”选项卡中的“允许图形缓存”和“允许模板缓存”选项。

启用高速缓存之后,可以通过“打印”对话框的“打印机高速缓存”选项卡指示 BarTender 按指定的时间间隔定期刷新高速缓存。

自动清除高速缓存

立即清除高速缓存: 清除打印机的高速缓存。

管理高速缓存: 打开驱动程序的“高速缓存选项”对话框,通过该对话框可指定使用打印机高速缓存的方式。

如果将多台计算机设置为打印到同一台打印机,则高速缓存不会正常工作。因此,对于要打印到一台使用高速缓存的共享打印机上的所有 BarTender 副本,需要禁用“打印”对话框的“性能”选项卡中的“允许图形缓存”和“允许模板缓存”选项。