Link to home
Start Free TrialLog in
Avatar of rhomer
rhomer

asked on

Sending Raw Print Codes to a Printer in Win95

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.
Avatar of jrhelgeson
jrhelgeson
Flag of United States of America image

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
Avatar of rhomer
rhomer

ASKER

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?




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.
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.
Avatar of rhomer

ASKER

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.
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.
ASKER CERTIFIED SOLUTION
Avatar of jrhelgeson
jrhelgeson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial