请问怎样设定打印机的入纸是横向/纵向?(50)

L

lljimo

Unregistered / Unconfirmed
GUEST, unregistred user!
请问怎样设定打印机的入纸是横向/纵向? 我用A3纸打印, 版面设定的方向为 横向。 结果我只有手工入纸时竖向放置才可以正确打印, 若手工入纸为横向,则右面的一些内容不能打印(可能时超界,分成两页,打印在另一页)。 请问若手工入纸为横向,这个问题怎么解决?
 
高手那里去了
 
[8D] unit Printers;TPrinter = class(TObject).... public... property Orientation: TPrinterOrientation read GetOrientation write SetOrientation;
 
function TPrinterSetupDialog.Execute: Boolean;..begin
... SetPrinter(hDevMode, hDevNames)...end;
procedure SetPrinter(DeviceMode, DeviceNames: THandle);...begin
... Printer.SetPrinter(PChar(DevNames) + wDeviceOffset,...end;
先看看上面部份的代码,如果还有不明白,找一个开源的打印组件代码研究一下就能解决你的问题了。
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
903
import
I
顶部