Eric

You didn't specify the source/type of graphic but I'll assume its a JPEG
graphic file. We print a large amount of reports with graphics here. There
are some basic rules to follow but it's sometimes little things will cause a
graphic print to fail.
I don't use BMPS loaded into our database but use file referencing to set a
variable for the graphic located on a report. If the file is a long filename
then another approach is needed.

You can have drive,sub-directory and file name columns in the source table
or just one column specifying drive,sub-directory and filename, your choice.
In your report you need two variables, one for the file location/file name
reference and the second to add the dmstretch reference.

Assuming a file location/file name reference of C:\IMAGES\IMAGE1.JPG, the
first variable would be set as: set v vimage tex='c:\images\image1.jpg'. The
second variable would be set as: set v vimage2 tex=(.vimage+',dmstretch').
You would then place the variable on your report and set the property of the
variable VIMAGE2 to CUSTOM and BLOBDRAW.

The drawback to this method would be if the file name was a long windows
name, then this method would not produce the image on the report. You would
need to take a second approach when using long file names.

With credit tp Mike Willochell, here's how to use long file names to print
images on reports:

File Location/File Name:C:\IMAGES\AVERYBIGPICTUREIMAGE.JPG
Set v vimage TEX='C:\IMAGES\AVERYBIGPICTUREIMAGE.JPG'
Set v vimage2 tex=('"'+.vimage+'"'+',dmstretch') note the single and double
quotes !
Locate vimage2 on your report setting the properties as above to custom and
blobdraw.

We have found that the PCL5 drivers work better with images than the PCL6
drivers. You should check these and you should also check to see if there
are updated drivers for your HP 4050 for WinXp at www.hp.com.

Also, in terms of network printers consider the following;

We use the latest release of Rbase Win 6.5 on our network here and we print
lots of graphics on a wide variety of Hp b/w and color laser printers. We
also use a Canon 5000 copier/printer with very good results. Our network
runs Win2000 Server and Win2000 Professional workstations using tcp/ip. Most
of our printers are setup to print direct Ip to Ip so there is no bottleneck
on the server. All printers, when set up on the network, now have the option
of setting up a new port in printer properties named  Standard TCP/IP and in
the case of HP an HP Standard Tcp/Ip port. This greatly increases print
speed. Of course, it helps if the printer has either a large amount of RAM
or an internal hard disk spooler.

Of course all of our printers are shared and every user can print to any
printer on the network which adds a great degree of flexibility to our
user's printing needs.

Good luck !

Bill Eyring
Michael Haberman Associates, Inc.
Mineola, NY
516-739-8080



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Eric M. Bienstock, Ph.D.
Sent: Monday, July 15, 2002 11:23 PM
To: RBASE LIST
Subject: Cannot print graphics under Win XP on HP 4050N printer


Can anyone shed any light on this problem?

Cannot print graphic under Win XP on HP 4050N printer.
Just get blank space where the graphic should be on the report.
Tried both RBLOB and regular R:Base graphic output.
Also tried changing spool setting between RAW and EMF.
Also tried latest printer driver from HP.
This printer and report has been working reliably with the old
setup (RBwin 6.5, Win2000 Pro), but not with the new setup
(RBwin6.5++, Win XP).

Thanks in advance for any insight.

---------------------------------------------------------------------------
Eric M. Bienstock, Ph.D.
   Database Development, etc.
      Authorized R:BASE Developer
         Eric M. Bienstock & Associates, Inc.
            day: 212-978-7948    eve:  973-763-8650(8)
               FAX:  775-254-2109    [EMAIL PROTECTED]
                   http://mywebpages.comcast.net/ericmb/
---------------------------------------------------------------------------


================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to