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


  • Subject: Re: Where are the ICG parms of an Externally Described Printer File ?
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Wed, 06 Jan 99 10:08:06 +0100

Hello Jorge,

There are a couple of possibilties here:

1) The CRTPRTF command has a keyword called IGCDTA.  The default is *NO but 
this may have been changed on 
your system.

2) Your system is a DBCS system.  You can check this by looking at the system 
value QIGC.  If it is a '1' 
then you have a DBCS system.  The effect of this is that CHARACTER fields which 
are not explicitly defined as 
'A' will be assumed to be 'O'.  (The 'A' is Alphabetic data type, the 'O' is 
Open data type.  These are 
specified in the Type column in the DDS.)  Your printer file has at least one 
character field -- USER.

The message really means there is the _possiblity_ of DBCS data in the printer 
stream based on the printer 
file definition but the printer device cannot handle DBCS data.  There may be 
no DBCS data in the print 
stream in which case answering 'G' will allow printing to continue.

It is possible to experience the same situation with display files and non-DBCS 
display devices.

Regards,
Simon Coulter.

//----------------------------------------------------------
// FlyByNight Software         AS/400 Technical Specialists
// Phone: +61 3 9419 0175      Mobile: +61 0411 091 400
// Fax:   +61 3 9419 0175      E-mail: shc@flybynight.com.au
// 
// Windoze should not be open at Warp speed.
//--- forwarded letter -------------------------------------------------------
> Date: Tue, 05 Jan 99 15:14:19 -0500
> From: jmoreno@militarycars.com
> To: midrange-L@midrange.com
> Reply-To: MIDRANGE-L@midrange.com
> Subject: ##EMailNumber 01-WNY-2823145 Where are the ICG parms of an    
>Externally Described Printer File ?

> 
> Hi all,
> 
> I am having a problemPRINTING  a simple Spooled File in a 4245 Printer.
> 
> I am using an externally defined printer file with simple space, skip, edtcde 
>and edtwrd
> keywords. The DATA is simple text in Upper and Lower Case !
> 
> I get this INQUIRY message > CPA3303
> 
>  Message . . . . :   Attributes of file MQ2FORMA not supported for device
>    PRT01. (C G H)
> 
>  Cause . . . . . :   Writer PRT01 found attributes of file MQ2FORMA
>     on output queue PRT01 that are not supported for device PRT01.
> 
>  The error code, or codes, are 5.
> 
>      5 - IGC data (IGCDTA), IGC character rotation (IGCCHRRTT), IGC characters
> 
>           per inch (IGCCPI), or IGC shift-out and shift-in characters 
>(IGCSOSI) not
>           supported on device.
> 
> Here are the details for  printer file  MQ2FORMA .
> DDS Sample:
>        *
>       A          R RCD001
> 
>       A                                      SKIPB(003)
>       A            USER          10         4
>       A            FDATE          8S 0    100
>       A                                      EDTWRD('  -  -    ')
>       A            FTIME          6S 0    112
>       A                                      EDTWRD('  :  :  ')
>       A                                   123
>       A                                      'Page -'
>       A            FPAGE          2S 0    130
>       A                                      EDTCDE(Z)
>       A          R RCD002
>       A                                      SPACEB(001)
>       A                                    40
>       A                                      'CUSTOMER ORDER'
>                etc ...
> 
> Other formats are just text with occasional skips,space, edtcde and edtwrd 
>keywords only
> 
> Command used to create the printer file:
> 
>         CRTPRTF   FILE(MQ2FORMA) srcfile(QDDSSRC) PAGESIZE(68 132) LPI(8)
>             CPI(10) OVRFLW(60) PAGRTT(*AUTO) UOM(*INCH) MAXNDRS(*NOMAX) 
>AUT(*ALL)  LVLCHK(*NO)
> 
> And THERE ARE NOT ICG parameters in this CRTPRTF command.
> 
> The printer PRT01 was created with the following parameters:
> 
>  CRTDEVPRT DEVD(PRT01) DEVCLS(*LCL) TYPE(4245) MODEL(T12) PORT(3) +
>           SWTSET(2) ONLINE(*YES) CTL(CTL03) FORMFEED(*CONT) +
>           PRTERRMSG(*INQ) MSGQ(*LIBL/QSYSOPR) IMGCFG(*NONE) +
>           TEXT('AS/400 Printer') +
>           DEPLOCNAME(*NONE)
> 
> I also want to indicate that the majority of the spooled files that go 
>through this printer have the 
definition
> of  PAGESIZE(68 132) LPI(8) CPI(10) OVRFLW(60) but these are program 
>described files.
> 
> When I see the attributes of the spooled file it indicates a correct 
>definition of PAGESIZE, LPI, CPI and 
OVERFLOW.
> 
> Probably I am too BLIND to see the solution of this PROBLEM in front of me ...
> 
> I have exhausted my trial and error exercises .... Any Ideas Group ?
> 
> Thanks In Advance for your Suggestions / Answers
> 
>   JORGE

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.