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



Hi All.



I am trying to use AFPRSC to print a JPG image with no success and have run
out of ideas. Can anybody help. This is on V7.2



The printer file is very simple:



A R FM000I


A AFPRSC('01-05-1001.jpg' *JFIF +


A 4 4 (*PATH '/home/Imagens') +


A (*MAPOPT *SL) +


A (*SIZE 2 2))


A R FM000L


10 10'Test text print'



The printer file is compiled as *AFPDS and UOM=*INCH



The RPG program:



FWHM050Mno O E PRINTER OFLIND(*IN31)



write fm000i;

write fm000l;



*inlr=*on;



The spool file is created and AFP attributes are flagged as YES.



The file is in the directory below and has the same size as the original
file in the server that it was copied from.



Directório . . . . : /home/Imagens



Opç Ligação de objecto Tipo

01-05-1001.jpg STMF





Atributes:

CCSID - 1252



Cps.



Antonio Rosa



e-mail: <mailto:msousa@xxxxxxxxxxxxx> arosa@xxxxxxxxxxxxx

tlm. +351 918809439

CISTERSIS

sistemas de informação



www.cistersis.com





---
Este e-mail foi verificado em termos de vírus pelo software antivírus Avast.
https://www.avast.com/antivirus

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.