× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




The documentation is kind of vague on this. I imagine some of the info
is device-dependent. If you're trying to use HPT, it's anybody's guess.
I imagine the message is referring to the secondary resource object
which must be required when you use a *TIFF resource type. I would guess
the *IOCAFS45RO secondary object is required.

A TIFF object in black and white typically contains a CCITT Group 4
compressed bitmap. Wonder of wonders, an IOCA object also contains a
CCITT Group 4 compressed bitmap! A tiff usually has to be converted to
an IOCA before it can be included in an AFP stream. I'll bet the
*IOCAFS45RO object provides some of the info for that conversion.

You can do what you're trying to do with a PAGSEG keyword. You'll just
have to do the conversion beforehand.

You can use AFP Workbench to convert the tiff into a PAGSEG. AFP
Workbench is bundled in with iSeries Navigator. Open the TIFF file with
AFP Workbench and Save As PAGSEG. CPY that file into a physical file on
the i. OVRDBF the physical file to LVLCHK(*NO) and run CRTPAGSEG.

You can do a lot of this graphically with iNav.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
JDHorn@xxxxxxxxxxxxxx
Sent: Wednesday, March 24, 2010 1:14 PM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: PRINTING USING AFPRSC KEYWORD


Sorry - this one is formatted better and easier to read.

I can find that this was discussed years ago but I can't find a final
answer - is anyone using the afprsc keyword to print images directly to
ipds printers or dell printers using host print transform.

I am trying to do this -

dds - compiled as *afpds
R REC0
2 2'TEST'
R REC1 AFPRSC(&FILE &TYPE 2 2 +
(*PATH &PATH) )
FILE 100A P
TYPE 10A P
PATH 500A P

rpg -
FTESTPRTF O E PRINTER
/FREE
FILE = 'HDABWLOGO.TIF';
TYPE = '*TIFF';
PATH = '/XSMDATA/QIBM/USERDATA/OS400/AFPRESOURCES';
/END-FREE
C WRITE REC0
C WRITE REC1
C SETON LR

The word TEST prints but not the image on IBM 1532 and 1552 printers.

when I try to bring it up using iseries navigator it gives the message-
1303 the resource " was not found, either in this file or in the
resource path.

when I browse our i for the file it exists as
\\192.168.2.1\root\XSMDATA\QIBM\UserData\OS400\AFPresources\HDABWLOGO.TI
F

is anyone getting this to work? Is there some kind of catch?

we have psf installed 5722ss1, option 37/38, feature 5113/5114
installed.
we do not have infoprint server installed

the image is a bladk and white logo 70KB.

Jim Horn

____________________________________________________

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential
or otherwise protected from disclosure. If you are not the named
addressee or an employee or agent responsible for delivering this
message to the named addressee, you are not authorized to read, print,
retain copy, and disseminate this message or any part of it. If you have
received this message in error please notify us immediately by email,
discard any paper copies and delete all electronic files of this
message.
This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential
or otherwise protected from disclosure. If you are not the named
addressee or an employee or agent responsible for delivering this
message to the named addressee, you are not authorized to read, print,
retain copy, and disseminate this message or any part of it. If you have
received this message in error please notify us immediately by email,
discard any paper copies and delete all electronic files of this
message.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.