저 좀 도와주세요....(많이 도와주시면 더 좋구요...)
프린터 설정 Dialog로 선택한 프린터로 출력하기위해
다음과 같이 작성한후 Run을 하니까 Access Violation Error발생합니다요...
부디 저에게 광명에 빛을...
<---Source 시작--->
If PrinterSetupDialog1.Execute then
QuickRep1.PrinterSettings.printerindex := Printer.PrinterIndex;
<---Source 끝--->
참고) 전Delphi3.0/QuickRep2.0입니다요....
> 저 좀 도와주세요....(많이 도와주시면 더 좋구요...)
> 프린터 설정 Dialog로 선택한 프린터로 출력하기위해
> 다음과 같이 작성한후 Run을 하니까 Access Violation Error발생합니다요...
> 부디 저에게 광명에 빛을...
>
> <---Source 시작--->
> If PrinterSetupDialog1.Execute then
> QuickRep1.PrinterSettings.printerindex := Printer.PrinterIndex;
> <---Source 끝--->
>
> 참고) 전Delphi3.0/QuickRep2.0입니다요....
>
안녕하세요.
아래는 제가 해본겁니다~ 에러가 안나더군요. -.-;;
(델4 + 델4의 퀵리포트)
...
...
uses Printers;
procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
if PrinterSetupDialog1.Execute then
QuickRep1.PrinterSettings.PrinterIndex := Printer.PrinterIndex;
end;