91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

TSCActiveX.DLL-PHP-Example

發布時間:2020-07-06 16:50:05 來源:網絡 閱讀:2442 作者:wp306561296 欄目:web開發

How to RegisterTSCActiveX.Dll File.

Please copy the two DLL files (TSCActiveX.dll, TSCLIB.dll) intothe folder system underthe Windows system disk. Ex: C:\windows\system\.

Please register the TSCActiveX.dllby the Regsvr32.exe. Ex:

 

 

Then you can program an ASP filewith TSCActiveX.DLL.

 


ActiveX.Dll Functions Description.

-------------------------------------------------------------------------------------------------------

TSCActiveX.TSCLIB.ActiveXabout()

       Description: Display the DLL version on the screen.

-------------------------------------------------------------------------------------------------------

TSCActiveX.TSCLIB.ActiveXopenport(ByVal PrinterName AsString)

       Description: Start the Windows printer spool.

       Parameter:

PrinterName : String, forlocal printer, please specified the printer driver name. For network printer,please specified the UNC path and printer name.

-------------------------------------------------------------------------------------------------------

TSCActiveX.TSCLIB.ActiveXdownloadpcx(ByVal Filename AsString, ByVal ImageName As String)

       Description: Download mono PCX graphic files to the printer

       Parameter:

              Filename: string; file name (including file retrieval path)

ImageName : string,names of files that are to be downloaded in the printer memory (Please usecapital letters).

-------------------------------------------------------------------------------------------------------

TSCActiveX.TSCLIB.ActiveXsetup(ByVal LabelWidth As String,ByVal LabelHeight As String, ByVal Speed As String, ByVal Density As String,ByVal Sensor As String, ByVal Vertical As String, ByVal Offset As String)

Description: Set up label width, label height, print speed, print density, sensor type, gap/black markvertical distancegap/black mark shiftdistance.

       Parameter:

              LabelWidth: string, sets up label width; unit: mm

              LabelHeight: string, sets up label height; unit: mm

Speed : string, setsup print speed, (selectable print speeds vary on different printer models)

                     1.0: setsprint speed at 1.0"/sec

                     1.5: setsprint speed at 1.5"/sec

                     2.0: setsprint speed at 2.0"/sec

                     3.0: setsprint speed at 3.0"/sec

                     4.0: setsprint speed at 4.0"/sec

                     6.0: setsprint speed at 6.0"/sec

                     8.0: setsprint speed at 8.0"/sec

                     10.0: setsprint speed at 10.0"/sec

              Density: string, sets up print density

                     0~15the greater the number, the darker theprinting

              Sensor: string, sets up the sensor type to be used

                     0: signifiesthat vertical gap sensor is to be used

                     1: signifiesthat black mark sensor is to be used

Vertical : string, setsup vertical gap height of the gap/black mark; unit: mm

Offset : string, setsup shift distance of the gap/black mark; unit:: mm; in the case of the averagelabel, set this parameter to be 0.

-------------------------------------------------------------------------------------------------------

TSCActiveX.TSCLIB.ActiveXformfeed()

Description: Skip to nextpage (of label); this function is to be used after setup.

-------------------------------------------------------------------------------------------------------TSCActiveX.TSCLIB.ActiveXnobackfeed()

       Description: disable thebackfeed function

-------------------------------------------------------------------------------------------------------TSCActiveX.TSCLIB.ActiveXsendcommand(ByVal command AsString)

       Description: Sendsbuilt-in commands to the bar code printer

       Parameter: Refer toTSPL for details

-------------------------------------------------------------------------------------------------------

TSCActiveX.TSCLIB.ActiveXclearbuffer()

       Description: Clearprinter’s p_w_picpath buffer.

-------------------------------------------------------------------------------------------------------

TSCActiveX.TSCLIB.ActiveXwindowsfont(ByValX As Long, ByVal Y As Long, ByVal Fontheight As Long, ByVal Rotation As Long,ByVal Fontstyle As Long, ByVal Fontunderline As Long, ByVal FaceName As String,ByVal TextContent As String)

       Description: UseWindows font to print text.

       Parameter:

X: Integer, thestarting point of the text along the X direction, given in points

Y: Integer, thestarting point of the text along the Y direction, given in points

              Fontheight: Integer, the font height, given in points.

              Rotation:Integer, rotation in counter clockwise direction

                     0 -> 0degree

                     90-> 90 degree

                     180-> 180degree

                     270-> 270degree

              Fontstyle: Integer, font style

                     0-> Normal

                     1-> Italic

                     2-> Bold

                     3-> Boldand Italic

              Fontunderline: Integer, font with underline

                     0-> Withoutunderline

                     1-> Withunderline

FaceName : String, fonttype face. Specify the true type font name. For example: Arial, Times newRoman.

              TextContent: String, text to be printed.

-------------------------------------------------------------------------------------------------------

TSCActiveX.TSCLIB.ActiveXbarcode(ByValX As String, ByVal Y As String, ByVal CodeType As String, ByVal Height AsString, ByVal Readable As String, ByVal Rotation As String, ByVal Narrow AsString, ByVal Wide As String, ByVal Code As String)

       Description: Usebuilt-in bar code formats to print

       Parameter:

X: string; thestarting point of the bar code along the X direction, given in points (of 200DPI, 1 point=1/8 mm; of 300 DPI, 1point=1/12 mm)

Y: string; thestarting point of the bar code along the Y direction, given in points (of 200DPI, 1 point=1/8 mm; of 300 DPI, 1 point=1/12 mm)

              CodeType: string

128 :              Code 128, switching code subset A, B, C automatically

                     128M :               Code 128, switching code subset A,B, C manually.

EAN128 :      Code 128, switching code subset A, B, Cautomatically

                     25 :             Interleaved 2 of 5

                     25C :          Interleaved 2 of 5 with check digits

                     39 :             Code 39

                     39C :          Code 39 with check digits

                     93 :             Code 93

                     EAN13 :     EAN 13

                     EAN13+2 :        EAN 13 with 2 digits add-on

                     EAN13+5 :        EAN 13 with 5 digits add-on

                     EAN8 :               EAN 8

                     EAN8+2 :   EAN 8 with 2 digits add-on

                     EAN8+5 :   EAN 8 with 5 digits add-on

                     CODA :        Codabar

                     POST :              Postnet

                     UPCA :              UPC-A

                     UPCA+2 :  UPC-A with 2 digits add-on

                     UPCA+5 :  UPC-A with 5 digits add-on

                     UPCE :              UPC-E

                     UPCE+2 :  UPC-E with 2 digits add-on

                     UPCE+5 :  UPC-E with 5 digits add-on

              Height: string; sets up bar code height, given in points

Readable : string, setsup whether to print human recognizable interpretation (text) or not.

                     0: prints nointerpretation

                     1: printsinterpretation

              Rotation: string; sets up rotation degrees

                     0:          rotates 0 degree

                     90:       rotates 90 degrees

                     180:     rotates180 degrees

                     270:     rotates 270 degrees

              Narrow: string; sets up narrow bar ratio, refer to TSPL user's manual

              Wide :string; sets up narrow bar ratio, refer to TSPL user's manual

              Code :string; bar code content

-------------------------------------------------------------------------------------------------------

TSCActiveX.TSCLIB.ActiveXprinterfont(ByValX As String, ByVal Y As String, ByVal FontName As String, ByVal Rotation AsString, ByVal Xmul As String, ByVal Ymul As String, ByVal Content As String)

       Description: Useprinter built-in fonts to print

       Parameter:

X: string; thestarting point of text (character string) along the X direction, given inpoints (of 200 DPI, 1 point=1/8 mm; of 300 DPI, 1 point=1/12 mm)

Y: string; thestarting point of text (character string) along the Y direction, given inpoints (of 200 DPI, 1 point=1/8 mm; of 300 DPI, 1 point=1/12 mm)

              FontName : string; built-in font type name, 12kinds in sum

                     1: 8*/12 dots

                     2: 12*20 dots

                     3: 16*24 dots

                     4: 24*32 dots

                     5: 32*48 dots

                     TST24.BF2: Traditional Chinese 24*24

                     TST16.BF2: Traditional Chinese 16*16

TTT24.BF2: TraditionalChinese 24*24 (Telecommunication Code)

                     TSS24.BF2: Simplified Chinese 24*24

                     TSS16.BF2: Simplified Chinese 16*16

                     K: Japan, Korean font 24*24,

                     L: Japan Korean font16*16

Rotation : string; setsup the rotation degree of the text (character string)

                     0: rotates 0 degree

                     90: rotate 90 degrees

                     180: rotate 180 degrees

                     270: rotate 270 degrees

Xmul : string; setsup the magnification rate of text (character string) along the X direction,range: 1~8

Ymul : string; setsup the magnification rate of text (character string) along the Y direction,range: 1~8

              Content : string; prints the content of text(character string)

-------------------------------------------------------------------------------------------------------

TSCActiveX.TSCLIB.ActiveXprintlabel(ByValNumberOfSet As String, ByVal NumberOfCopy As String)

       Description:Print label content

       Parameter:

              NumberOfSet: string; sets up the number of label sets

              NumberOfCopy: string, sets up the number of print copies

-------------------------------------------------------------------------------------------------------

TSCActiveX.TSCLIB.ActiveXcloseport()

       Description: Close Windows printer spool.

 


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

邳州市| 抚州市| 双柏县| 静宁县| 博兴县| 兴海县| 那曲县| 布尔津县| 长白| 隆德县| 斗六市| 重庆市| 彰化县| 临朐县| 元朗区| 伊川县| 白城市| 互助| 孟村| 曲沃县| 嘉鱼县| 永靖县| 靖江市| 巴东县| 隆安县| 玉溪市| 山阳县| 麟游县| 玉门市| 铜川市| 赤水市| 怀化市| 桐柏县| 泰来县| 鄂托克前旗| 灵寿县| 清原| 宁化县| 车险| 漳州市| 剑川县|