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?
Adding a PRINTER command to BRConfig.sys
Moderators: Susan Smith, admin, Gabriel
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
instead of
Also I am not familiar with PRINTER escape sequence statements without brackets.
Try
Code: Select all
PRINTER HTML [NEWPAGE],"<hr />"
Code: Select all
PRINTER HTML 0C,"<hr>"
I am trying to Get something like this to work.
[NEWPAGE] did work if I changed my program.
My goal is to get rid of the little "Box" that displays when Print #255:newpage to a "Text" or "HTML" device.
Code: Select all
10 Print #255:"Page 1"
20 print #255:newpage
30 print #255:"Page2"
Code: Select all
10 Print #255:"Page 1"
20 print #255:"[NEWPAGE]"
30 print #255:"Page2"