//小票const//ESC指令开钱箱c_OpenMoneyBoxCommand=CHR(27)+CHR(112)+CHR(0)+CHR(17)+CHR(8);//ESC指令自动…
unitMain;interfaceusesBluetooth.Printer,Winapi.Windows,Winapi.Messages,System.SysUtils,System.Varian…
一、概述在银行,税务,邮政等行业的实际工作中,经常涉及到在印刷好具有固定格式的汇款单,储蓄凭证,税票…
usesComObj;procedureTForm1.Button1Click(Sender:TObject);varwdo,wdoc,wdocs:OleVariant;beginwdo:=Creat…
unitUnit2;interfaceusesWinapi.Windows,Winapi.Messages,System.SysUtils,System.Variants,System.Classes…
1、控制POS机的客户显示屏procedureTFrmMain.ShowMoney(Money_Port:String;Money_String:String);//Moneey_…
functionGetDeviceName():String;varMyReg:TRegistry;szDeviceName:String;begintryMyReg:=TRegistry.Creat…
unitMain;interfaceusesWindows,Messages,SysUtils,Variants,Classes,Graphics,Controls,Forms,Dialogs,Ext…
ShellExecute(Handle,'print',PChar('c:/document.doc'),nil,nil,SW_HIDE);DropaTComboBoxonaform.Nameit"c…
usesWinSpool;procedureChangeDefaultPrinter(constName:string);varW2KSDP:function(pszPrinter:PChar):Bo…
昨天碰到一个灰常的,郁闷之极的问题!在打印机上,竟然使用Delphi的常规方式绘制虚线的时候,竟然显示的始…
Delphi抓图后打印这张图片,弹出打印属性框.
Delphi动态调整打印机纸张大小.
delphi调用打印软件代码.
delphi设置系统默认打印机.
Delphi中获取打印机设备名和端口名
delphi缩放图形打印输出
delphi设置打印机纸张大小!也可以获取纸张大小