Programming guide friendly ghost language


DRIVER COMMANDS (implemented November 2007 on new 26/46 printers)



Download 1.07 Mb.
Page5/27
Date29.01.2017
Size1.07 Mb.
#11977
1   2   3   4   5   6   7   8   9   ...   27

DRIVER COMMANDS (implemented November 2007 on new 26/46 printers)


In general, we discourage sending FGL commands from the driver as they lead to unexpected results. However, the following commands were designed specifically for use with windows drivers. All of these commands must be sent using one of BOCA’s resident fonts. (Mac and Linux drivers do not support resident fonts.)

CUTTER COMMANDS
NO CUT MODE -

This command places the printer into a “no cut” mode where a print command will cause the printer to print without cutting the ticket. Please note that no other data should be sent on the same ticket as the “no cut mode” command, as all other data on these tickets will be ignored.



CUT MODE -

This command returns the printer into its default “cut” mode where a print command will cause the printer to print and cut the ticket. Please note that no other data should be sent on the same ticket as the “cut mode” command, as all other data on these tickets will be ignored.




FORMATTING COMMANDS
FGL MODE -

This command allows the user to format the ticket independently of the driver. Please note that data sent in this mode will not be displayed in a WYSWYG format and may overwrite or intersect with the data shown on your screen when printed. The primary purpose of this command is to facilitate the use of rotated bar codes. The command should be sent at the beginning of a line (in a resident font) with the bar code information immediately succeeded by the bar code information and an command. The command sequence cannot extend beyond the end of the line. Each command sequence must be placed on a new line with a separate command. We suggest placing the mode commands at the end of your ticket separated from the remainder of your ticket data.




Normal ticket data – this can be in any font

*LADDER*

*LADDER*




POSSIBLE FUTURE COMMANDS AND FEATURES



PROGRAMMABLE TEST TICKET

This command would allow the customer to design their own test ticket.


STANDARD INTERFACE PINOUTS



SERIAL PINOUTS

RS232 (std)







RS232 (PC)







RS232 (RJ11)

CPU PORT




RS232 (RJ11)

Terminal Port

PIN

FUNCTION




PIN

FUNCTION




PIN

FUNCTION




PIN

FUNCTION

2

Printer Transmit




2

Printer Receive




1

DTR (printer rdy)




1

DTR (printer rdy)

3

Printer Receive




3

Printer Transmit




2

Printer Transmit




2

Printer Receive

7

Ground




5

RTS (+5V)




3

Printer Receive




3

Printer Transmit

5,20

Printer Ready




6

DTR (printer rdy)




4

Ground




4

Ground

4,22

RTS (+5V)




7

Ground




5

Ground




5

Ground










8

CD (+5V)




6







6





TYPICAL RS232 PIN CONNECTIONS

(standard) (standard) (pc type) (pc type)

25 PIN PC 9 PIN PC 25 PIN PC 9 PIN PC

BOCA CPU BOCA CPU BOCA CPU BOCA CPU

2 ---- 3 RXD 2 ---- 2 RXD 2 ---- 2 TXD 2 ---- 3 TXD

3 ---- 2 TXD 3 ---- 3 TXD 3 ---- 3 RXD 3 ---- 2 RXD

7 ---- 7 GND 7 ---- 5 GND 5 ---- 5 CTS* 5 ---- 8 CTS*

20 ---- 6 DSR 20 ---- 6 DSR 6 ---- 6 DSR 6 ---- 6 DSR

20 ---- 5 CTS* 20 ---- 1 CD* 7 ---- 7 GND 7 ---- 5 GND

20 ---- 8 CD* 20 ---- 8 CTS* 8 ---- 8 CD* 8 ---- 1 CD*

* optional connection
PARALLEL

PIN FUNCTION

1 Strobe (negative)

2-9 Data (DB0 - DB7)

10 ACK (negative)

11 BUSY


  1. PAPER OUT

  2. SELECT (negative)

15 ERROR (negative)

18 Ground


NOTE: The above pinouts may vary on certain printers due to special customer request. STANDARD INTERFACE PINOUTS CONTINUED

RS422 DIFFERENTIAL INTERFACE PINOUTS (422190-9)

FAA LOR


PIN FUNCTION PIN FUNCTION

1,7 Ground 1,7 Ground

19 Printer Transmit - 19 Printer Transmit +

25 Printer Transmit + 25 Printer Transmit -

15 Printer Receive - 15 Printer Receive +

17 Printer Receive + 17 Printer Receive -

11 Ready + 11 Ready +

10 Ready - 10 Ready -





Download 1.07 Mb.

Share with your friends:
1   2   3   4   5   6   7   8   9   ...   27




The database is protected by copyright ©ininet.org 2024
send message

    Main page