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
PAPERCONF(1)						      General Commands Manual						      PAPERCONF(1)

NAME
paperconf - print paper configuration information SYNOPSIS
paperconf [ [ -p ] paper | -d | -a ] [ -z ] [ -n | -N ] [ -s | -w | -h ] [ -c | -m | -i ] DESCRIPTION
paperconf prints information about a given paper. The information that can be obtained is the name of the paper, its size and its width or height. When called without arguments, paperconf prints the name of the system- or user-specified paper, obtained by looking in order at the PAPERSIZE environment variable, at the contents of the file specified by the PAPERCONF environment variable, at the contents of /etc/papersize or by using letter as a fall-back value if none of the other alternatives are successful. By default, width and height of the paper are printed in PostScript points. OPTIONS
-p paper Specify the name of the paper about which information is asked. -d Use the default builtin paper name. -a Consider all known paper names. -z If the paper name is unknown, print it but issue a message on the standard error and exit with a non-zero code. -n Print the name of the paper. -N Print the name of the paper with the first letter capitalized. -s Print the size (width followed by height) of the paper. -w Print the width of the paper. -h Print the height of the paper. -c Use centimetres as unit for paper size. -m Use millimetres as unit for paper size. -i Use inches as unit for paper size. ENVIRONMENT
PAPERSIZE Paper size to use regardless of what the papersize file contains. PAPERCONF Full path to a file containing the paper size to use. FILES
/etc/papersize Contains the name of the system-wide default paper size to be used if the PAPERSIZE and PAPERCONF variables are not set. AUTHOR
Yves Arrouye <arrouye@debian.org> SEE ALSO
papersize(5) 24 April 2001 PAPERCONF(1)
All times are GMT -4. The time now is 07:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy