cross-posted from: https://lemmy.sdf.org/post/59173863
PDF layers can be created such that they display on the screen but are withheld when printing. This code should disable the OCG layers from printing:
\usepackage[printocg=never]{ocgx2}When compiling a doc with the above and printing this way:
lp $mypdfThe layers still print. It’s unclear if latexpdf is failing to generate the PDF correctly (i.e. a bug in the
ocgx2pkg), or if thelpcommand is failing to treat the PDF correctly. It’s worth noting that theocgx2documentation is non-existent/minimal. It seems to be a fork ofocgxwhich extendsocg-p. Theocgxdocs state generally thatocg-poptions are supported.
You must log in or register to comment.

