Generic & Misc. Printing

1 | Card Printing & Encoding

This article explains how Bepoz supports printing and magnetically encoding Member cards, Operator cards, Vouchers and Tab (table) Cards. A supported printer must be used. Prerequisites The Driver for the printer must be loaded onto the workstation and configured fully. Ensure the Colour/Black Only setting is correct. Also check that encoding is enabled (if present in the printer) A new device Card Printer must be added to the workstation where you wish to print from (Network printing is supported).

This article explains how Bepoz supports printing and magnetically encoding Member cards, Operator cards, Vouchers and Tab (table) Cards.

A supported printer must be used.

Prerequisites
  • The Driver for the printer must be loaded onto the workstation and configured fully. Ensure the Colour/Black Only setting is correct. Also check that encoding is enabled (if present in the printer)
  • A new device Card Printer must be added to the workstation where you wish to print from (Network printing is supported). The exact Printer name must be set. If the printer is incorrect, when a print is attempted, a list of valid printer names will be displayed
  • Once the Card Printer is detected on the workstation, a new button will appear in both Accounts and Operator Edit Screen.Print New Card
  • This will cause one card to be printed for the currently displayed Account/Operator
  • If an Account Group or Operator Group is displayed, the button will read Print Group Cards
  • If pressed, this will print one card for EACH Account or Operator (except Inactive, or Stop Account or Operators without Operator Till Flag)

Card Layout Files
  • The Layout of the Card is determined by file(s) named:
    • CARDACCOUNT?.TXTCARDOPERATOR?.TXT
    • CARDVOUCHER?.TXT
    • CARDTABLE?.TXT 
  • Where ? is any character or nothing
  • This resides in EITHER the Local Data Directory or the Shared Data Directory as defined in Database.exe
  • The Software will first look in the Local Data directory, then if not found, it will look in the Shared Data Directory
  • This enables different workstation to either use different layouts, or share the same layout
  • This file is a multiline ASCII file delimited with commas
 

Description

Field
  • Name as listed in below Table
Print
  • Y = Print, N = Do not Print (or Encode)
Left
  • Start millimetres from left edge
Top
  • Start millimetres from top edge
Width
  • Maximum width (Photo Only)
Height
  • Maximum height (Photo Only)
FontSize
  • Optional Font size (requires Font Name)
FontName
  • Optional Font Name
Prefix
  • Free Text to be printed in front of field
Suffix
  • Free Text to be printed after the field
Option
  • Field specific options

 

 


Card Layout Fields

Account Card

Sample CardAccount.txt file

Field,Print,Left,Top,Width,Height,FontSize,FontName,Prefix,Suffix,Option
LAYOUTNAME,Gold Member Cards
CARD,Y,0,0,86,54,12,Tahoma
ENCODING,Y,5,5
BITMAP,N,60,12,20,24
CARDNUM,Y,5,10,,,12,Tahoma,, is CardNum
NAME,y,5,25,,,14,Tahoma,,, "T F L"
MISC1,y,5,31,,,12,Tahoma   (Account Custom Text Field 1)
MISC2,y,40,31,,,12,Tahoma (Account Custom Text Field 2)
ACCNUM,y,5,37,,,12,Tahoma,Acc# ,
EXPIRY,y,5,43,,,8,Tahoma,Expiry: ,,dd MMM yy
CREATED,y,45,43,,,8,Tahoma,Member Since: ,,MMM yy
RENEWAL,y,45,63,,,8,Tahoma,Member Until: ,,dd MMM yy
TEXT,Y,35,14,,,12,Tahoma,Sample Text
TEXT2,Y,35,19,,,12,Tahoma,Sample Text2
GROUPNAME,Y,35,35,,,8,Tahoma,Group: 
CREDITLIMIT,Y,5,47,,,8,Tahoma,Amount: 
ACCTYPE,Y,35,39,,,8,Tahoma,MemType:
STREET1,y,5,51,,,12,Tahoma
STREET2,y,5,61,,,12,Tahoma
STREET3,y,5,71,,,12,Tahoma
CITY,y,5,81,,,12,Tahoma
STATE,y,25,81,,,12,Tahoma
POSTCODE,y,45,81,,,12,Tahoma
COUNTRY,y,5,91,,,12,Tahoma 

 

 

  • The fields that can be printed are as follows:

Fields

Description

LAYOUTNAME If more than one layout file is found, this name will be prompted to the operator
CARD Card Setup for Width, height etc. and default font
ENCODING Magnetically Encode Account Card Number
BITMAP Account Photo
CARDNUM Account CardNumber
NAME Options:T=Title F=First L=Last (other=Literal) 
e.g."T F L" or "L, F" Must use quotes if has comma 
Defaults to printing Title Firstname Lastname
MISC1 Account Misc1 Field
MISC2 Account Misc2 Field
ACCNUM Account Number
EXPIRY Expiry Date, Options: format string e.g. dd/MM/yy 
Defaults to computer short date format
RENEWAL Next Renewal Date, Options: format string e.g. dd/MM/yy Defaults to computer short date format
CREATED Created Date, Option: format string e.g. MMM yy
TEXT Free Text Field (use Prefix or Suffix)
TEXT2 2nd Free Text Field (use Prefix or Suffix)
GROUPNAME Account Group Name
CREDITLIMIT Only prints if Limit is set and NOT "Cash Only"
STREET1 Address Street 1
STREET2 Address Street 2
STREET3 Address Street 3
CITY Address City
STATE Address State
POSTCODE Address Postcode
COUNTRY Address Country

 

 


Operator Card
 

Sample CardOperator.txt file

Field,Print,Left,Top,Width,Height,FontSize,FontName,Prefix,Suffix,Option
LAYOUTNAME,Operator Cards
CARD,Y,0,0,86,94,12,Tahoma
OPENCODING,Y,5,5
OPBITMAP,N,60,12,20,24
OPNUM,Y,5,9,,,12,Tahoma,, is CardNum
OPFIRSTNAME,y,5,25,,,14,Tahoma
OPFULLNAME,y,5,32,,,12,Tahoma
OPTEXT,Y,35,14,,,12,Tahoma,Text for Label
OPTEXT2,Y,35,19,,,12,Tahoma,Text2 here
OPGROUPNAME,Y,35,26,,,8,Tahoma,OpType:
OPSTREET1,y,5,51,,,12,Tahoma
OPSTREET2,y,5,61,,,12,Tahoma
OPSTREET3,y,5,71,,,12,Tahoma
OPCITY,y,5,81,,,12,Tahoma
OPSTATE,y,25,81,,,12,Tahoma
OPPOSTCODE,y,45,81,,,12,Tahoma
OPCOUNTRY,y,5,91,,,12,Tahoma

 

The Fields that can be printed are as follows:

 

Fields

Description

LAYOUTNAME If more than one layout file is found, this name will be prompted to the operator
CARD Card Setup for Width, height etc. and default font
OPENCODING Magnetically Encode Account Card Number
OPBITMAP Operator Photo
OPNUM Operator Number
OPFIRSTNAME Operator First Name Only
OPFULLNAME Operator First and Last Name
OPTEXT Free Text Field (use Prefix or Suffix)
OPTEXT2 2nd Free Text Field (use Prefix or Suffix)
OPGROUPNAME Account Group Name
OPSTREET1 Address Street 1
OPSTREET2 Address Street 2
OPSTREET3 Address Street 3
OPCITY Address City
OPSTATE Address State
OPPOSTCODE Address Postcode
OPCOUNTRY Address Country

 



Voucher

 

Sample CardVoucher.txt file

Field,Print,Left,Top,Width,Height,FontSize,FontName,Prefix,Suffix,Option
LAYOUTNAME,Voucher Cards
CARD,Y,0,0,86,94,12,Tahoma
VCHENCODING,Y,5,5
VCHLOOKUP,Y,5,9,,,12,Tahoma,, is CardNum
VCHSETUPNAME,y,5,18,,,14,Tahoma
VCHEXPIRYDATE,y,7,13,,,8,Tahoma,Expiry: ,,dd MMM yy
VCHEXPIRYNUM,y,9,15,,,14,Tahoma
VCHEXPIRYTYPE,y,31,15,,,14,Tahoma
VCHISSUEDDATE,y,11,24,,,14,Tahoma
VCHAMTISSUED,y,31,68,,,14,Tahoma,":"
VCHAMTLEFT,y,11,31,,,14,Tahoma,"Left:"
VCHVENUE,y,11,34,,,14,Tahoma
VCHSTORE,y,11,38,,,14,Tahoma
VCHTEXT1,y,11,41,,,14,Tahoma,"Misc Text"
VCHTEXT2,y,11,44,,,14,Tahoma,"Misc2222 Text"
VCHTEXT3,y,11,48,,,14,Tahoma,"Misc3333 Text"
VCHTEXT4,y,11,51,,,14,Tahoma,"Misc44,4 Text"

 

  • The fields that can be printed are as follows:

 

Fields

Description

LAYOUTNAME If more than one layout file is found, this name will be prompted to the operator
CARD Card Setup for Width, height etc. and default font
VCHENCODING Magnetically Encode Account Card Number

 

 


TableAccount Cards

 

Sample CardTable.txt file

Field,Print,Left,Top,Width,Height,FontSize,FontName,Prefix,Suffix,Option
LAYOUTNAME,Tab Cards
CARD,Y,0,0,86,94,12,Tahoma
TABENCODING,Y,5,5
TABNUM,Y,5,9,,,22,Tahoma,, is Tab Number
TABTEXT1,y,11,21,,,14,Tahoma,"Misc Text"
TABTEXT2,y,11,24,,,14,Tahoma,"Misc2222 Text"
TABTEXT3,y,11,28,,,14,Tahoma,"Misc3333 Text"
TABTEXT4,y,11,31,,,14,Tahoma,"Misc44,4 Text"

 

  • The fields that can be printed are as follows:

 

Fields

Description

LAYOUTNAME If more than one layout file is found, this name will be prompted to the operator
CARD Card Setup for Width, height etc. and default font
TABENCODING Magnetically Encode Account Card Number
TABNUM  
TABTEXT1  

 

  • It is suggested that you start with the above sample files that will print everything, then anything not required, simply set the PRINT field to N

Printers Supported

  • The Javelin 310 and Zebra Eltron P330i has been tested and works fully with this interface
  • This Interface prints to a standard Windows Printer Driver. This means many other printers that use a Windows Printer Driver will print cards with this interface as is without modification
  • However, the Encoding may be different for other printers; thus, any other printers must be tested first