Xerox FS 5250 IPC instruction manual Sending the commands from the PC, Printer sharing example

Page 75

Selected FSL Functions

Xerox FS 5250, User’s Guide

11.9.2 Sending the commands from the PC

The easiest way to send the string from the PC to the Centronics or RS-232 port is to write the command string on a blank screen at the root, and then make a "print screen". If you have a PC edi tor program, you can of course also use that and send a file to the printer in your usual way (it must be a plain ASCII file with no formatting commands).

NOTE: The editor you use must have no printer driver and you must make sure that no print commands are sent.

Printer sharing example

Below you will find two examples; the first one is a PCL command, the second is an XES command.

PCL

&&??% %Y100,30,1B 45 1B 28 32 53%

%X1

This string will set the timer to 30 seconds, reset the printer (1B 45), select Spanish symbol set (1B 28 32 53), store the command in the permanent memory, and erase the escape character (X1).

XES

&&??% %Y100,35,1B'zlH'%%X1

This string will set the timer to 35 seconds, select language option "Downloaded Table" (1BzlH), store the command in the permanent memory, and erase the escape character (X1).

In stead of writing 'zlH' which is a command to the printer, the hex numbers could be used.

- 75 -

Image 75
Contents Trademarks EMC directiveSafety Notice Table of Contents PCL PC Support Virtual Printer Error Messages Appendix a Supported Setup FunctionsProgramming via Shareport What is the Xerox FS 5250? Introduction to the Xerox FSPrinter Driver Selection XES mode selection handles Xdpm and Xppm data streams Items Supplied IPC Upgrade KitProduct Features Non-IPCIf equipped with the optional IPC module Supported Control Units Via the Line Installation RequirementsPre-Installation Requirements National LanguageWorking Environment EU or US SettingsConnections and Installation of the Xerox FS Rear Panel= PCL, B = XES Twinax Connector Selecting emulation via the line can be done inPCL only EmulationChanging the Driver Via the LineY37,n1 Write Emulation Via the Address Switch%Y37,5224% Non-IPDS Y37,n1 Write EmulationCurrent emulation is Non-IPDS Selection EmulationSelection Emulation Address Setting Via the address switchDual Printer Emulation PCL only Ipds as primary emulation Non-IPDS as primary emulationUpgrading to Ipds Connecting via Centronics output Connecting the Xerox FS 5250to the PrinterWhat if the CU Indicator fails to turn on? Connecting the Xerox FS 5250to the SystemTest Function Test via the address switchTimeout PAR Parallel input Operation of the Xerox FSTop Panel of the Xerox FS 1 CUSER Serial input/output Ready Printer ReadyState Indication Function Selection via the Line Syntax of an FSL FunctionYfunction number,parameters% Escape Character ??blank Defining a Temporary Escape CharacterRemoving Temporary Escape Character ??%Removing Permanent Escape Character Defining a Permanent Escape CharacterY48,00 ??% ??% %X3 Commands for Storing and Restoring SettingsCommand Description Example ??% %X1%%1B% Pass-Through ModePCL only %1BPass-through mode XES For details refer to the programmers guide, doc. D62081 Transparency Mode LimitationsIdaSetup Ipds Programming Programming the Xerox FS 5250 Non-IPDS Changing paper size Selected FSL FunctionsPaper Size Trays??% %Y12,n1,n2% &&??space Value Paper SizeValue Paper Tray Changing paper size example Saving the commandOther commands This command also erases the escape characterPaper Trays Basic printer set-upChanging paper trays Function Y10 Page Format Value n1 Format CharacteristicsFormat FormatsChanging Page Format ??% %Y10,n1,n2% &&??spaceValue n2 Tray ??% %Y10,2,3% %X1 Changing page format exampleExample Y98, 0,3% Automatic Page OrientationFunction Y98 Automatic Page Orientation Y98 Syntax Y98,n1,n2%Automatic Page Orientation Automatic Page Orientation ChartY98 Enabled factory default Explanation to the chart on Automatic Page OrientationSystem /36 OCL Text -YES Y98 DisabledFonts Selecting Fonts PCL??% %Y96,n1% &&??space Changing fontSymbol SET and Translate Default Gfid TableGfid Scaleable Fonts Only applies to printers running PCL LevelTypeface ID PCL No Name of Typeface Defining Fonts PCL Style StrokeweightSymbol set of the font Value Symbol setWhat you need to know This is Helvetica Proportional spacing, boldItalic Selected FSL Functions Xerox FS 5250, User’s Guide ValueTypeface Typeface of the font Value Typeface??% %Y91,521,6,5,1,18,1% %X1 Other commandsSelecting Fonts XES Font definition exampleThis function cannot be saved in the permanent memory Changing font example??% %Y96,41% &&?? Font definition Defining Fonts XESFont strings sent Orientation XES GfidGfid Gfid Optional Scaling CPI / Gfid RelationCOR CPI / Gfid Relation Font definition example Duplex Printing System or interface?What to consider Binding option ??% X4 &&????% Y19,0% &&?? Orientation Setting DescriptionYou cannot save the duplex command in the permanent memory Selecting duplex printing??% %Y19,2% %Y96,nn% &&?? Duplex selection example, PCL??% %Y19,2% %Y10,1,3% &&?? Duplex selection example, XESXdpm ISO Xdpm Ebcdic Xppm Ebcdic Xppm Ascii Output DataY70 Y36 Data Stream Translation Mode Function Settings OutputPort Share Option Function 100 Port Share Option??character Y100,timeout,user string% Y100 =Y100 Example ??%%Y100,20,1B,45%%X1 Sending the commands from the system??% %Y100,35,1BzlH%%X1 Sending the commands from the PCPrinter sharing example ??% %Y100,30,1B 45 1B 28 32 53%Activating the Y249 Engineering Function Programming via ShareportEscape sequences must be in HEX Limitations when Y249 is activeDeactivating the Y249 Engineering Function Updating firmwarePC Support Virtual Printer Recoverable Errors Error MessagesMultistrike String is TOO Long Code Error Type Code Description Non-Recoverable Hardware ErrorsAppendix a Supported Setup Functions XES ModeDescription No. Description ESC Transparency FeaturesPCL 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 Appendix D Related Manuals Laser 5250, Programmers Guide Document no. D62081IPDS, Programmer’s Guide Document no. D60253 Lead-in/lead-out sequences Index