All Cable connections are made from inside the GSE 350. The back is removed to access.
BANK INSIDE GSE 350
The bank inside the unit is well marked and easy to connect to.
Apollo printers have the unique capability of storing a format on a PCMCIA card. The writing of the label format to the PCMCIA card can be accomplished with direct programming or with Easylabel. Once the label format has been written to the card, typical serial devices such as a computer, scale or bar code scanner can be used to recall it. Additionally, field values may easily be changed within the format prior to printing by the connected serial device. The advantage to this approach is to limit the amount of information transferred by the device. This approach also requires some knowledge of the Apollo Programming Language. The example below illustrates how the Apollo can automatically be triggered to print a label with a changing weight by a scale.
The following document contains instructions on how to integrate the GSE 350 Series Digital Indicator to an Apollo printer. Although we will cover some of the settings for the GSE 350 Series Digital Indicator, you will also need the operator’s manual. You must also have a label format previously stored on the memory card called WEIGHT. This format must have a text field defined with a fieldname of ‘WEIGHT’. You must also have a cable configured to connect the controller to a computer and a cable to connect to the printer. For information on the controller cable, check the manual. From this point on, we will refer to the GSE 350 Series Digital Indicator as Controller in Section 3.
To enter setup. Press and hold the ZERO and SELECT keys. Next press SELECT, ZERO,PRINT,UNITS,TARE.
Make sure the controller is configured for 9600 baud, 8 data bits and No parity. The P200, P201 and P202 are the settings respectively. In order to make changes to the controller setup, you must first Enter the setup mode. Instructions for entering setup mode are documented in the controller manual.
The Transmit selection must be set to Choice 0 or Custom Transmit. This is parameter P213 in the controller setup.
Save the settings and return to 0 weight. For information on saving the settings, please consult the controller manual.
Open NotePad and create the following text file. See the controller manual for definitions of what each line and command perform.
M l LBL;WEIGHT%e
Placing a 160 in place of the “3” will remove the LBS Gross and just send the weight. This is necessary when multiplying weight * price.
Save the file as text in NotePad. The name you give the file is not important.
Connect the controller to your computer and open HyperTerminal and configure the port for 9600 baud rate, 8 data bits and no parity.
Send the text file to the controller. You should see the display cycle through the commands, then store the program. Once it is finished, the controller will return to 0.00.
Disconnect the controller from your computer and plug into the back of the Apollo printer. You may have to have two separate cables, one to connect to the computer and one to connect to the printer. If you do not have two separate cables, then a gender changer and 9 to 25 adapter might be necessary.
Once the controller is connected to the printer, you will be able to place something on the scale, press the print button on the controller and a label will print at the Apollo. If the weight on the scale reads 2433, in the example above, 1 label will print with the weight printed as ‘2433 lbs. Gross’ and a complete price if you use math functions from within the Apollo to multiply the weight * price per.
Using math functions.
If you’re going to use the scale to place a weight on a label, chances are you will want to put the price on the label also. MATH FUNCTIONS DO NOT WORK WHEN BEING DOWNLOADED TO THE MEMORY CARD FOR USE WITH THE SCALE FROM EASYLABEL. For example: You want to multiply the weight by a price per pound. This function will not work when downloaded to memory card. This feature is still available from the printer.
Create a label in Easylabel.
Set up your WEIGHT and PRICE fields.
Set up field to multiply WEIGHT * PRICE. The field is named END in example below.
The field need only contain one character.
Print to file.
Open the .txt file in notepad.
Replace the character in the END field with [*:PRICE,WEIGHT]
See example file below:
M s LBL;WEIGHT
M s LBL
The above file must be downloaded to the Memory Card using Hyper Terminal.
1. Open Hyper Terminal
2. Make new connection
3. Enter WEIGHT as name.
4. Click OK
5. Connect to- Use connect direct to Com port
6. Setup. 9600,n,8,1,Hardware
7. Click OK
8. Click file/properties/settings/ascii setup/
9. Check both of the following boxes:
ECHO TYPED CHARACTERS
APPEND LINE FEEDS TO INCOMING LINE FEEDS
10. Click OK/OK
11. Click TRANSFER / SEND TXT FILE.
Now you are ready to use your scale. Place product on scale or press print.
Putting a picture logo on the label.
Download picture file to the memory card using the example Qbasic program below.
‘***Store Image on Memory Card***
‘The following program downloads an image file from a diskette to
‘the Apollo’s internal memory, then stores the downloaded image on the
‘optional Memory Card currently inserted in the printer’s PCMCIA slot.
ESC$ = CHR$(27) ‘Defines ESC, ASCII character 27 as
‘ a string character.
DOT$ = CHR$(46) ‘Defines period, ASCII character 46
‘ as a string character.
CLS ‘Clear the screen.
CLOSE ‘Close any open files.
OPEN “COM1:9600,N,8,1,bin” FOR RANDOM AS #1
‘Open port 1 for communications at
‘ 9600 baud, no parity, 8 data bits,
‘ 1 stop bit, allow for full 8 bit
‘ data transfer by use of the binary
‘ flag (bin). Communications are open
‘ as random to allow DOS to buffer
‘ characters in both directions.
CLOSE #2 ‘Close channel 2
PRINT #1, “e PCX;*” ‘Make space in printer’s memory
PRINT #1, “r” ‘Reset values to default settings
PRINT #1, “d PCX;FIRE[SAVE]” ‘Initiate download to Apollo internal
‘ memory, a PCX Image named FIRE. The
‘ [SAVE] option will save a copy to the
‘ memory card.
OPEN “A:FIRE.PCX” FOR BINARY AS #2
‘Open the file “FIRE.PCX” to be read in
‘ as file #2. The use of BINARY stops
‘ DOS and BASIC from terminating input
‘ in the event that the file contains
‘ a Ctrl-Z
PRINT #1, ESC$; DOT$; ‘ESC period, denotes the beginning of the
‘ download information.
WHILE NOT EOF(2) ‘While there is still data to read
A$ = INPUT$(1, #2) ‘ pass the data to A$
IF A$ = ESC$ THEN PRINT #1, ESC$; ‘If an ESC is encountered
‘ double the character.
PRINT #1, A$; ‘Transfers data in A$ to printer.
LOCATE 8, 10: PRINT “Apollo Image File Download”
LOCATE 10, 10: PRINT “Total File Length in Bytes: “; LOF(2)
PERCENT = LOC(2) / LOF(2) * 100
LOCATE 12, 10: PRINT “Percent Complete: “; USING “### %”; PERCENT
WEND ‘Stop when file is empty.
PRINT #1, ESC$; DOT$ ‘ESC period, denotes the end of the
‘ download information.
After the picture is downloaded to the card, add the below example lines to your print to file being copied down to the card using Hyper Terminal.
M l IMG;FIRE
Download the print to file to card using Hyper Terminal.