<< Click to Display Table of Contents >>
OZUserActionCommand > Print
OZUserActionCommand의 type 중 Print는 보고서를 인쇄할 때 발생하며, 리턴되는 attr은 다음과 같습니다.
attr |
설명 |
adjust |
용지에 맞춰 인쇄(string) |
code |
인쇄 코드(string) |
collate |
한 부씩 인쇄(string) |
copies |
인쇄 매수(int) |
dividepage |
용지에 맞춰서 분할 인쇄(string) |
drivername |
프린터 드라이버 이름(string) |
duplex |
양면 인쇄(string) |
gray |
흑백 인쇄(string) |
handout |
모아찍기(string) |
handoutorder |
모아찍기 중 인쇄 순서(string) |
handoutorientation |
모아찍기 중 인쇄 방향(string) |
handoutpage |
모아찍기 중 한 페이지에 인쇄할 페이지 수(int) |
orientation |
용지 방향(string) |
pageindex |
페이지 인덱스(int). Zero-Based Index 인쇄 범위가 현재 페이지일 때에만 리턴됨 |
papersize |
인쇄할 용지(string) |
printername |
프린터 이름(string) |
printrange |
인쇄 범위(string) |
printtofile |
파일로 인쇄(string) |
reportname |
보고서 이름(string) |
trayname |
용지 공급(string) 자동 선택인 경우 공백으로 리턴됨 |
usespooleachcopy |
한 부씩 스풀 사용(string) |
zoom |
확대/축소 비율(int) |
Reference
뷰어 타입별로 오즈 뷰어 인쇄 다이얼로그에서 지원하지 않는 옵션은 기본 값으로 리턴됩니다.
Example
...
function OZUserActionCommand_OZViewer(type, attr) {
var MyObj = eval('(' + attr + ')');
if(type == "Print") {
alert(MyObj.adjust);
...
}
}
...