仅用于打印的 PDF 水印,以编程方式 [英] PDF Watermark for printing only, programmatically

查看:30
本文介绍了仅用于打印的 PDF 水印,以编程方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经可以给任何 PDF 加水印了,里面的图像,一切正常,但现在我只需要在打印 PDF 时才显示水印......这可能吗?如何?

I can watermark any PDF already, and the images inside, everything ok, but now I need the watermark only showing up when the PDF is printed... Is this possible? How?

我当然需要以编程方式执行此操作.

I need to do this programmatically of course.

推荐答案

您可能应该利用屏幕使用 RGB 和打印机 CMYK 的事实.您应该能够在 CMYK 中创建映射到相同 RGB 值的两种颜色.这对于坚定的专家来说当然是不够的.

You should probably make use of the fact that the screen uses RGB and the printer CMYK. You should be able to create two colors in CMYK that map to the same RGB value. This is of course not enough against a determined specialist.

这篇关于仅用于打印的 PDF 水印,以编程方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆