Adding a PRINTER command to BRConfig.sys

General development discussion.

Moderators: Susan Smith, admin, Gabriel

Post Reply
GomezL
Posts: 258
Joined: Wed Apr 29, 2009 5:51 am
Contact:

Adding a PRINTER command to BRConfig.sys

Post 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?
gordon
Posts: 358
Joined: Fri Apr 24, 2009 6:02 pm

Post 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>"
GomezL
Posts: 258
Joined: Wed Apr 29, 2009 5:51 am
Contact:

Post 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.
Post Reply