> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/ulpt.4.md).

# ulpt.4

`ulpt` — USB 打印机支持

## 名称

`ulpt`

## 概要

要将此驱动编译进内核，请将以下行加入你的内核配置文件：

> device ulpt

或者，要在引导时以模块方式加载该驱动，请将以下行加入 loader.conf(5)：

```sh
ulpt_load="YES"
```

## 描述

`ulpt` 驱动为遵循打印机双向或单向协议的 USB 打印机提供支持。次设备号中的位选择驱动的各项功能。

| *次设备号位* | *功能*            |
| ------- | --------------- |
| 64      | 不初始化（重置）端口上的设备。 |

某些打印机无法处理打开时的重置；如遇问题，请尝试 `unlpt` 设备。

## 硬件

`ulpt` 驱动为 USB 打印机和并口打印机转换电缆提供支持，包括以下设备：

* ATen 并口打印机适配器
* Belkin F5U002 并口打印机适配器
* Canon BJ F850, S600
* Canon LBP-1310, 350
* Entrega USB 转并口打印机适配器
* Hewlett-Packard HP Deskjet 3420 (P/N: C8947A #ABJ)
* Oki Data MICROLINE ML660PS
* Seiko Epson PM-900C, 880C, 820C, 730C

## 文件

**`/dev/ulpt?`** 带重置的设备 **`/dev/unlpt?`** 不带重置的设备

## 参见

[lpt(4)](/man/man4/lpt.4.md), [usb(4)](/man/man4/usb.4.md)

## 历史

`ulpt` 驱动出现于 NetBSD 1.4。本手册页由 Tom Rhodes <trhodes@FreeBSD.org> 于 2002 年 4 月从 NetBSD 引入。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/ulpt.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
