Solved

OKI ML 3320 - how to send a 20 cpi code ?

Posted on 2004-04-26
4
3,117 Views
Last Modified: 2010-08-05
After reading the manual for my OKI ML 3320 9 pin printer I know how to print a text file in 20 cpi font, you need to choose 20 cpi from the printer menu and it works on my printer. The problem is that I must choose 20 cpi from nside the printed file, using escape sequences, not using the menu. And here is what I have done.

At the beginning of a text file I entered:
ESC @ (hex 1B 40 - general reset)
ESC M (hex 1B 4D - choose 12 cpi)
ESC SI (hex 1B 0F - choose condensed mode, either ESC SI or just SI, the result does not change)
TEXT ONE
ESC P (hex 1B 50 - choose 10 cpi)
ESC SI (hex 1B 0F - choose condensed mode)
TEXT TWO
ESC g (hex 1B 67 - choose 15 cpi)
ESC SI (hex 1B 0F - choose condensed mode)
TEXT THREE

As a result, all 3 texts were printed in the same way, all were condensed but they were 17 cpi in my opinion, definitely not 20 cpi. So I must be doing something wrong. Could someone please tell me what escape sequences to send in order to obtain 20 cpi size, or just send me a short file with these sequences.
0
Comment
Question by:Bea
  • 2
4 Comments
 
LVL 38

Expert Comment

by:Herman D'Hondt
ID: 10927189
You say you added the commands to a text file. How did you send that file to the printer? Do not use any Windows or other drivers. Instead, if the printer is connected to the parallel port, send the file with:

COPY filename LPT1:

If the printer is connected via a printserver, send the file with:

LPR -S IP_address_of_printserver -P Remote_queue_name filename

You will need to find out the IP address and the romte queue name appropriate for your printserver.

If the printer is attached to a server PC, use:

NET USE LPT2: \\servername\printer_sharename
COPY /B filename LPT2:

If you browse your network, you should be able to find the server name and the share name.
0
 

Author Comment

by:Bea
ID: 10927207
I have already solved the problem myself. The solution is to set the Epson FX80 emulation mode in the printer instead of IBM Proprinter as it was by default. Now this 20 cpi font prints without problem. Thanks.
0
 
LVL 38

Expert Comment

by:Herman D'Hondt
ID: 10927401
Good to see you're working. Post a comment in the Community Support area to reclaim your points - you may need them for another problem later. For help see http://www.experts-exchange.com/help.jsp#hi70
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 10927604
Closed, 250 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now