Thanks. I will give it a try.

On Thu, Jun 9, 2016 at 3:30 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:

Jack

Yes, I use GIFs - so does Michael (he gets them that way from a web
service). GIFs do not yet have a special object name to use, so the
component ID is what you need.

Here's my DDS for one of my uses -

* 22 is AFP component ID for GIF
* GIFs are temporary, put into '/tmp'
* *SIZE is set to what most of the PAGSEG sizes are, 233x122 in pixels,
* 200/inch
* *MAPOPT *SL = scale to fill - aspect ratio might change
A AFPRSC(&CUSSIGP 22 3.8 4.7
A (*PATH '/tmp')
A (*SIZE 1.165 .61)
A (*MAPOPT *SL))
A CUSSIGP 19A P

You may want to play with *MAPOPT - we have a certain space to fill (the
*SIZE option) and are not sure the size coming in.

HTH
Vern


On 6/9/2016 8:36 AM, Jack Tucky wrote:

Vern: Were you able to use GIF's as an AFPRSC? I'm using JPEG and some
barcodes aren't scanning.

On Wed, Jun 8, 2016 at 3:50 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:

Jack

I ended up using ImageMagick - there is a usable version on Scott
Klement's site - it installs easily, and it works great for us. Site is
http://scottklement.com/imagemagick/

The PNG support is not yet workable here, so converting takes care of it
-
Michael was using GIFs that he received, not PNGs.

HTH
Vern



On 6/8/2016 2:44 PM, Jack Tucky wrote:

This message Vern discusses converting PNG to GIF. How did you do this?

http://archive.midrange.com/midrange-l/201604/msg00793.html


On Wed, Jun 8, 2016 at 3:42 PM, Jack Tucky <jacktucky@xxxxxxxxx> wrote:

FYI I found this link http://code.midrange.com/0452359861.html


On Wed, Jun 8, 2016 at 3:32 PM, Jack Tucky <jacktucky@xxxxxxxxx>
wrote:

thanks!

On Wed, Jun 8, 2016 at 2:20 PM, Michael Schutte <
mschutte369@xxxxxxxxx>
wrote:

I don't know if I ever mentioned it, I had to change the device

description
on the printer too.

Image configuration . . . . . . . : *IMGA01

Also needed to add RAM to the printer that we started printing in
production for.

It required 128 MB in order to print the PDF document.

On Wed, Jun 8, 2016 at 2:16 PM, Michael Schutte <
mschutte369@xxxxxxxxx
wrote:

If you have a PDF, use the convert image api. before calling it, you
will

override QSYSPRT to *USERASCII.

Do a search in midrange archives for QImgCvtImg You should see some

posts

from Vernon and I. In one of the posts, I believe I provided links

to my

code.



On Wed, Jun 8, 2016 at 12:53 PM, Jack Tucky <jacktucky@xxxxxxxxx>

wrote:

Printing a JPG Works! Unfortunately, I have PDF and PNG formats :-)

On Wed, Jun 8, 2016 at 12:13 PM, Jack Tucky <jacktucky@xxxxxxxxx>

wrote:
Yes I've tried PDFSPO since my PDF is a complete page.

When I print to my laser, I get nothing but the text. When I try

to use

GUMBO Spoolmail to send it to my email, I get "spooled file resource

list

count exceeds limit"

On Wed, Jun 8, 2016 at 12:02 PM, Vernon Hamberg <

vhamberg@xxxxxxxxxxxxxxx>

wrote:

Actually it seems one can use PDFs - here are a couple items from
the

SFPRSC documentation, the chart of usable object types

*PDFSPO 25 A PDF single-page object
*PDFSPOTR 49 A PDF single-page object with
transparency


This was from V5R4 documentation, so there might even be other

variants

now.

Cheers
Vern


On 6/8/2016 9:53 AM, Charles Wilt wrote:

I don't think you can use a PDF as an AFPRSC.

Charles

On Wed, Jun 8, 2016 at 10:31 AM, Jack Tucky <
jacktucky@xxxxxxxxx>

wrote:

Thanks, that works. Has anyone ever used the AFPRSC keyword

succesfully?

I'm sending the path as /tmp and the file as label.pdf. Do I

need an

extra

/ at the end of tmp?

Does a regular printer file with a PDF as an AFPRSC require any
additional
licensed programs?

Jack

On Wed, Jun 8, 2016 at 9:59 AM, <dlclark@xxxxxxxxxxxxxxxx>

wrote:

"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 06/08/2016

09:53:20

AM:

call entryPList(imageFile: path: pos_T: imgSize_T);

Sorry, that should have been callp.


Sincerely,

Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300

Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331








*********************************************************************************************

This email message and any attachments is for use only by the

named

addressee(s) and may contain confidential, privileged and/or

proprietary
information. If you have received this message in error,
please
immediately notify the sender and delete and destroy the

message and

all

copies. All unauthorized direct or indirect use or disclosure of

this

message is strictly prohibited. No right to confidentiality or

privilege
is waived or lost by any error in transmission.





*********************************************************************************************

--

This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription

related

questions.

--

This is the RPG programming on the IBM i (AS/400 and iSeries)

(RPG400-L)

mailing list

To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription
related
questions.


--

This is the RPG programming on the IBM i (AS/400 and iSeries)

(RPG400-L)
mailing list

To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


--

This is the RPG programming on the IBM i (AS/400 and iSeries)

(RPG400-L)
mailing list

To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


--

This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


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-2020 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].