Skip to content

Commit

Permalink
Move bundle specific css from admin bundle (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaantony92 authored May 4, 2023
1 parent 6846b83 commit 94438be
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/02_Print_Documents.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ They can be activated by the printermarks rendering setting. Technically they ar
For Details, check links below:
* [view-script](https://github.com/pimcore/demo/blob/11.x/templates/layouts/print_catalog.html.twig#L18-L20)
* [css-file](https://github.com/pimcore/pimcore/blob/11.x/bundles/AdminBundle/public/css/print/print-printermarks.css)
* [css-file](https://github.com/pimcore/web-to-print-bundle/blob/1.x/public/css/print/print-printermarks.css)
## Settings
In the web-to-print settings, the used PDF renderer is specified. Depending on the renderer, there are additional settings to be made.
Expand Down
17 changes: 17 additions & 0 deletions public/css/print/print-printermarks.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@page {
-ro-media-size: SRA4 portrait;
/*-ro-media-size: 255mm 320mm;*/
-ro-bleed-width: 5mm;
/*-ro-crop-size: registration;*/

-ro-marks: bleed trim registration;

-ro-colorbar-top-left: gradient-tint;
-ro-colorbar-top-right: progressive-color;

-ro-colorbar-bottom-left: cmyk(100%, 0%, 0%, 0%) cmyk(75%, 0%, 0%, 0%) cmyk(50%, 0%, 0%, 0%) cmyk(25%, 0%, 0%, 0%)
cmyk(0%, 100%, 0%, 0%) cmyk(0%, 75%, 0%, 0%) cmyk(0%, 50%, 0%, 0%) cmyk(0%, 25%, 0%, 0%);

-ro-colorbar-bottom-right: cmyk(0%, 0%, 25%, 0%) cmyk(0%, 0%, 50%, 0%) cmyk(0%, 0%, 75%, 0%) cmyk(0%, 0%, 100%, 0%)
cmyk(0%, 0%, 0%, 25%) cmyk(0%, 0%, 0%, 50%) cmyk(0%, 0%, 0%, 75%) cmyk(0%, 0%, 0%, 100%);
}

0 comments on commit 94438be

Please sign in to comment.