At 01:58 PM 7/7/2004 -0700, Larry Lustig wrote:
My R:Base report features a GIF image.
On one HP Laser 4550 printer, the GIF prints perfectly.
On another HP, a Laserjet 5000, it is messed up (with most of the GIF appearing to be an odd sort of dashed line).
My GIF image was generated by R:Base itself (with the OPTION GIF) and so I have some control over it.
Any suggestions of printer settings or GIF settings to make the image print reliably on all printers?
Larry,
Use the full syntax to print the report as GIF format with appropriate values:
Syntax:
PRINT reportname WHERE whereclause ORDER BY orderbyclause + OPTION GIF + |SHOW_CANCEL_DIALOG value + |FILENAME filespec + |PIXELFORMAT value + |BACKGROUND_COLOR value + |BACKGROUND_FILE value + |BACKGROUND_TYPE value + |MONOCHROME value + |SCALEX value + |SCALEY value + |OPEN value
Description:
SHOW_CANCEL_DIALOG Specifies whether to show/suppress cancel dialog box during the print process � ON � OFF
FILENAME filename of GIF-file
PIXELFORMAT Specifies the pixel format of the GIF-file (bits/pixel) � 1 : 1bit � 4 : 4bit � 8 : 8bit � 15 : 15bit � 16 : 16bit � 24 : 24bit � 32 : 32bit
BACKGROUND_COLOR Indicates the color to be used as background color of all pages of report (default : White) � AQUA � BLACK � BLUE � CREAM � DARK GRAY � FUCHSIA � GRAY � GREEN � LIME � LIGHT GRAY � MAROON � MEDIUM GRAY � MINT GREEN � NAVY � OLIVE � PURPLE � RED � SILVER � SKY BLUE � TEAL � WHITE � YELLOW
BACKGROUND_FILE Stores the image file name that is to be used as background image of all pages of report.
BACKGROUND_TYPE Specifies the way background image has to be displayed in the GIF-file. � TILE � TOPLEFT � TOPCENTER � TOPRIGHT � CENTERLEFT � CENTER � CENTERRIGHT � BOTTOMLEFT � BOTTOMCENTER � BOTTOMRIGHT
MONOCHROME Specifies whether GIF-file produced are color or monochrome images � ON � OFF
SCALEX double; Scaling factor for the width of the exported page
SCALEY double; Scaling factor for the height of the exported page
OPEN Specifies whether the report should be opened after it is generated � ON � OFF
Hope that helps!
Very Best R:egards,
Razzak.
