Sponsored Content
Full Discussion: Create invoice pdf file
Top Forums Shell Programming and Scripting Create invoice pdf file Post 302670869 by dicenl on Thursday 12th of July 2012 02:50:33 PM
Old 07-12-2012
Well, we have a custom build ordersystem, build by one of my colleguas. the system creates orders, invoices, work orders and letters of content. This systems creates csv or txt files when printing one of these forms. these text files are formated to print on company paper. Now to backup these forms and to cut back on paper use we would like these forms to be in pdf format so that if we need to print them we can but also have them stored on the network.

Now the idea we have is to have some kind of 'watch' directory where the exported csv/txt files are stored/printed to. Then a script can pick it up, merge the text file with a logo form (already in pdf) and move it to a directory on the network.

the server the program runs on is suse linux enterprise 11
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

checking invoice number not correct

hello, I have the following script to check the invoice number is in order or not. However, it cannot show out the correct information. My expect output show below and I would like to only list out the NOT IN SEQUENCE inovice number (not included "ok") #!/bin/sh start=1 for file_number in... (8 Replies)
Discussion started by: happyv
8 Replies

2. UNIX and Linux Applications

How to create PDF documents from my word files?

Hi guys, I need to create PDF documents from my word files. How do I do it? (4 Replies)
Discussion started by: Hilda Thompson
4 Replies

3. AIX

Create pdf printer queu

I need to create a print queue in AIX to be able to print directly to pdf (or a network based printer) from a informix based application (Genero/FourJ). I have a AIX 5.3 a I canīt find any documentation for this. If possible I would not like to use any thirth party software. Can someone help me on... (2 Replies)
Discussion started by: marques_rmc
2 Replies

4. SCO

Create a PDF file

Currently own an SCO OpenServer 6 system. Will like to know how to convert files printed to PDF so they can be sent to customers via e-mail. Ex. account statements. (4 Replies)
Discussion started by: RicardoM
4 Replies

5. Red Hat

create pdf of text file help

Can someone please tell me why this is not working? I have created numerous pdf's from text files by following these instructions and this time it is not working. Convert jpeg files to PDF under Linux | bitPrison.net convert /home/liveuser/Documents/hw7 /home/liveuser/Documents/hw7.pdf... (5 Replies)
Discussion started by: cokedude
5 Replies

6. Shell Programming and Scripting

How to create or convert to pdf files from csv files using shell script?

Hi, Can anyone help me how to convert a .csv file to a .pdf file using shell script Thanks (2 Replies)
Discussion started by: ssk250
2 Replies

7. Shell Programming and Scripting

Create pdf of a jpg image in shell script

Dear Team, Can any one please let me know, if there is any way to create pdf of a Jpg image file in shell script. I work on Solaris, Korn Shell. Currently we are using sunpcl2pdf.exe to create PDF from PCL(Printer Control Language) files. But we are searching for some different way to... (2 Replies)
Discussion started by: Uttam Maji
2 Replies

8. Shell Programming and Scripting

Create a text file and a pdf file from Linux command results.

Hello. The task : Using multiple commands like : gdisk -l $SOME_DISK >> $SOME_FILEI generate some text file. For readiness I must insert page break. When the program is finished I want to convert the final text file to a pdf file. When finished, I got two files : One text file and One pdf... (1 Reply)
Discussion started by: jcdole
1 Replies
gdal_retile(1)						      General Commands Manual						    gdal_retile(1)

NAME
gdal_retile - gdal_retile.py gdal_retile.py retiles a set of tiles and/or build tiled pyramid levels SYNOPSIS
gdal_retile.py [-v] [-co NAME=VALUE]* [-of out_format] [-ps pixelWidth pixelHeight] [-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/ CInt16/CInt32/CFloat32/CFloat64}]' [ -tileIndex tileIndexName [-tileIndexField tileIndexFieldName]] [ -csv fileName [-csvDelim delimiter]] [-s_srs srs_def] [-pyramidOnly] [-r {near/bilinear/cubic/cubicspline/lanczos}] -levels numberoflevels [-useDirForEachRow] -targetDir TileDirectory input_files.fi DESCRIPTION
This utility will retile a set of input tile(s). All the input tile(s) must be georeferenced in the same coordinate system and have a matching number of bands. Optionally pyramid levels are generated. It is possible to generate shape file(s) for the tiled output. If your number of input tiles exhausts the command line buffer, use the general --optfile option -targetDir directory: The directory where the tile result is created. Pyramids are stored in subdirs numbered from 1. Created tile names have a numbering schema and contain the name of the source tiles(s) -of format: Output format, defaults to GeoTIFF (GTiff). -co NAME=VALUE: Creation option for output file. Multiple options can be specified. -ot datatype: Force the output image bands to have a specific type. Use type names (ie. Byte, Int16,...) -ps pixelsize_x pixelsize_y: Pixel size to be used for the output file. If not specified, 256 x 256 is the default -levels numberOfLevels: Number of pyramids levels to build. -v: Generate verbose output of tile operations as they are done. -pyramidOnly: No retiling, build only the pyramids -r algorithm: Resampling algorithm, default is near -s_srs srs_def: Source spatial reference to use. The coordinate systems that can be passed are anything supported by the OGRSpatialReference.SetFro- mUserInput() call, which includes EPSG PCS and GCSes (ie.EPSG:4296), PROJ.4 declarations (as above), or the name of a .prf file containing well known text. If no srs_def is given, the srs_def of the source tiles is used (if there is any). The srs_def will be propageted to created tiles (if possible) and to the optional shape file(s) -tileIndex tileIndexName: The name of shape file containing the result tile(s) index -tileIndexField tileIndexFieldName: The name of the attribute containing the tile name -csv csvFileName: The name of the csv file containing the tile(s) georeferencing information. The file contains 5 columns: tilename,minx,maxx,miny,maxy -csvDelim column delimiter: The column delimter used in the csv file, default value is a semicolon ';' -useDirForEachRow: Normally the tiles of the base image are stored as described in -targetDir. For large images, some file systems have performance problems if the number of files in a directory is to big, causing gdal_retile not to finish in reasonable time. Using this parameter creates a different output structure. The tiles of the base image are stored in a subdirectory called 0, the pyramids in subdirectories numbered 1,2,.... Within each of these directories another level of subdirectories is created, numbered from 0...n, depending of how many tile rows are needed for each level. Finally, a directory contains only the the tiles for one row for a specific level. For large images a performance improvement of a factor N could be achieved. NOTE: gdal_retile.py is a Python script, and will only work if GDAL was built with Python support. AUTHORS
Christian Mueller christian.mueller@nvoe.at GDAL
Tue Sep 18 2012 gdal_retile(1)
All times are GMT -4. The time now is 07:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy