彩乐园

 
公司信息 解決方案 條碼設備 條碼耗材 工業設備 服務與支持 聯系我們

 


您的位置:  敏用首頁




Argox條碼打印機運行PPLA指令,打印后只能掃描一個字母,為什么?

發布時間: 2012-4-16 8:36:18
雙擊自動滾屏打印此頁】【關閉本頁

問題:
使用Argox OS-214 PLUS條碼打印機,下載了官方網站sample,運行正常,但是打印出的條碼,只有一個字母,為什么?
關鍵代碼如下:
A_Bar2d_PDF417(260,20,0,0,'f',0,0,10,2,'n',2,"abcd12"); // 6個字符,打印后只能掃描出第一個。
A_Print_Out(2,1,2,1);
 
 
 
敏用數碼解答:
 
從你提供的信息上來看,你使用立象OS-214 PLUS的應該是PPLA語言,A_Bar2d_PDF417這個函數參數略有錯誤,可以更改成這樣:A_Bar2d_PDF417(260,20,0,0,'F',0,0,10,2,'N',0,"abcd12");
同時,你可以根據A_Bar2d_PDF417的返回值來看看問題出在哪里?
 
 
下面列出A_Bar2d_PDF417函數的說明:
 
A_Bar2d_PDF417(int x, int y, int narrow, int width, char normal,int security, int aspect, int row, int column, char mode, int numeric,LPCTSTR data);
 
參數:
    x;
      X 座標。(100 = 1 英吋)
    y;
      Y 座標。(100 = 1 英吋)
    narrow;
      NARROW bar 寬度,范圍 0~24。
    width;
      WIDE bar 寬度,范圍 0~24。
    normal;
      F:normal, T:truncated.
    security;
      0~8:security level.
    aspect;
      0~99:aspect ratio,0 stands for 1:2.
    row;
      3~90:row number,0 for best fit.
    column;
      1~30:column number,0 for best fit.
    mode;
      附加功能,如下表:
      +----+-------------------------------------+
      |mode|           功能說明                  |
      +----+-------------------------------------+
      | A  |對數字自動增加跳號.                  |
      +----+-------------------------------------+
      | B  |對字母自動增加跳號.                  |
      +----+-------------------------------------+
      | C  |對數字自動減少跳號.                  |
      +----+-------------------------------------+
      | D  |對字母自動減少跳號.                  |
      +----+-------------------------------------+
      | T  |改變終結字元.                        |
      +----+-------------------------------------+
      | N  |無須任何功能.                        |
      +----+-------------------------------------+ 
    numeric;
      自動增加或減少跳號量。范圍:0~99
      當有附加功能時此欄位必須存在。
      當 mode 為 T 時,此攔為終結字元值(十進位)。
    data;
      資料字串。
 
傳回值:
    0 -> OK.
    2021 -> A_Bar2d_PDF417()             x, y, narrow, width, security,aspect,column,numeric maybe error.
    2022 -> A_Bar2d_PDF417()             row maybe error.
    2023 -> A_Bar2d_PDF417()             normal maybe error.
    2024 -> A_Bar2d_PDF417()             The data must be numeric.
    2025 -> A_Bar2d_PDF417()             The data must be numeric.
    2026 -> A_Bar2d_PDF417()             mode maybe error.
 

 


相關同類信息:
  • Godex QLabel-IV怎么打UCC128條形碼時,提示錯誤?
  • TSC TTP345接通電源后碳帶轉了一圈就不動了,是否正常?
  • 如何實現斑馬移動無線打印機的POP3郵件打印?
  • Zebra QL系列移動打印機——LCD屏幕空白
  • Intermec智能打印機如何選擇一個不同的命令語言?
  • 條碼打印機打印間歇性出現橫白條,怎么解決?
  • 條碼打印機沒有USB接口,怎么接USB接口呢?
  • 如何上傳Intermec IPL打印機里當前存儲的格式或圖形?

  •  
    © 2003-2007 kckidsfurniture.com.
    万家彩票(广州)集团有限公司 快彩网-官网 彩人间-通用app下载 民彩网-互动百科 幸运PK10-专业购彩 掌上彩票-手机版 彩神彩票(广东)集团有限公司