PSF for AIX/Infoprint Manager : How to Disable Resident Code Page

ITEM: RTA000155697



Q:                                                                              
Topic thread:                                                                   
Printer Systems (PRINT - NA/ATS)                                                
 PSF/AIX                                                                        
                                                                                
My customer has had PSF for AIX installed for several years driving both        
an InfoPrint 4000 and a 3160.  They are in the process of implementing a        
new NT desktop application which will use the AFP Print Driver to               
generate AFPDS output.  This application uses the Swiss 721 BT font and         
code page T1001004.  I have taken the True-type Swiss 721 font which the        
customer has provided and created AFP outline font CZA080.OLN.  The             
AFPDS created by the AFP Print Driver includes a Map Coded Font command         
invoking character set CZA080 and code page T1001004.                           
                                                                                
Now for the problem.  This desktop application is trying to print a            
"bullet" character (like the dot seen when you do an unordered list in          
DCF).  When printed on the 3160, the bullet character prints as an              
Agrave character (capital A with an accent overhead).  It prints the            
same way on the IP4000.  To my thinking, I have a code page mismatch            
between the NT and T1001004.                                                    
                                                                                
I have modified T1001004 using the VM-based FONT2FF and FF2FONT tools.          
Now, code point x"C0" in T1001004 points to the bullet character.               
Unfortunately, the Agrave character still prints.  I believe this is            
because PSF for AIX is using the 3160 printer-resident T1001004 code            
page rather than downloading my modified T1001004 code page.  We have           
proven this by renaming T1001004 to T1001004.RENAME.  The jobs still            
prints with the Agrave rather than generating a "code page not found"           
error.  I am confident that no other copy of T1001004 resides in the PSF        
for AIX libraries.                                                             
                                                                                
Now on to my question after this verbose problem description.  How do I         
disable use of the printer resident T1001004 code page in the 3160?  I          
have read several ASKQ items describing how to enable and disable               
resident character sets, but none give specifics on how to disable just         
a code page.  I have played with the /usr/lpp/psf/grd/codepage.grd file,        
but can't seem to make PSF for AIX download and use my custom T1001004          
code page.  Please walk me through the process.                                 
                                                                                
Thanks for your help.                                                           
                                                                                
A:                                                                              
As we discussed on the phone, you must actually end the instance of             
PSF for that print queue and restart it in order for the changes to             
the grd files to be picked up.  To ensure that the PSF instance is             
ended:                                                                          
                                                                                
  psfctl -dt        (End PSF instance after currently print job                 
                    finishes, and mark the queue down.)                         
  ps -ef | grep ain (Make sure there are no ain processes running for           
                    the particular PSF print queue)                             
  pstctl -u         (Brings the PSF queue back and up and reinitializes         
                    "INITING" the instance.)                                    
                                                                                
If you want to bring PSF down immediately rather than after the                 
currently printing job, you would use "psfctl -dk"; the currently               
printing job will be stopped and will remain in the queue in QUEUED             
status.  When you restart PSF for that queue, the job will reprint              
from the beginning of the job.                                                  
                                                                               
You can chain the flags on the command, i.e., psfctl -dtu printername,          
to "bounce" the queue in a single step.                                         
                                                                                
If this doesn't fix your problem, please reopen this item.                      
Thanks for using ViewBlue.                                                      
                                                                                
Q:                                                                              
The customer has confirmed that this problem is resolved.  In the               
interest of documentation, here are the steps we followed to ensure that        
PSF for AIX downloads code page T1001004 rather than using the printer          
resident code page.                                                             
                                                                                
   1. Logon to the AIX system                                                   
   2. Change directory to /usr/lpp/psf/grd                                      
   3. Copy codepage.grd.sample to codepage.grd                                 
   4. Use vi to update codepage.grd, placing a - (dash) in the cpgid            
      column for the row containing codepage T1001004                           
   5. Issue the psfctl -dtu 3160 command                                        
   6. Ensure that the new modified T1001004 code page is in directory           
      /usr/lpp/psf/fontlib                                                      
   7. Submit a test job to the 3160                                             
   8. If successful, submit another test job to the InfoPrint 4000              
                                                                                
Thanks again for your help.                                                     
                                                                                
A:                                                                              
Thanks for the update.  PSF/AIX does not reread its profiles or the             
printer GRID files unless the ain* processes running are terminated             
and restarted.  Thus the need for the psfctl -dt or -dk to terminate            
those processes when changes are made.                                         
                                                                                
Thanks for the positive feedbacką  Glad I could help.                           
                                                                                
S e a r c h - k e y w o r d s:                                                  
psf/6000 psf/aix aix psf infoprint manager resident disable fonts               
codepage code page grd charset.grd codepage.grd printer custom                  
download                                                                        
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000155697 ITEM: RTA000155697
Dated: 03/1999 Category: XPSF6000
This HTML file was generated 99/06/24~12:43:43
Comments or suggestions? Contact us