+ Reply to Thread
Results 1 to 5 of 5

Thread: Print attributes in an externally defined print file

  1. #1
    Guest.Visitor Guest

    Default Print attributes in an externally defined print file

    Does anyone know if you can include formatting characters in a print line in an externally defined print file ? For example, can I build a print line to underline certain text ? The RPG code might look like this: Eval PrintLine = X'24' + 'This is an underlined line of text' + X'20'. Thanks in advance. Mike

  2. #2
    Guest.Visitor Guest

    Default Print attributes in an externally defined print file

    Mike, You can do this sort of thing fairly easily using Advanced Function Printing (AFP). You can define boxes, underlines, and a lot more. There is a manual that describes this on the resource CD titled Advanced Function Printing Utilities for AS/400 User's Guide. If this is more than you want to get into, you can usually declare a format that has no skip or space with a single field that is as long as a print line. When you want an underline, you can fill that field with underscore characters for the positions you want underlined. Then write the underline format. David Morris

  3. #3
    Guest.Visitor Guest

    Default Print attributes in an externally defined print file

    If you have and afp/ipds printer you can do just about anything you want as far as size,rotation, fonts, lines(vrt and hrz), boxes, underlines, bar codes etc. very easily. If not try the underline keyword, it may work on a normal printer.

  4. #4
    Guest.Visitor Guest

    Default Print attributes in an externally defined print file

    AFP is a "licensed program," isn't it? I.e., it isn't included as part of the base OS, is it? I'd love to learn that it is, or there are API's or commands (as with Job Scheduling, where the application is licensed, but there are related command available).

  5. #5
    Guest.Visitor Guest

    Default Print attributes in an externally defined print file

    Rebecca You can construct PCL commands move them to a field infront of the text you want, say bold, and have it print on a SCS laser printer. Not as flexible as AFP and not as predictable, but better than nothing. We use it here to print bold names on conference badges on HP lasers. Doug Cosgrove

+ Reply to Thread

Similar Threads

  1. SLOW PRINT JOB AT REMOTE OUTQ USING HOST PRINT TRANSFORM
    By Guest.Visitor in forum Document Management
    Replies: 0
    Last Post: 02-12-2002, 06:39 AM
  2. Big Challenge, if your up to it! Use AS/400 print services for you main print server.
    By tim.shafar@fiserv.com in forum System Administration
    Replies: 1
    Last Post: 08-21-2001, 05:29 AM
  3. Host print transform to print IPDS print files on ASCII printer
    By Guest.Visitor in forum Application Software
    Replies: 1
    Last Post: 05-31-2000, 09:10 PM
  4. Print file attributes
    By Guest.Visitor in forum Application Software
    Replies: 1
    Last Post: 02-09-1999, 07:35 AM
  5. not found externally defined file
    By frankgw@adelphia.net in forum Hardware
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts