Solved

Sending Raw Print Codes to a Printer in Win95

Posted on 1998-03-20
7
428 Views
Last Modified: 2010-04-12
I have an old daisy wheel Panasonic that keeps giving me double spacing on my printouts.  I would like to insert the printer escape commands into the printer thru Win95 as I am using Excel in office 95.  How can I insert these raw printer commands.
0
Comment
Question by:rhomer
  • 3
  • 2
  • 2
7 Comments
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 2014062
What is the model of your printer?
Would you by chance have the manuals for this old beast?  Do you know what emulations this printer has? (should emulate the old DIABLO 630, or something).

Look into it, let me know.

jr
0
 

Author Comment

by:rhomer
ID: 2014063
Diablo 630 ok.  Just need escape code entry method.  I think the driver I am using is not feeding the right codes to the printer so I wish to override the codes by sending them directly.

I went into Office 97 help and this is what I got:

************************************************
Field codes: Print field

{ PRINT "PrinterInstructions" }
Sends printer-control code characters to the selected printer. Word displays a result only when the document is printed. For appropriate printer codes, consult your printer manual.
For information about using the PRINT field to embed PostScript commands in a document, click  .

Note   The PRINT field works well with a PostScript printer or a Hewlett-Packard LaserJet Series II or Series III printer, but it may not work properly with another type of laser printer. The PRINT field works with a dot-matrix printer only if the printer supports the PassThrough command.
***********************************************************

Unfortunately, that's all it says.   How do u enter ESCAPE 27 51 from that?




0
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 2014064
I'm not sure about the DIABLO 630, what print driver are you currently using?
What is the exact model of your printer?

IF you use the print driver, Generic, text only.  It will allow you to enter print codes by just editing the printer settings in the printer area of My Computer.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Expert Comment

by:luteijn
ID: 2014065
When you want to enter a character outside normal printable range (32-127), you usually have to tell the program you're using to enter it to not interpret the next charaacter you're sending it. Eg in VI you enter
control-V and then the character you really want, in msdos edit it's
control-P, and I guess it's something like that for windows too...
Also some programs that allow you to enter printercodes want you to type
the numbers in <>. Or you could try entering the characters with the
num-keypad, while pressing alt.
0
 

Author Comment

by:rhomer
ID: 2014066
to luteijn:   I'm just trying to control line spacing within Office 97's excel<period>  what does VI or MSDOS have to do with anything.  This is a Win 95 question.

show me how to embed a printer code within Office.  The Office help is no help. Perhaps I posted this question in the wrong place.  I'll try the Office 97 site.

to: jrhegelson, I liked your answer.  Unfortunately, Office overwrites the codes.  My printer does not fit into generic very well...so I am trying to get Office to overwrite the default print codes...thereby customizing generic till it works.  I'd like to grade your answer.  Repost it as an answer and I'll give u the points.  Thanks for part of the help.
0
 

Expert Comment

by:luteijn
ID: 2014067
The way things work in vi and dos-edit were just examples, as
the "e.g." clearly showed. Windows will probably have the same
sort of ways to enter special characters. Or you could enter them
with for example dos-edit and then "include" them in the windows
application.
0
 
LVL 15

Accepted Solution

by:
jrhelgeson earned 50 total points
ID: 2014068
I'm not sure about the DIABLO 630, what print driver are you currently using?
What is the exact model of your printer?

IF you use the print driver, Generic, text only.  It will allow you to enter print codes by just editing the printer settings in the printer area of My Computer.

Thank You
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This seems to be a very common error related to the Samsung printer driver. First, this is the error we're talking about: Log: System Type: Error Event: 7000 Agent Time: 3:37:24 am 22-Apr-09 Event Time: 6:07:24 pm 21-Apr-09 UTC Source: Se…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 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

13 Experts available now in Live!

Get 1:1 Help Now