473,603 Members | 2,618 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Collating Text and Images

I have an interesting problem. I have a (one) text file containing multiple
reports. I have multiple TIF files, one for each page in the report file.
What I would like to do is merge the two files into one print job so that I
get a text page then the corresponding image, then the next text page, then
the next corresponding image, etc. Currently we have 2 people doing the
collation by hand every day; this would save am immense amount of labor at
our shop. The work is being performed on an HP-9000 running UNIX and I can
read and process the text file, but can not figure out how to insert the
images into the print stream. Can anyone help me out?

Greg Lindstrom (501) 975-4859
NovaSys Health gr************@ novasyshealth.c om

"We are the music makers, and we are the dreamers of dreams" W.W.

Jul 18 '05 #1
2 1790
Greg Lindstrom wrote:
I have an interesting problem. I have a (one) text file containing
multiple
reports. I have multiple TIF files, one for each page in the report file.
What I would like to do is merge the two files into one print job so that
I get a text page then the corresponding image, then the next text page,
then
the next corresponding image, etc. Currently we have 2 people doing the
collation by hand every day; this would save am immense amount of labor at
our shop. The work is being performed on an HP-9000 running UNIX and I can
read and process the text file, but can not figure out how to insert the
images into the print stream. Can anyone help me out?


Basicly use something that can produce postscript - like latex or lout,
generate template, convert to ps, send to printer. On any unix system this
will be trivial shell one-liner that can be run from cron.

--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl

Is Santa so jolly because he knows where all the bad girls live?
Jul 18 '05 #2
Greg Lindstrom wrote:
I have an interesting problem. I have a (one) text file containing multiple
reports. I have multiple TIF files, one for each page in the report file.
What I would like to do is merge the two files into one print job so that I
get a text page then the corresponding image, then the next text page, then
the next corresponding image, etc. Currently we have 2 people doing the
collation by hand every day; this would save am immense amount of labor at
our shop. The work is being performed on an HP-9000 running UNIX and I can
read and process the text file, but can not figure out how to insert the
images into the print stream. Can anyone help me out?

Greg Lindstrom (501) 975-4859
NovaSys Health gr************@ novasyshealth.c om

"We are the music makers, and we are the dreamers of dreams" W.W.

The ReportLab open source kit is well capable of doing this, and will
make your reports look better as well, as long as PDF is an acceptable
output format. (You could use a fixed-pitch font if you really want the
reports to look as much as possible like they do now).

See http://www.reportlab.org/

regards
Steve
--
http://www.holdenweb.com
http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2654
by: Yaro | last post by:
Hi We want to create case-insensitive database (DB2 8.2.2 Win) . I found information we need create custom collating sequence and create database with this sequence but I can't find informations how do this. Can anyone tell me how create case-insensitive collating sequence (sample or link) and how set this sequence in CREATE DATABASE command? Thanks in advance.
1
4613
by: T | last post by:
Hi I am using Windows 2000(SP4) and recently had MS ACCESS 2000 (9.0.2720) installed. My problem is I cannot create or open any database without getting the following message "Select Collating Sequence not supported by the operating system". I have searched around this and other forums and the only suggestion is to update the CollatingSequence key in the registry which I have done but my problem still exists.
0
2102
by: HelmutStoneCorner | last post by:
Hi, I am connected as a german client to a multilanguage server, Regional Options: English, US. Western Europe and US. The W2K Server (Terminal) -version: english(US) runs a french database. My regional options are: General: English, US, (Keybd: german). I create a new database and, opening the table or going to the options, I get: An error occurred and this feature is no longer functioning properly - then: Selected collating sequence...
17
1891
by: Ron Adam | last post by:
I put together the following module today and would like some feedback on any obvious problems. Or even opinions of weather or not it is a good approach. While collating is not a difficult thing to do for experienced programmers, I have seen quite a lot of poorly sorted lists in commercial applications, so it seems it would be good to have an easy to use ready made API for collating. I tried to make this both easy to use and flexible. ...
12
2575
by: tim | last post by:
I am using foldoutmenu 3 and am having problems with viewing my menus in firefox. On my sub3 menus i have more than one line of text in some places. firefox does not recognise that there is more than one line and the text simply overlaps the sub-menus below it. I thought i had got around this by placing empty 'spacers' like so; oFoldMenu.make('sub3','')//spacer unfortunately, i have just viewed the site in IExplorer and it has added...
0
1597
by: pam | last post by:
We have a customer who would like to see their data sorted in a case- insensitive manner. I've tried several of the out of the box collating sequences (identity, system, compatibility) but none of them result in the ordering they would like to see. Has anyone used the Create Database API to pass in a custom collating sequence that would result in a case-insensitive sort (ie a=A for weight)? Are there samples of how to do this? Any...
1
4187
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being aligned to the top, along with the slideshow and link buttons, you have to scroll down to see the text - how can I make IE6 display correctly? http://geekarama.co.uk/new_home.html here is the code for new_home.html and following that the CSS...
0
1848
by: Frank Swarbrick | last post by:
What might be a good test to demonstrate the difference between the SYSTEM (UNIQUE?) collating sequence and the IDENTITY collating sequence? Thanks, Frank
0
7996
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
7928
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8415
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8405
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8273
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
3903
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3951
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2430
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1259
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.