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
Printing Boxes with NWP and Printer.sys
Moderators: Susan Smith, admin, Gabriel
-
- Posts: 717
- Joined: Sun Aug 10, 2008 4:24 am
- Location: Southern California
-
- Posts: 717
- Joined: Sun Aug 10, 2008 4:24 am
- Location: Southern California
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
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