| View previous topic :: View next topic |
| Author |
Message |
Boybart Newbie

Joined: 27 Feb 2006 Posts: 2 Location: Stamford, CT
|
Posted: Mon Feb 27, 2006 8:56 am Post subject: Managing Duplex and Single Page printing from the same file |
|
|
This may not be the correct place for this question, but I figured someone here may have tried to solve this before.
I have an application which uses OpenOffice to generate a PFD document containing multiple pages. When this document is printed I would like to print some pages as Duplex (i.e. print on the front and back of a single sheet of paper), others to print only on the front side of a single sheet and others still to print on paper from a specific tray (always the same) in the printer.
e.g. if I have 4 pages in my document/file. I would like page 1 to print on only the front side of a sheet of paper from tray 4. I would like pages 2 and 3 to print on a single sheet of paper (on front and back) also from tray 4. And finally I would like page 4 to print on the front side of a sheet of paper from tray 1. I do not have to view the file before printing so could send it directly to the printer as long as OpenOffice generated the file from values in my database.
To me it seems like these commands should be possible using a .prn file but I'm not getting anywhere with finding out how to do this - would appreciate any help in pointing me in the right direction. |
|
| Back to top |
|
 |
Bhikkhu Pesala Super User


Joined: 23 Aug 2005 Posts: 2324 Location: Seven Kings, London, UK
|
Posted: Mon Feb 27, 2006 10:51 am Post subject: |
|
|
It sounds like that should work fine.
- Create three files by printing to file 1.prn 2.prn 3.prn
- From a DOS box use the Dos Copy command to combine the files
- Copy 1.prn + 2.prn + 3.prn > job.prn
- Copy the prn file to the printer with a binary copy
- In the old days we used to do this with copy job.prn lpt1:/b — probably you need a different method with USB printers.
_________________ Fonts * Opera * Oo Tips * FAQ * New Forum
Oo 2.3.1 * Win XP |
|
| Back to top |
|
 |
Boybart Newbie

Joined: 27 Feb 2006 Posts: 2 Location: Stamford, CT
|
Posted: Fri Mar 10, 2006 2:25 pm Post subject: |
|
|
| Thanks Bhikkhu Pesala! Will try it. |
|
| Back to top |
|
 |
David Super User


Joined: 24 Oct 2003 Posts: 5668 Location: Canada
|
Posted: Fri Mar 10, 2006 3:51 pm Post subject: |
|
|
| Bhikkhu Pesala wrote: |
[*]From a DOS box use the Dos Copy command to combine the files
|
You must be as old as Iam.
For the non-DOS newbies, perhaps a text concatenator might help. A quick Google brought up this, for one: http://www.tucows.com/preview/373437
David. |
|
| Back to top |
|
 |
|