3800 SERIES
 
TECH NOTES


3800 SGR Font Switching

GENICOM Techical Note 38U-007
3800 SGR Font Switching
11-10-95 Ed Palmer

MODELS: 3800 and 3900 series with a serial number 9249 or higher.

PROBLEM: Downline selection of a printer resident font is desired, but no SGR (Select Graphics Rendition) number is assigned to the desired font.

CAUSE: SGR numbers can be assigned to only 10 fonts at a time.

SOLUTION: Switch the SGR numbers to the desired font.

The following resident fonts on a 3800 do not have an SGR number (10 - 19) assigned to them:

WD Gothic LQ
OCR-B DP
OCR-B LQ
Micro DP
Micro LQ
OCR-A DP
OCR-A LQ

The SGR codes may be changed by the Font Selection command documented in the programmers manual.

ESC ] 6 ; 5 ; p3 ; p4 ; ...p12 ESC \ (yes, that is a right bracket)

Where
p3 is the target SGR minus 10 (0-9)
p4 thru p12 are parameters shown in the font list at the end of the printer status sheet

NOTE: Font Selections modified with this code are lost when power is cycled.

3800 EXAMPLE:

To assign SGR 17 to the OCR-A LQ font, send the following code:

ESC ] 6; 5; 7; 27; 2; 10; 12; 0; 5; 7; 0; 4 ESC \

3900 EXAMPLE:

The following code sequence will cause the interface in the 3900 series (or a 3800 with a GeniLink 500 series protocol adapter) to send the same SGR code to the printer at powerup:

&%S0 , &%1B &%5D 6 &%3B 5 &%3B 7 &%3B 27 &%3B 2 &%3B 10 &%3B 12 &%3B 0 &%3B 5 &%3B 7 &%3B 0 &%3B 4 &%1B &%5C ; &%X254 , 0 ;

The S0 command defines the string sent to the printer on powerup. The string starts after the comma, and the command is terminated with a semicolon. Since the string we need to send contains semicolons, we must send them as a hex passthrough code- &%3B.

The X254,0 command saves this to permanent memory.


Back to Previous Menu