PCL 和 1200 DPI

发布于 2024-08-05 21:45:53 字数 253 浏览 2 评论 0原文

是否可以发送以 1200 dpi(及更高)作为参数的 PCL 设置分辨率命令?

我一直在查看 HP PCL 的规格表,它告诉我它的唯一有效值是 75、100、150、200、300、600。

我正在尝试打印到声称支持的非 HP 机器HP PCL5,它在 300 和 600 dpi 下打印效果很好,但当我尝试以 1200 dpi 打印时,它打印得更大(水平和垂直行数的 2 倍)。似乎仍在使用 600 dpi..

谢谢,

爱德华

Is it possible to send the PCL Set resolution command with 1200 dpi (and higher) as parameter?

I've been looking at the spec sheets for HP PCL and it tells me that the only valid values for it are 75, 100, 150, 200, 300, 600.

I am trying to print to a non-HP machine claiming to support HP PCL5 and it prints fine for 300 and 600 dpi, but when I try printing at 1200 dpi, it prints bigger (2x the number of lines, horizontally and vertically). Seems to be using 600 dpi still..

Thanks,

Edward

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

缱绻入梦 2024-08-12 21:45:53

在大多数打印机上,分辨率可以通过 PJL 或 PCL 设置。

在 PCL 中,分辨率可以这样设置:

<esc>*t1200R

真正支持 1200dpi 的打印机将遵循此设置。

在 PJL 中,设备可能支持如下内容:

@PJL SET RESOLUTION=1200

在这种情况下,我通常会为 Windows 系统上的设备安装正确的 PCL 驱动程序(5 而不是 6/XL),在驱动程序中设置所有设置并打印要归档的内容(使用简单的内容,例如记事本中的一些文本)。您应该看到上述一项或两项设置。另一种选择是然后将分辨率切换回来并比较文件以查看发生了什么变化。

On most printers, resolution can be set by either PJL or PCL.

In PCL resolution can be set this way:

<esc>*t1200R

A printer that truely supports 1200dpi will honour this setting.

In PJL the device might support something like this:

@PJL SET RESOLUTION=1200

What I typically do in a situation like this is to install the proper PCL driver (5 not 6/XL) for the device on a Windows system, set all the settings in the driver and print something to file (use something simple like some text in Notepad). You should see one or both of the above settings. Another option is to then just swich the resolution back and compare the files to see what's changed.

病女 2024-08-12 21:45:53

根据驱动程序注释,我假设您使用的是 Windows。

您可能想尝试使用原始打印完全绕过驱动程序。这里有一篇 Microsoft 文章,展示了如何在 C# 中执行此操作,并且搜索原始打印应该变成如果还不够的话,可以加更多。

完整的 PCL 5 手册以 HP 的 PDF 格式提供 也是如此。

I will assume you're using Windows, based on the driver comments.

You might want to try bypassing the driver altogether using Raw printing. Here's a Microsoft article that shows how to do it in C#, and searching for raw printing should turn up more if that's not adequate.

The complete PCL 5 manual is available as a PDF from HP as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文