PinCmdIntroduction针打的命令类 pincmd command class Methods
GetAbsolutePrintPositionCmd:-(NSData *)GetAbsolutePrintPositionCmd:(NSInteger)n; ParametersReturn ValueNSData Discussion绝对定点位置定位 以当前左边限为基准,右移打印头n/60 英寸。若该距离超越右边限,此 设定无效。最大设置距离为 10.6 英寸。 Absolute fixed position positioning With the current left margin as a reference, move the printhead n / 60 inches to the right. If the distance is beyond the right limit, this Setting is invalid. The maximum setting distance is 10.6 inches. GetFontStyle836sCmd:-(NSData *)GetFontStyle836sCmd:(FontStyle836)FontStyle836; ParametersReturn Value<#return value description#> Discussion设置字体风格 Set font style GetIsDualPrintCmd:-(NSData *)GetIsDualPrintCmd:(SettingMode)isDoublePrint; ParametersDiscussion双重打印 Double printing 首先正常地完成一行的打印,接着稍下移再打印,以产生加重的效果 First of all, the normal completion of a line of printing, then slightly lower and then print, in order to produce aggravate effect GetJumpingRow180thCmd:n:-(NSData *)GetJumpingRow180thCmd:(JumpMode)jumpMode n:(NSInteger)n; ParametersReturn ValueNSData Discussion实现单次 n/180 跳行 Single n / 180 skip GetPageLengthCmd:ipageLen:-(NSData *)GetPageLengthCmd:(PageUnit)ipageunit ipageLen:(NSInteger)ipageLen; ParametersReturn Value页长指令 Discussion设定页长度为 n 行/英寸。打印机根据当前的行距设定,将行数演算为英寸储存。随后的新行距 设定亦不会改变此页长值。当前的行位置 以后将作为页首位置,而底栏空则被撤消 Set the page length to n lines / inch. Printer based on the current line spacing settings, the number of lines calculated as inches. Followed by the new line spacing Settings will not change the page long value. The current line location The future will be the top position, while the bottom bar is empty GetPrintDirectionCmd:-(NSData *)GetPrintDirectionCmd:(PrintDirectionMode)printdirectionmode; ParametersReturn ValueNSData Discussion设定打印方向 若设定 EDS 开关图象方向 项为双向,此命令设定无效。 Set the printing direction GetPrintEndCmd-(NSData *)GetPrintEndCmd; Return ValueNSData Discussion打印结束,退纸 End of printing, rewinding GetRowSpaceingCmd:n:-(NSData *)GetRowSpaceingCmd:(RowSpacingMode)spacingmode n:(NSInteger)n; ParametersReturn ValueNSData Discussion获取行距的命令 Get line spacing command |