Download Latest Version CaISPROD.zip (204.4 kB)
Email in envelope

Get an email when there's a new version of CaIS System

Home / ZPL_direct_printing_FULL_Controll
Name Modified Size InfoDownloads / Week
Parent folder
README.TXT 2018-10-05 3.4 kB
BAJCS.GLB 2018-10-05 34.2 kB
BAJCS.RTN 2018-10-05 4.1 kB
bajcs.sh 2018-10-05 165 Bytes
Totals: 4 Items   41.9 kB 0
FULL Printer State_Controll under Printing ZPL label
====================================================

DON'T Use the CUPS driver & queue .
Direct RS232 Serial connection & controll without printer driver !
Printing 1 by 1 mode , DON'T use printer buffer memory !
For printer status , this program use the ~HS ZPLcommand .

Required installations: Ubuntu Linux (12.04 -> on 18.04 tested)
                        MV1_70 (or MV1R2.70 / MV1R2DEV.70 T1) 
                               NoSQL_DB & M-Programming environment
                        simple linux script for 'getty' operation
                        to serial port /dev/ttyS0

Hardware requirements:
----------------------
Use a following serial cables :
 - Zebra Desktop printers(GC,Gk,Gx,..)
   linear RS232 cable pins:[2-2,3-3]
 - Zebra S4M,ZT,Xi series
   cross RS232 cable pins:[2-3,3-2]
And serial port speed up to : 115.200 bps

Software usage in terminal/command-line mode in M-environment:
--------------------------------------------------------------
0. Make a simple label via ZebraDesigner in Windows
   & print label to file .prn format (ZPL commands format)

1. Make to attache to M job environment MCL> command mode 
   ex.: $ sudo mumps -x -eUCI ./...database_name
                          UCI=available M-database partition

2.   OPTIONAL (1 simple example label preloaded in M-database)
2./a Import a simple .prn label output file to M-Database
     [MCL]>D ^MFILE
2./b Upload & Convert to working template database-file
     [MCL]>D LD^BAJCS

3. Connect Linux serial port to M-process standard I/O
   use 'getty' OS utility :
   - prepare the 'bajcs.sh' to local directories
   Start the Background M-job for Printer Controll :
   [MCL]>J BCK^BAJCS
   
   Note: STOP the Background M-job :
         [MCL]>S ^BAJCSPR=-1
         The BCK Call use the fix serial-port parameters ,
         if need , must modify parameters : 115200bps , ttyS0

4. Manual Printig TEST job Start
   [MCL]>D MAN^BAJCS

   The program send label 1 by 1 !
   The next label sending condition's:
      - Printer is available
      - Printer NOT Paused
      - Printer processor Ready & DON'T in "Processing" status
   After every printing , refresh the printer counter.
   And under printing :
      - Show the printer Status Register
      - Detected error's:
             - Printer Paused
             - Paper Out
             - Print Head Up
             - CPU processing 0/1

====================================================

   CaIS(R)-System Software
   Copyright (C) 1997-2018  <by Josef Nagy>

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3 of the License, or
   (at your option) any later version.
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to :
   Free Software Foundation, Inc.
   59 Temple Place, Suite 330, 
   Boston, MA  02111-1307  USA.
   
   Contact to author <Josef Nagy> :
   cais.system@gmail.com
   http://caisys.no-ip.org



Source: README.TXT, updated 2018-10-05