콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
4581 화면

Hi,

I'm trying to change the default layout for the printed reports. I'm using DIN-A4 paper format.
I want to add marks for the punch holes and where to fold for envelopes.
These marks are usually within the left margin and one is exactly in the vertical center. The other one has a certain distance from the top of the page. There is also a standard for these marks.

I tried changing the external_layout_standard XML and added an element like this:

<div style="position: absolute; top: 148.5mm; left: -10mm; width: 10mm; height: 1px; border-top: 1px solid black;"></div>

The position however is not correct, even if I subtract the given top margin in the paper format dialog.
Also it is not possible to move the line into the left margin area.

How would be the correct way of doing something like this?.

Regards,
Stephan

아바타
취소
베스트 답변

Same here, I see the marks in HTML but not in PDF, ... searching for a solution. I will let you know if I find out.


Edit:

For the DIN layout I ended up with this:






  • din_page is only rendered when the header is not skipped, else better use the footer
  • When it's not inside heder/footer/page it only renders in HTML not PDF
  • Positioning is still messed up
  • We can not draw outside of the Borders from the Page Layout (20mm) ... I'm thinking about a Border of 0 in the page layout and defining the border inside my Template ...



It's quiet messy and still WIP, but could work in the end.


아바타
취소
베스트 답변

Working on that exact same issue. Were you able to achieve those marks?

I can get a line to appear in HTML reports, but not in PDF.

아바타
취소
관련 게시물 답글 화면 활동
1
2월 24
5065
0
2월 21
2684
0
12월 20
2240
0
5월 16
3652
0
5월 18
2824