Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to print a set of empty bills with OpenOffice Writer. I have an empty template, and what I would like to do is print a different bill number with every copy.

The idea would be something like this:

  1. Select Print
  2. Choose start and stop increments
  3. Get printed copies with a different value in each

I've tried to look into fields, but from what I'm getting the only way I could do this is to setup an OpenOffice Database with as many entries as I wish to print and use it a data source for my file when printing.

Is there an easier way of doing this?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You can use a csv file as a 'database' and generate your forms using mail merge. Generate a text file

number
1
2
3
... max number

and save it, e.g. mynums.csv. Add a field to your form and link it to the number field of the mynumbs.csv file (insert/field/other, choose database type and navigate to the mynumbs.csv file, then choose the number field as the data source).

When you print the document, choose to print a form letter. You can then choose the start and stop values in the dialog box that appears. You can print directly to paper, but also to a file or files.

share|improve this answer
    
This is indeed what I ended up doing, generating the csv from bash. I still find it too bad to have to use a separate data file, so I'll wait to see if someone else has another option :-) –  ℝaphink Sep 13 '10 at 14:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.