日期:2014-05-20  浏览次数:20838 次

急求两个打印机问题的答案
1.怎么通过给打印口发指令控制打印机呢?
2.通过OPOS来操纵打印机,可现在有问题了,打印字符串的时候,它总是要等字符串占满一行才打印,这个问题我怎么解决?我想往后面加个换行符,可该怎么加呢?
打印图片的时候总是没反映。谁能给我个OPOS   打印的例子(全点的)。谢谢
3.打印机不能打中文,我想通过软字库的方式打印中文,该怎么做呢?

麻烦各位大侠了,讲解的详细一点。

------解决方案--------------------
关注 UPing~
------解决方案--------------------
opos学习中,请教一下你的microsoft opos for .net装在哪个操作系统下。我在2003下安装后,再装epson opos 系统提示不让装
------解决方案--------------------
楼主说的我不懂呢
------解决方案--------------------
microsoft opos for .net
慢的要命,建议不用它
5.2 Bitmap Printing Specified by the Bitmap Command
By using the DirectIO commands before using the SetBitmap method and the
PrintBitmap method, a bitmap command can be specified.
􀁺 Print a download bitmap
Dim RC As Long
Dim Data As String
Data= “”
RC=OPOSPOSPrinter1.DirectIO(PTR_DI_SETMAP_MODE,
PTR_DI_BMP_DOWNLOAD,
Data )
If RC=OPOS_SUCCESS Then
RC = OPOSPOSPrinter1.PrintBitmap(PTR_S_RECEIPT, "epson.bmp ",
OPOSPOSPrinter1.RecLineWidth, PTR_BM_CENTER)
If RC=OPOS_SUCCESS Then
`Success
Else
`Error
End If
Else
`Error
End If
Version 2.30 Sep. 2003
APPLICATION DEVELOPMENT GUIDE
POSPrinter (TM Series)
65
5.3 Print a Bitmap Registered on the NVRAM
EPSON OPOS ADK provides a tool, “TMFlogo” that enables to register a bitmap
image on the NVRAM in the EPSON TM series. For the usage, please refer to the
"EPSON OPOS ADK MANUAL User 's Manual (Installer/ SetupPOS/ TMUSB) ".
A bitmap image can be printed with a printer by using the DirectIO method.
Confirm a registered number of the bitmap image.
􀁺 Print the 3rd registered bitmap
Dim RC As Long
Dim Num As Long
Dim Data As String
Num=3
Data= CStr(PTR_BM_CENTER)
RC= OPOSPOSPrinter.DirectIO (PTR_DI_PRINT_FLASH_BITMAP,
Num ,
Data )
If RC=OPOS_SUCCESS Then
`Success
Else
`Error
End If
------解决方案--------------------
https://www.epsonexpert.com/login
这个网站上有相关的Pdf电子书,你自己找找看,不过都是英文的
------解决方案--------------------
帮顶