If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
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, 01: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, 07:40
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Jundiai / SP - Brasil
Posts: 311
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
Jundiai / SP - Brasil
http://www.imartins.com.br/informix - em Português
http://www.imartins.com.br/informix - English (translated by Google).
________________________________________
Reply With Quote
  #3 (permalink)  
Old 11-25-07, 04:03
Tyveleyn Tyveleyn is offline
Registered User
 
Join Date: Aug 2006
Location: The Netherlands
Posts: 248
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, 10: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

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