打印粗体文本时打印速度较慢

发布于 2024-10-07 03:24:56 字数 239 浏览 0 评论 0原文

我有一个页面,在这个页面中有大约45行,

前5行是文档标题,这个文档标题CSS样式只是font-family-arial,font-weight粗体,

标题插入td内,没有更多样式,

问题是,前 5 行打印速度非常慢,第 5 行之后打印机打印文本的速度非常快,显然文本的重置

只是 fonr-weight:normel,请建议一些提示/想法来提高打印速度,

(Am使用点阵打印机,)

i have page , in this page i have around 45 lines ,

the first 5 lines are document heading, and this document heading css style is just font-family-arial, font-weight bold ,

and heading inserted inside the td , no more style,

problem is , this first 5 line print very dead slow, after 5the printer print the text very fastly, obviously the reset of the

text are just fonr-weight:normel, Pleawse advise some tip/ideas to increase the printing fast ,

(Am using dot matrix printer ,)

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

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

发布评论

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

评论(2

却一份温柔 2024-10-14 03:24:56

这是 DMP(点阵打印机)的一个已知问题,因为从网页打印就像图像打印一样。对于粗体打印,它通常会打印两次或非常慢(取决于打印机中的针脚数量)。

对于这样一个问题,我推出了一个组件,用于将 RTF 转换为带有打印机转义字符的纯文本(用于粗体、双倍大小、压缩字体),并将其作为文本文件发送到打印机。

It is a known issue with DMP (Dot Matrix Printer) as the printing from a web page goes as a image print. For bold-face printing it normally prints twice or very slowly (depending on the number of pins in the printer).

For one such issue, I rolled out a component to convert RTF to plain text with printer escape characters (for bold facing, double sizing, compressing fonts) and sent it as a text file to the printer.

拥抱影子 2024-10-14 03:24:56

这可能是您的打印机的设计问题:正如您所说,它是点阵式的。这些类型的打印机的 DPI 非常低,因此他们通过将粗体文本作为普通文本打印来解决这个问题,但在同一区域多次打印,每次都会稍微偏移(而普通文本仅打印一次)。这意味着粗体文本行将花费打印普通行所需时间的数倍。

如果这是一个主要问题,请考虑购买一台激光打印机 - 无论页面覆盖范围如何,它们都能以近乎恒定的时间进行打印。

This may be a design issue with your printer: as you're saying, it's dot-matrix. These types of printers have very low DPI, so they're working around it by printing bolded text as normal text, but several times in the same area, slightly offset each time (whereas normal text is only printed once). That means that a line in bold text will take a multiple of the time necessary to print a normal line.

If this is a major issue, consider getting a laser printer - those print in near-constant time, regardless of page coverage.

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