1. °³¹ß/½ÇÇà Ç÷§Æû
(1) OS : À©µµ¿ì10
(2) °³¹ßÅø : µ¨ÆÄÀÌ 7
(3) »ç¿ë Database :
2. °³¹ß ÁßÀÎ ÇÁ·Î±×·¥
3. Áú¹® ³»¿ë :
¾Æ·¡ ¼Ò½º·Î ÇÁ¸°Åͱâ´Â º¯°æ°¡´ÉÇѵ¥¿ä
ÇÁ¸°Åͱ⠿ëÁö º¯°æÀÌ ¾ÈµË´Ï´Ù. A3 <=> A4
TvaSpread, TvaSpreadPreview ·Î Ãâ·ÂÇÕ´Ï´Ù.
¹º°¡¸¦ ºü¶ß¸° °ÇÁö¿ä?
=========================================
procedure TfrmCmPrint.Button1Click(Sender: TObject);
var
device : array[0..255] of char;
Driver : array[0..255] of char;
Port : array[0..255] of char;
hDeviceMode : THandle;
begin
if PrinterSetupDialog1.Execute then begin
Printer.GetPrinter(Device, Driver, Port, hDeviceMode);
StrCat(Device, ',');
StrCat(Device, Driver);
StrCat(Device, ',');
StrCat(Device, Port);
WriteProfileString('windows', 'device', Device);
StrCopy(Device, 'windows');
SendMessage(HWND_BROADCAST, WM_WININICHANGE,0,longint(@Device));
end;
END;
==============================================