Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Informix > printing image/picture in 4gl report

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-21-07, 02:11
brutalsoul brutalsoul is offline
Registered User
 
Join Date: Nov 2007
Posts: 1
printing image/picture in 4gl report

hi, im quite new in Informix...
currently im try to print an image file to 4gl report, can i do so and what are the syntax?
Im been searching the forum and none of them seem can help
Using Informix IDS v10 on AIX platform.
hope some one can help, thanks in advance
Reply With Quote
  #2 (permalink)  
Old 11-21-07, 08:40
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Distrito Federal - Brasil
Posts: 197
4GL use the Print Service of SO. On linux is ldp or cups, i don't know which is the print service in AIX, i guess that will be ldp).

Talk with you SO Administrator... or look for :
man lpd
man lp
__________________
________________________________________
César Inacio Martins
Distrito Federal - Brasil
________________________________________
Reply With Quote
  #3 (permalink)  
Old 11-25-07, 05:03
Tyveleyn Tyveleyn is offline
Registered User
 
Join Date: Aug 2006
Location: The Netherlands
Posts: 200
Hi, have you tried the
Code:
PRINT FILE "fullpathname/filename"
statement?
I've only done this with textfiles, but the INFORMIX-4GL Reference Manual implies that it can be used for other filekinds as well.

Regards
Reply With Quote
  #4 (permalink)  
Old 12-15-07, 11:45
silvi4000 silvi4000 is offline
Registered User
 
Join Date: Dec 2007
Posts: 1
I tried something similar some time ago. I used the print to file option in windows to get the output that is send to the printer in a file. If you send this file to the printer, it will generate your image. Then you can use Tyveleyn's recomendation about PRINT FILE , or you can load the file to a blob field and then print that.
It worked for HP printers
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On