OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Managing Duplex and Single Page printing from the same file

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
Boybart
Newbie
Newbie


Joined: 27 Feb 2006
Posts: 2
Location: Stamford, CT

PostPosted: Mon Feb 27, 2006 8:56 am    Post subject: Managing Duplex and Single Page printing from the same file Reply with quote

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
View user's profile Send private message
Bhikkhu Pesala
Super User
Super User


Joined: 23 Aug 2005
Posts: 2324
Location: Seven Kings, London, UK

PostPosted: Mon Feb 27, 2006 10:51 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Boybart
Newbie
Newbie


Joined: 27 Feb 2006
Posts: 2
Location: Stamford, CT

PostPosted: Fri Mar 10, 2006 2:25 pm    Post subject: Reply with quote

Thanks Bhikkhu Pesala! Will try it.
Back to top
View user's profile Send private message
David
Super User
Super User


Joined: 24 Oct 2003
Posts: 5668
Location: Canada

PostPosted: Fri Mar 10, 2006 3:51 pm    Post subject: Reply with quote

Bhikkhu Pesala wrote:

[*]From a DOS box use the Dos Copy command to combine the files


You must be as old as Iam. Cool

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group