duangou1953 2013-06-14 08:01
浏览 72

使用wkhtmltopdf将裁剪标记添加到PDF

I'm trying to create a pdf file of user designed HTML that will then be send to a printing house for print and delivery. The printing house wish me to add crop marks on the .pdf.

I'm currently doing this with CSS by placing position: absolute; images over the design with the crop marks. However the Printing Software that the printing house is using can not "find" these Crop Marks.

I guess because I'm not doing it in the "official way".

Is there any functionality of creating crop marks with wkhtmltopdf? How do I make printers or other software understand that the images I included in the document is cropmarks and not just some normal image part of the content?

  • 写回答

1条回答 默认 最新

  • dppi5167 2013-06-14 13:13
    关注

    How is the page's CropBox defined? Also you may check out the section 14.11.3 Printer’s Marks, of the PDF specification and find how you can get it working with your software.

    from spec: The crop box defines the region to which the contents of the page shall be clipped (cropped) when displayed or printed. Unlike the other boxes, the crop box has no defined meaning in terms of physical page geometry or intended use; it merely imposes clipping on the page contents. However, in the absence of additional information (such as imposition instructions specified in a JDF or PJTF job ticket), the crop box determines how the page’s contents shall be positioned on the output medium. The default value is the page’s media box.

    评论

报告相同问题?

悬赏问题

  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥30 自适应 LMS 算法实现 FIR 最佳维纳滤波器matlab方案
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来
  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行
  • ¥15 R语言Rstudio突然无法启动