× 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.



Take a look at the *MAPOPT of the AFPRSC keyword...

Also not sure *JFIF is right...

Charles

On Fri, Jan 8, 2016 at 3:36 PM, Michael Schutte <mschutte369@xxxxxxxxx>
wrote:

Now that I've gotten the image downloaded and saved, I need to be able to
attach to a printer file and print it using the AFPRSC keyword.


A R REC1 AFPRSC('testups.gif' *JFIF +
A 0.100 0.100 +
A (*PATH '/home/userdir/') +
A )

When I compile the printer file as DEVTYPE(*AFPDS) and trying to print the
spool file. The image doesn't print.

However, if I compile with "To Stream file" and workstation customizing
object as *PDF. The PDF has the image.

The problem with the image is that it's TOO BIG. It takes up an entire
page.

Because of that, I tried to add the size keyword.

A R REC1 AFPRSC('testups.gif' *JFIF +
A 0.100 0.100 +
A (*SIZE 6 4) +
A (*PATH '/home/userdir/') +
A )


I thought the *SIZE would shrink the image, but it doesn't, all it does is
show that portion of the image. The rest is cut off. So how do I reduce the
size of the image?

I'm not set on how to print this yet. I would prefer to print the spool
file.

Please provide some suggestions. I'm even willing to use PRTSTMF from
scott to take the pdf and print it that way.
--
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.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.