Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2004-04-26
4
3,144 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:hdhondt
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:hdhondt
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you use a Brother DCP 130C or similar Brother printer, at some point you might encounter the following problem: after you change the ink cartridge, the printer displays an "ink empty" message. Sometimes you just need to follow the instructions…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

829 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