🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.postscript.programming
4 messages
4 total messages Started by Julian_Ignacio_Gomez_Arias Tue, 24 Oct 2006 15:09
Variable Data Printing (VDP)
#275
Author: Julian_Ignacio_Gomez_Arias
Date: Tue, 24 Oct 2006 15:09
5 lines
1043 bytes
Hi, I'm working on a development poyect in my company and I need help in the VDP area, the main idea is to use VDP using PostScript, by concatenating the data file in a txt format with a developed ps file and printing the PS file.

If you could help me with this I will really apreciated, I need info about using VDP on postscrip, links of pages that explain the process involve in the programing and implementation of the VDP in a ps file.

Thanks for your help
Re: Variable Data Printing (VDP)
#276
Author: Alex_Cherepanov
Date: Tue, 24 Oct 2006 22:29
13 lines
1240 bytes
Julian_Ignacio_Gomez_Arias@adobeforums.com wrote:

> I'm working on a development project in my company and I need help in the VDP area,
[...]
> I need info about using VDP on postscrip, links of pages that explain the process
Take a look at a short article I wrote on Wikipedia
http://en.wikibooks.org/wiki/PostScript_FAQ#How_to_create_a_PS_form_and_populate_it_from_a_database.3F

Feel free to contact me off-list if you need some practical help.

Regards,
Alex Cherepanov
alexcher@quadnet.net
Re: Variable Data Printing (VDP)
#277
Author: Peter Davis
Date: Wed, 25 Oct 2006 18:13
46 lines
3474 bytes

On Oct 24, 11:09 am, Julian_Ignacio_Gomez_Ar...@adobeforums.com wrote:
> Hi, I'm working on a development poyect in my company and I need help in the VDP area, the main idea is to use VDP using PostScript, by concatenating the data file in a txt format with a developed ps file and printing the PS file.
>
> If you could help me with this I will really apreciated, I need info about using VDP on postscrip, links of pages that explain the process involve in the programing and implementation of the VDP in a ps file.

This is a big topic, and it's hard to give a short answer.  You may
want to look into hiring or contracting with some PostScript
developers, especially ones who specialize in variable data printing.

In general, because PostScript is a programming language, it can do
anything.  You could certainly write a set of PostScript procedures
which would read from a concatenated data file and produce output.
Depending on how complex the job is, this may be easy or hard.  For
example, if you basically want to print some names, addresses or other
variables on top of a fixed background, you could define the background
as a PostScript form, and use execform on each page to place the
background.  Then you place the variable text on top with PostScript
operators.

If, on the other hand, you want to insert variable data into blocks of
text, and have the text nicely formatted regardless of the length of
the variables, then your PostScript code has to know how to do text
composition, line breaking, justification, hyphenation, etc.  Not
impossible, but not easy.

If you want to include images, then the PostScript interpreter will
have to get the images from somewhere.  They could be directly included
in the data file, or you could supply the location of the image.  If
you supply the location, the PostScript interpreter will, of course,
have to be able to access the files.

In general, if the data file you append has lines of data (e.g., rows
from a table), you want a procedure like:

/maxlinelength 256 def % Or whatever size you want to allow
/line maxlinelength string def
{
  currentfile line readline {
    % process line, which is on top of operand stack
  }{
    exit
  }ifelse
} loop
... data ...
Re: Variable Data Printing (VDP)
#418
Author: SaGS
Date: Fri, 24 Nov 2006 09:44
16 lines
1455 bytes
<Julian_Ignacio_Gomez_Arias@adobeforums.com> wrote in message 
news:3bc2107d.-1@webcrossing.la2eafNXanI...
> ...
> I need info about using VDP on postscrip, links of pages that explain
> the process involve in the programing and implementation of the VDP in a 
> ps file.
> ...

Some usefull info here: http://www.tgreer.com/resources.html

"Use of PostScript in Variable Data Printing" 
(http://www.tgreer.com/ps_vdp.html)
"Preparing EPS files for use in VDP" (http://www.tgreer.com/eps_vdp.html)
"Reusable Content Caching" (http://www.tgreer.com/eps_vdp2.html)

(I think this post comes a bit late for the OP, sorry for that.) 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads