Solved

Sending Raw Print Codes to a Printer in Win95

Posted on 1998-03-20
7
441 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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 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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
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…

827 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