Q&A

  • 출력시 용지방향 지정하기에 대하여....
안녕하세요.

저는 김범술이라고 하는데요.

TPrinter를 이용하여 출력을 하려고 하는데, PrinterSetDialog를 이용하지않고

용지의 방향을 코딩으로 가로, 세로로 바꾸어주는 방법을 가르쳐주세요.

그럼 부탁 드립니다.

1  COMMENTS
  • Profile
    안치봉 1999.05.29 01:59
    kbs91 께서 말씀하시기를...

    > 안녕하세요.

    > 저는 김범술이라고 하는데요.

    > TPrinter를 이용하여 출력을 하려고 하는데, PrinterSetDialog를 이용하지않고

    > 용지의 방향을 코딩으로 가로, 세로로 바꾸어주는 방법을 가르쳐주세요.

    > 그럼 부탁 드립니다.



    안녕하세요.



    property Orientation: TPrinterOrientation;



    위의것을 사용하시죠.



    Orientation determines if the print job prints vertically or horizontally on a page.



    type TPrinterOrientation = (poPortrait, poLandscape);

    property Orientation: TPrinterOrientation;



    Description



    Use Orientation to determine if a print job prints in landscape or portrait.

    TPrinterOrientation is the type of the Orienation property. These are the possible values for TPrinterOrientation:



    Value Meaning

    poPortrait The job prints vertically on the page.

    poLandscape The job prints horizontally on the page.



    델파이 도움말중에 TPrinter 에 대해 읽어 보시시오.