Midrange News for the IBM i Community


Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Chicagoland
IBM i DDS PRTF Reverse Image AFP?
has no ratings.
Published: 04 Sep 2013
Revised: 05 Sep 2013 - 3878 days ago
Last viewed on: 18 Apr 2024 (6006 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

IBM i DDS PRTF Reverse Image AFP? Published by: Bob Cozzi on 04 Sep 2013 view comments(2)

I need to print some REVERSE IMAGE TEXT on an AFP-compatible printer (a receipt printer) in reverse image (white on black) and don't see anything in the DDS manual regarding this. I saw one comment, online that suggests there may be built-in fonts that support black on white printing.

If there isn't then I'll have to do something like a lline above and below, or perhaps a BOX around the text.

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: DaleB
Premium member *
Reading, PA
Comment on: IBM i DDS PRTF Reverse Image AFP?
Posted: 10 years 7 months 14 days 2 hours 19 minutes ago

Correct. It's the font, not an attribute you can modify after the fact.

In IBM's AFP Font Collection, there are three that I could find (and really only two): Bookmaster Reverse, Bookmaster Specials Reverse, and Gothic Reverse. These fonts are resources that are downloaded to the printer, so should be the same on any AFP printer.

There may also be a reverse font built into your printer. You'd (most likely) get to these by Font Id (FGID) with the FONT() keyword. I'd look for a report menu on the printer's control panel to get a list of what's installed. But, of course, this would be printer specific.

I've never done this, but you may also be able use a TrueType or OpenType font (assuming you can find a reverse font). See the Advanced Function Presentation reference, and also DDS FONTNAME() keyword.

Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: IBM i DDS PRTF Reverse Image AFP?
Posted: 10 years 7 months 13 days 22 hours 17 minutes ago

Thanks Dale. FYI, I do have the ability to print reverse image on the printer. I do it now.

But today I use the Transparency keyword in the PRTF DDS and just send the data stream (command sequence) that causes it to turn on reverse image. I am trying to move to a generic AFP solution so that we can write these reports to any printer with relatively similar results.