Oki B 4350N Service manual

Flash DIMM Reference
• Using Storage Device Manager
• Printer Control Codes

Every effort has been made to ensure that the information
in this document is complete, accurate, and up-to-date.
Oki Data assumes no responsibility for the results of errors
beyond its control. Oki Data also cannot guarantee that
changes in software and equipment made by other
manufacturers and referred to in this guide will not affect
the applicability of the information in it. Mention of software
products manufactured by other companies does not
necessarily constitute endorsement by Oki Data.
© 2004 by Oki Data Americas, Inc. All rights reserved.
Written and produced by the Oki Data Training &
Publications Department. Please address any comments
on this publication to:
Training & Publications Dept.
Oki Data Americas, Inc.
2000 Bishops Gate Blvd.
Mt. Laurel, NJ 08054-4620
For the latest product information, printer drivers,
manuals, special offers, etc., go to http://my.okidata.com.
OKI is a registered trademark/marque déposée/marca
registrada Oki Electric Industry Company, Ltd.
Epson is a registered trademark of Epson America, Inc.
HP is a registered trademark of Hewlett-Packard Company.
IBM s a registered trademark of International Business
Machines Corp.
58366611, Rev. 1.0

Contents • 3
Contents
Using Storage Device Manager . . . . . . . . . . . . . . . . . 4
General Information . . . . . . . . . . . . . . . . . . . . . . . . . . 4
To Open Storage Device Manager . . . . . . . . . . . . . . . 4
On-Line Help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Network Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Administrator Functions . . . . . . . . . . . . . . . . . . . . . 5
Setting Up the Administrator’s Password . . . . . . . . 5
Storing Fonts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Downloading Fonts . . . . . . . . . . . . . . . . . . . . . . . . . 6
Using Downloaded Fonts . . . . . . . . . . . . . . . . . . . . 6
Storing PCL Macros . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Downloading PCL Macros to the Printer. . . . . . . . . 7
Testing PCL Macros . . . . . . . . . . . . . . . . . . . . . . . . . 10
Maintaining the Flash Memory . . . . . . . . . . . . . . . . . 10
Printing a Font List . . . . . . . . . . . . . . . . . . . . . . . . 10
Printing a File List . . . . . . . . . . . . . . . . . . . . . . . . . 10
Deleting Files from the Flash Memory . . . . . . . . . 11
Miscellaneous Tasks. . . . . . . . . . . . . . . . . . . . . . . . . 11
Viewing the Printer Status/
Configuration / Variables. . . . . . . . . . . . . . . . . . . 11
Printing the Demo Page . . . . . . . . . . . . . . . . . . . . 11
Re-Initializing the Printer: Administrators Only . . . 12
Control Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
HP PCL5e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
HP GL/2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
PCLXL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
PJL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
SIDM Commands Summary. . . . . . . . . . . . . . . . . . . .41
IBM PPR Emulation . . . . . . . . . . . . . . . . . . . . . . . .41
EPSON FX Emulation . . . . . . . . . . . . . . . . . . . . . .48

Using Storage Device Manager: General Information • 4
Using Storage Device Manager
Important!
The Flash DIMM option kits allow downloading PCL
fonts and forms to the printer. How these fonts and
forms are used in printed documents depends on the
particular operating system and software application in
use. This requires programming experience and an
understanding of embedding control codes, which is
beyond the scope of this software and documentation.
General Information
Note: Storage Device Manager requires Microsoft
Internet Explorer 4.0 or higher to run.
Storage Device Manager (SDM) provides a means of
managing the Flash memory, including
• downloading PCL fonts and forms
• deleting files
• printing lists of fonts and files on the Flash Memory
•etc.
To Open Storage Device
Manager
1. Click Start →Programs →Okidata →Oki
Storage Device Manager →Oki Storage Device
Manager.
2. Select the appropriate printer connection (parallel,
USB, or IP), then click Start.
The printer is detected and an icon appears at the
bottom of the Storage Device Manager screen.
3. Click Exit.
On-Line Help
In the main Storage Device Manager screen, click
Help →Help Topics.

Using Storage Device Manager: Network Operation • 5
Network Operation
On network systems, the Administrator oversees the
Storage Device Manager software and can use it to
manage and monitor the printer’s flash memory.
Administrator Functions
• Set up/change the Administrator’s Password.
• Enter 4-digit PIN numbers for each client, using any
four numbers from 0 through 9.
Note: If preferred, clients can choose their own PIN
number and pass it to the administrator for
entry into the software.
• Re-Initialize the printer.
• Delete files (using Printers →Show Resources is
preferable).
Note: Show Resources is preferable because it
permits you to browse to the file, click it and
click Delete, then click OK to confirm the
deletion.
Using Administrator Functions to delete a file
requires that you print out a File List, then use
the information in the File List to type in the
exact path (case sensitive) to the file. The file is
then deleted without confirmation.
Setting Up the Administrator’s
Password
Important!
The Administrator’s Password consists of eight digits—
letters or numbers—and is case sensitive.
With Storage Device Manager open and the printer icon
highlighted:
1. Click Printers →Administrator Functions.
2. Type in the default password (p1xs7d0m) under
Enter Password, then click Change Password.
Note: The default password can also be found in the
on-line Help under the topic “Administrator’s
Password Required.”
3. Type the eight-digit, alpha-numeric password of your
choice under New Password, then type it again under
Confirm New Password.
New Password Accepted appears.
4. Click OK.
5. Click Exit twice.

Using Storage Device Manager: Storing Fonts • 6
Storing Fonts
You can download either True Type fonts (file extension
.ttf) or PCL bitmap fonts (file extension .sfp).
Downloading Fonts
With Storage Device Manager open and the printer icon
highlighted:
1. Click Projects →New Project.
The Project dialog box opens.
2. Click Projects →Add File to Project.
3. Browse to the folder on your computer containing the
ttf/sfp file(s), click the file(s) to be added, then click
Open.
The selected files appear in the Component column.
4. Repeat steps 2 and 3 for each different folder
containing files to be added.
5. Network Printers Only: Double click each file
(Component) in the project and change the Volume
from 0 to 1, then click OK.
6. For individual printers, Click Projects →Send
Project Files to Printer.
The Command Issued dialog box appears and the
file is downloaded and stored under FLASH0\Volume
0:\fonts.
Note:If you need to distribute this project to multiple
printers, select “Send Project to File,” then use
the PrintSupervision utility supplied with the
printer to distribute the file to all printers on
your network.
7. Click OK.
Using Downloaded Fonts
To use the downloaded fonts, you must embed them in
your file or application using escape codes.
The appropriate escape code for each font can be
found in the Font List printout. To print out the Font List
(see page 10 for more information on the Font List):
1. Click Printers →Print PCL Fonts.
2. Click OK.

Using Storage Device Manager: Storing PCL Macros • 7
Storing PCL Macros
Storage Device Manager allows you to store PCL
Macros on the printer’s Flash Memory. It does not
create PCL Macros.
Note: To create Macro Overlays, use common PCL
Macro Overlay software or form creation
software.
To see a listing of the forms that are stored on the Flash
DIMM, generate a File List (see page 10).
Downloading PCL Macros to the Printer
Important!
It is highly recommended that anyone creating PCL
macros be experienced with PCL macro commands. If
the macro commands are not set properly, you may not
achieve the desired print result.
Step 1: Create a New Project
With Storage Device Manager open and the printer icon
highlighted:
1. Click Projects →New Project.
The Project dialog box opens.
2. Click Projects →Save Project, then enter the path/
name for storing the project on your computer’s hard
drive or on your network.
3. Click Save.

Using Storage Device Manager: Storing PCL Macros • 8
Step 2: Convert the Print Files to Binary (.bin)
Format
1. Click Projects →Filter Macro File.
The Filter Printer Patterns dialog box appears.
2. Make any needed adjustments in the PCL settings†,
then click OK.
The Open dialog box appears.
†Note:Depending on how the PCL Macro was
created, it may be necessary to remove or filter
some common PCL commands.
3. Make sure Print spool files (*.prn) is selected in the
“Files of type” drop-down list
4. Browse to the folder where you saved the files and
double-click the file name.
The file is saved in the same directory as a .bin file.
Filter File Created appears.
5. Click OK.
6. Repeat the above steps for each .prn file you wish to
include in the project.
Step 3: Add the .bin Files to the Project
Note: You can also add files to the project by opening
either My Computer or Microsoft Explorer,
browsing to the directory where the .bin files are
stored, then selecting the files and dragging them
in to the project.
1. Click Projects →Add File to Project.
The Open dialog box appears.
2. Highlight the .bin file you wish to add and click Open.
The file name appears in the Project dialog box.
3. Repeat the above steps for each .bin file you wish to
add to the Project.
Note: To delete a file from the project, click the file
name, then click Projects →Remove File
from Project.

Using Storage Device Manager: Storing PCL Macros • 9
Step 4: Check .bin File Settings and Save the Project
1. To check the settings for the .bin files, double-click
the file name.
The Edit Component Name dialog box appears.
2. Here you can edit the
• file name
• ID number
(Record this number: you need to enter it when
printing PCL macros.)
• Volume
Leave as 0 for non-network printers.
For network printers, change the Volume to 1.
3. Click OK.
4. When you’re through reviewing the settings, click
Projects →Save Project.
Step 5: Download the Project to the Printer
1. Click Projects →Send Project Files to Printer.
Command Issued appears.
Note:If you need to distribute this project to multiple
printers, select “Send Project to File,” then use
the PrintSupervision utility supplied with the
printer to distribute the file to all printers on
your network.
2. Click OK.

Using Storage Device Manager: Testing PCL Macros • 10
Testing PCL Macros
With Storage Device Manager open and the printer icon
highlighted:
1. Click Printers →Test Macro.
The Test Macro dialog box appears.
2. Enter the ID number for the macro file you wish to
print.
Note: If you don’t have the ID number at hand, you
can obtain it by printing a File List (see
page 10). The macros with their ID numbers
will appear at the bottom beside File, under
Volume 0. E.g., for the macro entry
0:\pcl\macros\2::OKI.BIN, enter 2 for the ID
number.
3. Click OK.
Command Issued appears.
4. Click OK and wait for the macro to print.
Maintaining the Flash Memory
Printing a Font List
The Font List shows all PCL fonts in the printer, their
escape codes and print samples. Fonts stored in the
Flash memory are at the end of the list under “Disk
Resident Fonts.”
With Storage Device Manager open and the printer icon
highlighted:
1. Click Printers →Print PCL Fonts.
The Command Issued dialog box appears and the
Font List prints.
2. Click OK.
Printing a File List
The File List shows all the files stored in the Flash
memory along with their location (path). It also shows
the ID number for stored PCL macros.
With Storage Device Manager open and the printer icon
highlighted:
1. Click Printers →Print File Listing.
The Command Issued dialog box appears and the
File List prints.
2. Click OK.

Using Storage Device Manager: Miscellaneous Tasks • 11
Deleting Files from the Flash Memory
With Storage Device Manager open and the printer icon
highlighted:
1. Click Printers →Show Resources.
2. Browse to the appropriate Flash memory folder and
click the file to be removed.
3. Hit the Delete key on your keypad [or click
Printers →Delete File(s)], then click Yes to confirm
the deletion.
The file is deleted.
Miscellaneous Tasks
using Storage Device Manager
Viewing the Printer Status/
Configuration/ Variables
With Storage Device Manager open and the printer icon
highlighted:
1. Click Printers →Printer Properties.
2. Browse to the appropriate entry to view its
information.
Printing the Demo Page
With Storage Device Manager open and the printer icon
highlighted:
1. Click Printers →Print Demo Page.
The Command Issued dialog box appears and the
demo page prints.
2. Click OK.

Using Storage Device Manager: Miscellaneous Tasks • 12
Re-Initializing the Printer:
Administrators Only
With Storage Device Manager open and the printer
icon highlighted:
1. Click Printers →Administrator Functions.
2. Type in your password.
3. Click Reboot Printer.
The Command Issued dialog box appears and the
printer re-initializes.
4. Click OK, then click Exit.

Control Codes: HP PCL5e • 13
Control Codes
HP PCL5e
HP PCL5e Control Codes
ASCII Hexadecimal Decimal Function
BS 08 08 Back Space
HT 09 09 Horizontal Tab
LF 0A 10 Line Feed
FF 0C 12 Form Feed
CR 0D 13 Carriage Return
SO 0E 14 Select Secondary Font
SI 0F 15 Select Primary Font
ESC % # A 1B 25 # 41 27 37 # 65 Enter PCL Mode
ESC % # B 1B 25 # 42 27 37 # 66 Enter HP-GL/2 Mode

Control Codes: HP PCL5e • 14
ESC % - 1 2 3 4 5 X 1B 25 2D 31 32 33 34 35
58 27 37 45 49 50 51 52 53
88 Universal Exit Language
ESC & EM 1B 26 19 27 38 25 Reception and eliminate data
ESC & a # C 1B 26 61 # 43 27 38 97 # 67 Cursor Position by Column
ESC & a # H 1B 26 61 # 48 27 38 97 # 72 Horizontal Position by Decipoint
ESC & a # 1B 26 61 # 4C 27 38 97 # 76 Set Left Margin
ESC & a # M 1B 26 61 # 4D 27 38 97 # 77 Set Right Margin
ESC & a # P 1B 26 61 # 50 27 38 97 # 80 Print Direction
ESC & a # R 1B 26 61 # 52 27 38 97 # 82 Cursor Position by Row
ESC & a # V 1B 26 61 # 56 27 38 97 # 86 Vertical Position by Decipoint
ESC & d # D 1B 26 61 # 44 27 38 100 # 68 Underline ON (#=3: Floating)
ESC & d @ 1B 26 64 40 27 38 100 64 Underline OFF
ESC & f # S 1B 26 66 # 53 27 38 102 # 83 Cursor Push/Pop
ESC & f # X 1B 26 66 # 58 27 38 102 # 88 Macro Control
HP PCL5e Control Codes (continued)
ASCII Hexadecimal Decimal Function

Control Codes: HP PCL5e • 15
ESC & f # Y 1B 26 66 # 59 27 38 102 # 89 Macro ID
ESC & k # G 1B 26 6B # 47 27 38 107 # 71 Line Termination
ESC & k # H 1B 26 6B # 4 27 38 107 # 72 Horizontal Motion Index
ESC & k # S 1B 26 6B # 53 27 38 107 # 83 FontPitch Selection (Alternate Method)
ESC & I # A 1B 26 6C # 41 27 38 108 # 65 Page Size
ESC & I # C 1B 26 6C # 43 27 38 108 # 67 Vertical Motion Index
ESC & I # D 1B 26 6C # 44 27 38 108 # 68 Line Spacing
ESC & I # E 1B 26 6C # 45 27 38 108 # 69 Set Top Margin
ESC & I # F 1B 26 6C # 46 27 38 108 # 70 Set Text Length
ESC & I # H 1B 26 6C # 48 27 38 108 # 72 Paper Input Control
ESC & I # L 1B 26 6C # 4C 27 38 108 # 76 Skip Over Perforation
ESC & I # O 1B 26 6C # 4F 27 38 108 # 79 Page Orientation
ESC & I # U 1B 26 6C # 55 27 38 108 # 85 Left Offset Registration
ESC & I # X 1B 26 6C # 58 27 38 108 # 88 Select Number of Copies
HP PCL5e Control Codes (continued)
ASCII Hexadecimal Decimal Function

Control Codes: HP PCL5e • 16
ESC & I # Z 1B 26 6C # 5A 27 38 108 # 90 Top Offset Registration
ESC & p # X [data] 1B 26 70 # 58 [data] 27 38 112 # 88 [data] Transparent Print Data
ESC & r # F 1B 26 75 # 46 27 38 114 # 70 Flush All Pages
ESC & s # C 1B 26 75 # 43 27 38 115 # 67 End-of-Line Wrap
ESC & u # D 1B 26 75 # 44 27 38 117 # 68 Unit of Measure
ESC ( 'ID' 1B 28 'ID' 27 40 "ID' Primary Font Symbol set Selection
ESC ( # @ 1B 28 # @ 27 40 # 64 Primary Font Default
ESC ( # X 1B 28 # 58 27 40 # 88 Primary Font Selection by ID
ESC ( f # W [data] 1B 28 66 # 57 [data] 27 40 102 # 87 [data] Define Symbol Set
ESC ( s # B 1B 28 73 # 42 27 40 115 # 66 Primary Font Stroke Weight Selection
ESC ( s # H 1B 28 73 # 48 27 40 115 # 72 Primary Font Pitch Selection
ESC ( s # P 1B 28 73 # 50 27 40 115 # 80 Primary Font Spacing Selection
ESC ( s # S 1B 28 73 # 53 27 40 115 # 83 Primary Font Style Selection
ESC ( s # T 1B 28 73 # 54 27 40 115 # 84 Primary Font Typeface Selection
HP PCL5e Control Codes (continued)
ASCII Hexadecimal Decimal Function

Control Codes: HP PCL5e • 17
ESC ( s # V 1B 28 73 # 56 27 40 115 # 86 Primary Font Height Selection
ESC ( s # W [data] 1B 28 73 # 57 [data] 27 40 115 # 87 [data] Download One Character
ESC ) 'ID' 1B 29 'ID' 27 41 'ID' Secondary Font Symbol Set Selection
ESC ) # @ 1B 29 # @ 27 41 # 64 Secondary Font Default
ESC ) # X 1B 29 # 58 27 41 # 88 Secondary Font Selection by ID
ESC ) s # B 1B 29 73 # 42 27 41 115 # 66 Secondary Font Stroke Weight
Selection
ESC ) s # H 1B 29 73 # 48 27 41 115 # 72 Secondary Font Pitch Selection
ESC ) s # P 1B 29 73 # 50 27 41 115 # 80 Secondary Font Spacing Selection
ESC ) s # S 1B 29 73 # 53 27 41 115 # 83 Secondary Font Style Selection
ESC ) s # T 1B 29 73 # 54 27 41 115 # 84 Secondary Font Typeface Selection
ESC ) s # V 1B 29 73 # 56 27 41 115 # 8 Secondary Font Height Selection
ESC ) s # W [data] 1B 29 73 # 57 [data] 27 41 115 # 87 [data] Create Font Header
ESC * b # M 1B 2A 62 # 4D 27 42 98 # 77 Set Raster Compression Mode
HP PCL5e Control Codes (continued)
ASCII Hexadecimal Decimal Function

Control Codes: HP PCL5e • 18
ESC * b # W [data] 1B 2A 62 # 57 [data] 27 42 98 # 87 [data] Transfer Raster Data
ESC * b # Y 1B 2A 62 # 59 27 42 98 # 89 Raster Y Offset
ESC * c # A 1B 2A 63 # 41 27 42 99 # 65 Horizontal Rule/Pattern Size by PCL
Unit
ESC * c # B 1B 2A 63 # 42 27 42 99 # 66 Vertical Rule/Pattern Size by PCL Unit
ESC * c # D 1B 2A 63 # 44 27 42 99 # 68 Specify Font ID
ESC * c # E 1B 2A 63 # 45 27 42 99 # 69 Specify Character Code
ESC * c # F 1B 2A 63 # 46 27 42 99 # 70 Font Control
ESC * c # G 1B 2A 63 # 47 27 42 99 # 71 Rectangular Fill Pattern ID
ESC * c # H 1B 2A 63 # 48 27 42 99 # 72 Horizontal Rule/Pattern Size by
Decipoint
ESC * c # K 1B 2A 63 # 4B 27 42 99 # 75 HP-GL/2 Plot Horizontal Size
ESC * c # L 1B 2A 63 # 4C 27 42 99 # 76 HP-GL/2 Plot Vertical Size
ESC * c # P 1B 2A 63 # 50 27 42 99 # 80 Pattern Rule
HP PCL5e Control Codes (continued)
ASCII Hexadecimal Decimal Function

Control Codes: HP PCL5e • 19
ESC * c # Q 1B 2A 63 # 51 27 42 99 # 81 Pattern Control
ESC * c # R 1B 2A 63 # 52 27 42 99 # 82 Specify Symbol Set ID Code
ESC * c # S 1B 2A 63 # 53 27 42 99 # 83 Symbol Set Control
ESC * c # V 1B 2A 63 # 56 27 42 99 # 86 Vertical Rule/Pattern Size by Decipoint
ESC * c # W [data] 1B 2A 63 # 57 [data] 27 42 99 # 87 [data] User-Defined Pattern
ESC * c # X 1B 2A 63 # 58 27 42 99 # 88 Horizontal Picture Frame Size
(Decipoints)
ESC * c # Y 1B 2A 63 # 59 27 42 99 # 89 Vertical Picture Frame Size
(Decipoints)
ESC * c O T 1B 2A 63 30 54 27 42 99 0 84 Set Picture Frame Anchor Point
ESC * p # R 1B 2A 70 # 52 27 42 112 # 82 Set Pattern Reference Point
ESC * p # X 1B 2A 70 # 58 27 42 112 # 88 Horizontal Cursor Position by PCL Unit
ESC * p # Y 1B 2A 70 # 59 27 42 112 # 89 Vertical Cursor Position by PCL Unit
ESC * r # A 1B 2A 72 # 41 27 42 114 # 65 Start Raster Graphics
HP PCL5e Control Codes (continued)
ASCII Hexadecimal Decimal Function

Control Codes: HP PCL5e • 20
ESC * r # F 1B 2A 72 # 46 27 42 114 # 70 Raster Graphics Presentation Mode
ESC * r # S 1B 2A 72 # 53 27 42 114 # 83 Raster Width
ESC * r # T 1B 2A 72 # 54 27 42 114 # 84 Raster Height
ESC * r B 1B 2A 72 42 27 42 114 66 End Raster Graphics
ESC * r C 1B 2A 72 43 27 42 114 67 End Raster Graphics and Compression
mode
ESC / t # R 1B 2F 74 # 52 27 47 116 # 82 Raster Density
ESC * s # I 1B 2A 73 # 49 27 42 115 # 73 Inquire Status Readback Entity
ESC * s # T 1B 2A 73 # 54 27 42 115 # 84 Set Status Readback Location Type
ESC * s # U 1B 2A 73 # 55 27 42 115 # 8 Set Status Readback Location Unit
ESC * s # X 1B 2A 73 # 58 27 42 115 # 88 Echo
ESC * s 1 M 1B 2A 73 1 4D 27 42 115 1 77 Free Space
ESC * t # R 1B 2A 74 # 52 27 42 116 # 82 Raster Graphics Resolution
ESC * v # N 1B 2A 76 # 4E 27 42 118 # 78 Source Transparency Mode
HP PCL5e Control Codes (continued)
ASCII Hexadecimal Decimal Function
Other manuals for B 4350N
2
This manual suits for next models
1
Table of contents
Other Oki Accessories manuals