Page 1 of 1

Adding a PRINTER command to BRConfig.sys

Posted: Fri Aug 26, 2011 10:40 am
by GomezL
I am trying to enhance my PRINTER.CLS, but am stumped.

PRINTER HTML 0C,"<hr>"

What I want is for HTML to display a Horizontal Rule when a "Form Feed" (Asci Character 12) is passed.

Currently you get a little "Square Box", it's not terrible, but it could be much nicer.

It seems that the 1st parameter only support "Typed Characers" or the old "2B00" characters, is there a way to submit a single "HEX/OCTAL/ASCI" value for this?

Posted: Thu Sep 01, 2011 5:00 am
by gordon
I'm not setup for testing HTML printed output. But the HTML command for a separator line is <hr />.

Also I am not familiar with PRINTER escape sequence statements without brackets.

Try

Code: Select all

PRINTER HTML [NEWPAGE],"<hr />"
instead of

Code: Select all

PRINTER HTML 0C,"<hr>"

Posted: Thu Sep 01, 2011 7:27 am
by GomezL
I am trying to Get something like this to work.

Code: Select all

10 Print #255:"Page 1"
20 print #255:newpage
30 print #255:"Page2"
[NEWPAGE] did work if I changed my program.

Code: Select all

10 Print #255:"Page 1"
20 print #255:"[NEWPAGE]"
30 print #255:"Page2"
My goal is to get rid of the little "Box" that displays when Print #255:newpage to a "Text" or "HTML" device.