Tech Support > Computer Hardware > Printers > Escape sequence counted as characters by printer. How do I get overthis?
Escape sequence counted as characters by printer. How do I get overthis?
Posted by Fear eile on April 25th, 2008


I've a dos programme running for 19 years. I decided to incorporate
the ability to print bold and underlined into a report field. I do it
with escape sequences, BUT the printer seems to count these character
though it doesn't print them, and goes onto a new line prematurely.
Can I combat this with some escape sequence?

Posted by Davide Guolo on April 26th, 2008


Dear Fear eile,

printers normally doesn't behave that way. Please ensure you're
embedding the right escape sequences for your printer model.

If so, you may eventually try to send some Ascii-8 (backspace)
characters after the sequence

Hope this help.

Davide
aSwIt s.r.l.
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.printfil.com
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.aswit.com/odbc4all
@Kill - Batch Close Windows Applications - Freeware
http://www.aswit.com/akill
--------------------------------------------------------------

Posted by Fear eile on April 26th, 2008


The sequnces are correct and they do what they're supposed to do.
They print bold and underlined. It's a modern HP network laser printer
and I'm using PCL codes. I'm completely puzzled by it!!

Posted by Fear eile on April 26th, 2008


On Apr 26, 7:15*am, Fear eile <gol...@gmail.com> wrote:
And. I forgot to add. There are no extra spaces being added in the
text by the escape sequences. The effect is at the end of each
individual line, where 4 characters per escape sequence are being
pushed onto the next line, upsetting the text layout and breaking
words.


Similar Posts