Midrange News for the IBM i Community


Posted by: George Fuste
IBM i developer
Jacksonville, FL
Using shading in a BOX in DDS
has no ratings.
Published: 06 Aug 2013
Revised: 07 Aug 2013 - 1533 days ago
Last viewed on: 17 Oct 2017 (3254 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Using shading in a BOX in DDS Published by: George Fuste on 06 Aug 2013 view comments(6)

Has anyone ever used shading within a box in DDS successfully?  I'm using the DDS below and have the PRTF compiled as *AFPDS and printing on a RICOH copier configured as a 3812 model 1.   The box prints OK... no shading at all/

R DRAWBOX                                                   
                                                BOX(&STRY &STRX &ENDY &ENDX &LW +
                                                (*SHADE 50))                    
  STRY           5S 3P                                      
  STRX           5S 3P                                      
  ENDY           5S 3P                                      
  ENDX           5S 3P                                      
  LW             5S 3P                                      

 

 

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: DaleB
Premium member *
Reading, PA
Comment on: Using shading in a BOX in DDS
Posted: 4 years 2 months 14 days 1 hours 44 minutes ago

I've used it; it worked on some printers, but not all. However, most of our printers were either HP or Canon; don't think we ever had any Ricoh in the mix. Have you verified the output is what you want using the AFP Viewer, or maybe a different printer?

Posted by: GFuste
Premium member *
Jacksonville, FL
Comment on: Using shading in a BOX in DDS
Posted: 4 years 2 months 14 days 1 hours 23 minutes ago

Where can I find the AFP viewer and how do I use it to look at the spooled file?  I guess I'm not understanding wat you're asking.  Is my sample code similar to what you were using?

Posted by: DaleB
Premium member *
Reading, PA
Comment on: Using shading in a BOX in DDS
Posted: 4 years 2 months 13 days 21 hours 5 minutes ago

The AFP Viewer is a plugin for IBM i Access for Windows.

Yes, your code is similar. You might want to try one of the predefined values instead of a number for shading, like (*SHADE *MEDIUM), just to see if it makes a difference. But my experience was that any given printer either did shading, or it didn't, regardless of the parameters.

Been awhile since I configured one of these, but I have a nagging feeling you may also want to review the image configuration on the printer or writer definition.

Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: Using shading in a BOX in DDS
Posted: 4 years 2 months 13 days 20 hours 39 minutes ago

Selecting the proper MFRTYPMDL on the OUTQ de!--script--ion. There is one for Ricoh.

Posted by: GFuste
Premium member *
Jacksonville, FL
Comment on: Using shading in a BOX in DDS
Posted: 4 years 2 months 13 days 4 hours 25 minutes ago

Thanks for the help guys.   The writer device is set up as a Ricoh MP5000.  The actual copier is a Ricoh Aficio MP4002.  It's an *SCS printer.  Should it be *IPDS?   It does print boxes and images so maybe that set up is OK.  There doesnt seem to be a Ricoh MFRTYPMDL specific for the copier model so I dont know if changing it to something "similar" will affect it.   I also heard that we need the IBM Infoprint or some similar pkg on the IBM i to do this.

This shouldnt be so difficult.  I'm going to look into it a little more and if no success, then I'm moving on.    

Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: Using shading in a BOX in DDS
Posted: 4 years 2 months 13 days 1 hours 30 minutes ago
Edited: Wed, 07 Aug, 2013 at 10:03:54 (1533 days ago)

There is none now, nor has there ever been substantial money in the IBM i Print budgets....

The Ricoh driver is probably there. Check to see which Ricoh driver your physical device supports.

For example, I have an HP LaserJet m400 and had to specify *HP5SI as the printer model. Also YES you probably need IPDS or more likely *AFPDS or *AFPDSLINE

FYI, that ID is grouped with the Ricoh ID in the IBM "printer driver" matrix for IBM i.

Your specific copier is listed and supported. On the OUTQ de!--script--ion, try:

MFRTYPMDL(*RICOHMP5000 )

Here is a link to the page on IBM.com where you would find stuff for the Ricoh models.