Xerox FS 5250 IPC instruction manual Escape Character

Page 28

Function Selection via the Line

Xerox FS 5250, User’s Guide

8.2. The Escape Character

The Xerox FS 5250 is managed by special es cape sequences sent to the printer via the line. Escape se quences are command sequences preceded by a defined escape character. When an escape character appears in the data stream, the printer will inter pret the characters following as a command string and not as characters to be printed.

When you have defined an escape character, you can:

*Configure the interface according to your needs.

*Send all XES/ PCL commands in HEX code (00 to FF) to the interface

*Download settings to the Xerox FS 5250

*Send commands to the Xerox FS 5250

(save the temporary memory area in the permanent memory area, etc.)

When a character has been defined as an escape character, you will not be able to use it as a normal character and print it. However, you do not need to have an escape character defined perma nently. When it has served its purpose, it can be re moved.

The escape character described in this manual is different from the printer escape character and the IBM escape character and cannot be used for sending native printer commands, UDKs or system commands.

This chapter explains how to configure and manage the Xerox FS 5250 by the use of Escape Sequences. It also ex plains how to save the interface settings.

NOTE:

The factory defaults of the printer will normally suffice for most uses, and in most cases your software will control the facilitiesscribedde below. This means that you will be able to connect the printer to your host system and start printing without changing the printer settings.

The settings should only be changed, if your software or hardware have special requirements.

- 28 -

Image 28
Contents EMC directive TrademarksSafety Notice Table of Contents PCL Appendix a Supported Setup Functions PC Support Virtual Printer Error MessagesProgramming via Shareport Introduction to the Xerox FS What is the Xerox FS 5250?Printer Driver Selection XES mode selection handles Xdpm and Xppm data streams IPC Upgrade Kit Items SuppliedNon-IPC Product FeaturesIf equipped with the optional IPC module Supported Control Units Installation Requirements Pre-Installation RequirementsNational Language Via the LineEU or US Settings Working EnvironmentRear Panel Connections and Installation of the Xerox FS= PCL, B = XES Twinax Connector Emulation Changing the DriverVia the Line Selecting emulation via the line can be done inPCL onlyVia the Address Switch %Y37,5224%Non-IPDS Y37,n1 Write Emulation Y37,n1 Write EmulationNon-IPDS Selection Emulation Current emulation isSelection Emulation Via the address switch Address SettingDual Printer Emulation PCL only Non-IPDS as primary emulation Ipds as primary emulationUpgrading to Ipds Connecting the Xerox FS 5250to the Printer Connecting via Centronics outputConnecting the Xerox FS 5250to the System What if the CU Indicator fails to turn on?Test via the address switch Test FunctionTimeout Operation of the Xerox FS Top Panel of the Xerox FS1 CU PAR Parallel inputReady Printer Ready SER Serial input/outputState Indication Syntax of an FSL Function Function Selection via the LineYfunction number,parameters% Escape Character Defining a Temporary Escape Character Removing Temporary Escape Character??% ??blankDefining a Permanent Escape Character Removing Permanent Escape CharacterY48,00 ??% Commands for Storing and Restoring Settings Command Description Example??% %X1 ??% %X3Pass-Through Mode PCL only%1B %%1B%Pass-through mode XES Transparency Mode Limitations For details refer to the programmers guide, doc. D62081IdaSetup Ipds Programming Programming the Xerox FS 5250 Non-IPDS Selected FSL Functions Paper SizeTrays Changing paper sizeValue Paper Size ??% %Y12,n1,n2% &&??spaceValue Paper Tray Saving the command Other commandsThis command also erases the escape character Changing paper size exampleBasic printer set-up Paper TraysChanging paper trays Value n1 Format Characteristics FormatFormats Function Y10 Page Format??% %Y10,n1,n2% &&??space Changing Page FormatValue n2 Tray Changing page format example ??% %Y10,2,3% %X1Automatic Page Orientation Function Y98 Automatic Page OrientationY98 Syntax Y98,n1,n2% Example Y98, 0,3%Automatic Page Orientation Chart Automatic Page OrientationExplanation to the chart on Automatic Page Orientation Y98 Enabled factory defaultY98 Disabled FontsSelecting Fonts PCL System /36 OCL Text -YESChanging font ??% %Y96,n1% &&??spaceDefault Gfid Table Symbol SET and TranslateGfid Only applies to printers running PCL Level Scaleable FontsTypeface ID PCL No Name of Typeface Style Strokeweight Defining Fonts PCLValue Symbol set Symbol set of the fontWhat you need to know Proportional spacing, bold This is HelveticaItalic Selected FSL Functions Xerox FS 5250, User’s Guide Typeface of the font Value Typeface ValueTypefaceOther commands Selecting Fonts XESFont definition example ??% %Y91,521,6,5,1,18,1% %X1Changing font example This function cannot be saved in the permanent memory??% %Y96,41% &&?? Defining Fonts XES Font definitionXES Gfid Font strings sent OrientationGfid Gfid CPI / Gfid Relation Optional ScalingCOR CPI / Gfid Relation Font definition example System or interface? Duplex PrintingWhat to consider ??% X4 &&?? Binding option??% Y19,0% &&?? Setting Description You cannot save the duplex command in the permanent memorySelecting duplex printing OrientationDuplex selection example, PCL ??% %Y19,2% %Y10,1,3% &&??Duplex selection example, XES ??% %Y19,2% %Y96,nn% &&??Output Data Xdpm ISO Xdpm Ebcdic Xppm Ebcdic Xppm AsciiData Stream Translation Mode Function Settings Output Y70 Y36Function 100 Port Share Option Port Share Option??character Y100 = Y100,timeout,user string%Y100 Sending the commands from the system Example ??%%Y100,20,1B,45%%X1Sending the commands from the PC Printer sharing example??% %Y100,30,1B 45 1B 28 32 53% ??% %Y100,35,1BzlH%%X1Programming via Shareport Activating the Y249 Engineering FunctionLimitations when Y249 is active Deactivating the Y249 Engineering FunctionUpdating firmware Escape sequences must be in HEXPC Support Virtual Printer Error Messages Recoverable ErrorsMultistrike String is TOO Long Non-Recoverable Hardware Errors Code Error Type Code DescriptionXES Mode Appendix a Supported Setup FunctionsDescription ESC Transparency Features No. DescriptionPCL Mode ESC Features Quick Reference Guideto the Supported FSL Functions Default depends N1 Physical paper Name Syntax Parameters Ly write PCL String Translate Table Ebcdic Name Syntax Parameters IBM Gfid APO Name Syntax Parameters Deviation Nvram Appendix B Test Printout 101 Appendix C Use of Xerox FS 5250 Serial Port Out Laser 5250, Programmers Guide Document no. D62081 Appendix D Related ManualsIPDS, Programmer’s Guide Document no. D60253 Index Lead-in/lead-out sequences