C#:彩色打印机的标签设计

发布于 2024-11-03 23:48:01 字数 482 浏览 0 评论 0原文

我正在为我们公司开发一个标签打印应用程序,其中包括对黑白打印的支持。白色和彩色打印机。

为了简化我的开发,我正在创建一个带有各种标签的 WinForm,我可以根据需要对其进行定位、调整大小和颜色。如果最终用户的打印机是非彩色的,则所有笔和画笔都将为黑色。否则,我将根据标签控件的颜色设置绘图颜色。

我想使用标准彩色打印机墨盒中的基本颜色来开发我的标签,这样我就不会仅仅因为 Color Tank #2 已用完而导致我们公司丢弃墨盒(试图减少浪费并尽我所能帮助环境)。

水箱里的颜色有哪些?黑色、洋红色、黄色和青色?

如果我使用这四 (4) 种颜色设计标签,我会充分利用彩色墨盒还是应该坚持使用红色、蓝色和红色等组合颜色?绿色的?

如果有人知道如何做到这一点,我也有兴趣研究一个简单的算法来计算使用了多少颜色。

EPSON 墨盒,黑色、青色、洋红色和黄色

I'm developing a Label Printing application for our company that will include support for Black & White and Color Printers.

To simplify development on my part, I'm creating a WinForm with various labels on it that I can position, size, and color as needed. If the End User's printer is Non-Color, all Pens and Brushes will be black. Otherwise, I will be setting my drawing colors based on the Label control's color.

I'd like to develop my labels using basic colors that are found in the standard color printer cartridge, so that I don't wind up causing our company to throw away a cartridge simply because Color Tank #2 has run out (trying to reduce waste and help the environment where I can).

What are the Colors in the tanks? Black, Magenta, Yellow, and Cyan?

If I designed my Labels using these four (4) colors, would I be making good use of the color cartridges or should I stick to combination colors like Red, Blue & Green?

I'd be interested in looking at a simple algorithm that calculates how much color is used, too, if someone knows how to do that.

EPSON Cartridge with Black, Cyan, Magenta, and Yellow

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

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

发布评论

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

评论(2

笨死的猪 2024-11-10 23:48:02

您对给定打印机将使用的颜色罐的控制几乎为零。特别是在低端打印机上,墨盒被合并到一个墨盒中。

问题是,即使您的应用程序指定了纯青色(例如),那么在屏幕 ICC 配置文件、打印机 ICC 配置文件和打印驱动程序之间的某个位置,这可能会被解释为不完全是青色,并且随后会加入一些黄色和绿色。洋红色为良好的衡量标准。

另一个问题是,打印机有 1 到 8 个墨盒,具体取决于打印机的品牌、类型等。因此,无论您今天编码什么,只要购买不同的打印机,就很容易变得毫无用处。

更好的选择是告诉你的公司投资一些打印机,这样不会因为一种颜色用完而迫使你更换所有颜色。 (提示,停止购买惠普)。

You have pretty much zero control over what color tanks a given printer is going to use. Especially on a low end printer in which the tanks are merged into a single cartridge.

The problem is that even if your application specifies a pure cyan (for example), then somewhere between the screen ICC profile, printer ICC profile and the print driver this might be interpreted as being not quite cyan and it will subsequently throw in some yellow and magenta for good measure.

Another wrinkle is that printers have between 1 and 8 cartridges depending on brand, type of printer, etc. So whatever you code today could quite easily be made useless simply by purchasing a different printer.

A better bet here is to tell your company to invest in some printers that don't force you to replace all of the colors just because one ran out. (hint, stop buying HP).

冷夜 2024-11-10 23:48:02

所以...

无法计算我制作的表单上使用了多少颜色。

并且...

无法平衡我选择的颜色数量打印输出以平衡墨盒中的墨水负载。

现在,这就是答案。

如果有一天有人能证明这是错误的,我会订阅答案,并且我很乐意标记一个解决方案......如果它有效的话。

So...

There is no way to calculate how much of a color is used on a form that I make.

And...

There is no way to balance the amount of colors I select for a printout to load balance the ink in the cartridges.

For now, this is the answer.

If someone can show this to be wrong one day, I'm subscribed for answers, and I'll be happy to mark a solution ...if it works.

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