Page 1 of 1

Printing Boxes with NWP and Printer.sys

Posted: Sun Sep 20, 2009 7:48 pm
by Susan Smith
Can anyone give me a short example of BR code to print a box around a text field in NWP/Printer.sys? I see the new boxing commands listed in PRINTER.SYS, but no matter what I do with them, I'm getting errors. I just want to print a text field ("ABC123") at position 6.50" (horizontal) and 2.5" (vertical) on the page, surrounded by a box. I don't care about the font or text size at this point.

I know I can use George's FNPRINTBOX, which I am familiar with (and I may yet do that), but I really want to learn more about these printer.sys features, so I'm trying to do it "from scratch" this time.

-- Susan

Posted: Sun Sep 20, 2009 8:06 pm
by Susan Smith
I'm not sure why your reply didn't come through the forum, so I'll copy it below. I see what I did wrong. I DO have printer.sys included. I thought that I didn't need the vertical bars unless I was doing multiple columns. That was the mistake. I'll give it another try.

Thanks.

-- Susan



you have to have PRINTER.SYS included.

Then you say:

PRINT #255: "[BOX]|This is the text field |[/BOX]"

If thats not working, its probably unable to find your printer.sys
substitute statements or something. Check STATUS SUBSTITUTES.

Gabriel