Confidential | |
|
The usage of DirectIO in OPOS
This Chapter describes the programming samples of DirectIO in OPOS.
Executes a paper cut automatically when the current position reaches the autocutter position. Executes a paper cut after feeding for 4 + pData ∗ 0.176 [mm]. The value of the pData is 0 in the following example. (the available range of pData is 0 - 255)
This function is canceled when the FEED button is pressed or a command that results printer reset is executed.
Command: PTR_DI_DELAYED_CUT Execute the delayed cut
pData : Specify feed lines to the autocutter position
pString : Not used
Dim RC As Long
Dim pString As Long
Dim pData As String
pString = PTR_DI_DUMMY
pData = 0
.....Printing process.....
RC = Coptr1.DirectIO(PTR_DI_DELAYED_CUT ,pData,pString)
Programming Samples