Re: Split a PDF page

2007-03-27 Thread Andrea Venturoli

Chuck Swiger wrote:

On Mar 23, 2007, at 7:08 AM, Andrea Venturoli wrote:

Acrobat, maybe?
/usr/ports/print/acrobatviewer


Hm, when I try and start it I get:

%AcrobatViewer
expr: illegal option -- r
usage: expr [-e] expression


Does doing a:


Please advise all your users intended to use Acrobat Viewer to create
~/AcrobatFonts directory, which is neccessary for Acrobat Viewer to 
normally

save its configuration data.


...help?


Nope.





Or maybe env EXPR_COMPAT=yes /usr/local/bin/AcrobatViewer...?


I don't get that error anymore, but I don't get anything else either.
The app does not start.


Thanks anyway.


 bye
av.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread Andrea Venturoli

Don Hinton wrote:

Try PDFjam:

/usr/ports/print/pdfjam

hth...


Thanks, but this doesn't seem to do what I need. It can put multiple 
pages on one, but cannot split them back.


 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread Andrea Venturoli

Chuck Swiger wrote:


Acrobat, maybe?

/usr/ports/print/acrobatviewer


Hm, when I try and start it I get:

%AcrobatViewer
expr: illegal option -- r
usage: expr [-e] expression
%



Alternatively, if you convert the PDF file to PostScript, (GNU) enscript 
ought to have an N-up filter which can deal with A3 - A4 conversions 
and so forth:


/usr/ports/print/enscript-a4


AFAIK enscript starts from text, not from a PostScript page...
Besides, if the N-up filter you say is options -U, it just put more 
pages into one, which is the opposite of what I want to do.


Maybe I didn't get it right. How should I use it?



 bye  Thanks
av.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread David Kelly
On Fri, Mar 23, 2007 at 02:28:43PM +0100, Andrea Venturoli wrote:
 Don Hinton wrote:
 Try PDFjam:
 
 /usr/ports/print/pdfjam
 
 hth...
 
 Thanks, but this doesn't seem to do what I need. It can put multiple 
 pages on one, but cannot split them back.

Tuning in late has anyone suggested *printing* the PDF to PDF using a
PDF viewer? Print only the ranges of pages you are interested in. At
worst print to PS file and then convert PS to PDF.

I do this fairly often in Preview on MacOS X.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread Don Hinton
On Friday 23 March 2007 08:28, Andrea Venturoli wrote:
 Don Hinton wrote:
  Try PDFjam:
 
  /usr/ports/print/pdfjam
 
  hth...

 Thanks, but this doesn't seem to do what I need. It can put multiple
 pages on one, but cannot split them back.

I have seen a script that does this, but you may need to tweak it.  You can 
find it on on of Doug Schmidt's pages:

http://www.cs.wustl.edu/~schmidt/C++/

The script was contributed by Eric Rosenthal.  I havent' used it, so YMMV. 

hth...
don


   bye
   av.

-- 
Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com
Institute for Software Integrated Systems (ISIS), Vanderbilt University
tel: 615.480.5667 or 615.870.9728


pgpVTKIOBX0eB.pgp
Description: PGP signature


Re: Split a PDF page

2007-03-23 Thread David Kelly
On Fri, Mar 23, 2007 at 04:07:53PM +0100, Andrea Venturoli wrote:
 David Kelly wrote:
 
 Tuning in late has anyone suggested *printing* the PDF to PDF using a
 PDF viewer? Print only the ranges of pages you are interested in. At
 worst print to PS file and then convert PS to PDF.
 
 I do this fairly often in Preview on MacOS X.
 
 I can easily do that even with ghostscript.
 The problem is not that I want to split a document into single pages, 
 but that I want to split a page in two.
 Someone printed two A4 n-up on an A3; I want the two A4 separated again.

Even so, set the output scaling and orientation that multiple sheets are
needed to print the current sheet. Then capture the sheet/page you
desire and discard the rest.

Or you could do it the Old Fashioned Way we used about 20 years ago:
Print to PS and hack the PS with vi. Each n-up page is probably nested
within a scaled region. IIRC the red Adobe Postscript book was important
to have handy.

Would guess some of the smart context-sensitive text editors know
Postscript and can block select nested sections.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread Andrea Venturoli

David Kelly wrote:


Tuning in late has anyone suggested *printing* the PDF to PDF using a
PDF viewer? Print only the ranges of pages you are interested in. At
worst print to PS file and then convert PS to PDF.

I do this fairly often in Preview on MacOS X.


I can easily do that even with ghostscript.
The problem is not that I want to split a document into single pages, 
but that I want to split a page in two.

Someone printed two A4 n-up on an A3; I want the two A4 separated again.

 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread Peter A. Giessel
On 2007/03/23 7:07, Andrea Venturoli seems to have typed:
 I can easily do that even with ghostscript.
 The problem is not that I want to split a document into single pages, 
 but that I want to split a page in two.
 Someone printed two A4 n-up on an A3; I want the two A4 separated again.

A crude hack would be to use gs to convert it to a high resolution image
file, use gimp or something like that to split it into two image files,
then use gs to put them back together.  Again, crude hack and resolution
would be lost, but it may work for you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread David Kelly
On Fri, Mar 23, 2007 at 07:52:16AM -0800, Peter A. Giessel wrote:
 On 2007/03/23 7:07, Andrea Venturoli seems to have typed:
  I can easily do that even with ghostscript.
  The problem is not that I want to split a document into single pages, 
  but that I want to split a page in two.
  Someone printed two A4 n-up on an A3; I want the two A4 separated again.
 
 A crude hack would be to use gs to convert it to a high resolution image
 file, use gimp or something like that to split it into two image files,
 then use gs to put them back together.  Again, crude hack and resolution
 would be lost, but it may work for you.

I think you can set the scaling and page orientation in ghostscript so
that the current single page requires multiple sheets to print. Also
tell ghostscript that you only want the Nth page, or use other PS
utilities to snatch the desired pages.

Or you could do the same sort of thing using a GUI PDF viewer to print
to file.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread Andrea Venturoli

David Kelly wrote:


I think you can set the scaling and page orientation in ghostscript so
that the current single page requires multiple sheets to print.


This is what I tried to do right at the beginning (eventually going 
through pdf - ps conversion would be fine). However I couldn't find 
such options in ghostscript. What are them?





Or you could do the same sort of thing using a GUI PDF viewer to print
to file.


Using KDE, I tried its internal viewer and kpdf. Then xpdf, kpdftools 
and others, but none of them, AFAICT, could zoom.
I tried acroread7: it seems to have the knobs to do what I want, but 
they do not seem to work...


Which viewer do you suggest?



 bye  Thanks
av.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread Andrea Venturoli

Peter A. Giessel wrote:


A crude hack would be to use gs to convert it to a high resolution image
file, use gimp or something like that to split it into two image files,
then use gs to put them back together.  Again, crude hack and resolution
would be lost, but it may work for you.


I did that in the past, but I wasn't too happy with the result: as you 
said, I lost a lot in term of resolution.


 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread Chuck Swiger

On Mar 23, 2007, at 7:08 AM, Andrea Venturoli wrote:

Acrobat, maybe?
/usr/ports/print/acrobatviewer


Hm, when I try and start it I get:

%AcrobatViewer
expr: illegal option -- r
usage: expr [-e] expression


Does doing a:


Please advise all your users intended to use Acrobat Viewer to create
~/AcrobatFonts directory, which is neccessary for Acrobat Viewer  
to normally

save its configuration data.


...help?  Or maybe env EXPR_COMPAT=yes /usr/local/bin/ 
AcrobatViewer...?


Alternatively, if you convert the PDF file to PostScript, (GNU)  
enscript ought to have an N-up filter which can deal with A3 -  
A4 conversions and so forth:

/usr/ports/print/enscript-a4


AFAIK enscript starts from text, not from a PostScript page...
Besides, if the N-up filter you say is options -U, it just put more  
pages into one, which is the opposite of what I want to do.


Maybe I didn't get it right. How should I use it?


This is a reasonable question.  :-)

At one point, Adobe's enscript utility not only dealt with ASCII  
text, it could do some manipulations of existing PostScript docs, and  
the psnup utility would not only do 1-2 or 1-4 layouts, it could  
extract pages back (ie, 2-1 and so forth).  It also handled page  
size conversions, such as A3-A4.  However, I recall doing a lot of  
this PostScript manipulation on a NeXT which had native Display  
PostScript imaging, and it might be the case that Adobe's PostScript  
manipulation tools were more capable on that platform then they would  
be elsewhere.


Also note that what is in ports is the GNU reimplementation of  
Adobe's enscript, and it may or may not be as capable


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread NetOpsCenter

David Kelly wrote:


On Fri, Mar 23, 2007 at 02:28:43PM +0100, Andrea Venturoli wrote:
 


Don Hinton wrote:
   


Try PDFjam:

/usr/ports/print/pdfjam

hth...
 

Thanks, but this doesn't seem to do what I need. It can put multiple 
pages on one, but cannot split them back.
   



Tuning in late has anyone suggested *printing* the PDF to PDF using a
PDF viewer? Print only the ranges of pages you are interested in. At
worst print to PS file and then convert PS to PDF.

I do this fairly often in Preview on MacOS X.

 


Aloha

I have printed a single page of instructions from a PDF by copying and 
pasting from the PDF, the specific page,  to AbiWord then printing it out.


You can try that.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread Andrew Bogecho
 Hello.
 I've got a PDF document with two side-by-side pages in A3 format.
 Is there a way I can get the two single A4 pages, either as subsequent
 pages of a new document or as different new documents?

 Anything in the port tree?


 bye  Thanks av. ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


Hi,

Have you had a look at:

Port:   pdftk-1.12_1
Path:   /usr/ports/print/pdftk
Info:   A simple tool for doing everyday things with PDF documents
Maint:  [EMAIL PROTECTED]
B-deps: gcc-4.1.3_20070312 gettext-0.16.1 gmake-3.81_1 libiconv-1.9.2_2
R-deps: gcc-4.1.3_20070312 libiconv-1.9.2_2
WWW:http://www.accesspdf.com/pdftk/

I have heard good things about this app.

Hope that helps.

A.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-23 Thread Warren Block

On Fri, 23 Mar 2007, Andrea Venturoli wrote:

The problem is not that I want to split a document into single pages, but 
that I want to split a page in two.

Someone printed two A4 n-up on an A3; I want the two A4 separated again.


Looks like the pstops utility from /usr/ports/print/psutils-a4 might 
work.  Unfortunately, you don't have two A4 pages, just one A3.  So 
you'll have to figure out the parameters to get it to read first the 
left and then the right half as individual pages.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-22 Thread Chuck Swiger

On Mar 22, 2007, at 2:52 PM, Andrea Venturoli wrote:

I've got a PDF document with two side-by-side pages in A3 format.
Is there a way I can get the two single A4 pages, either as  
subsequent pages of a new document or as different new documents?


Anything in the port tree?


Acrobat, maybe?

/usr/ports/print/acrobatviewer

Alternatively, if you convert the PDF file to PostScript, (GNU)  
enscript ought to have an N-up filter which can deal with A3 - A4  
conversions and so forth:


/usr/ports/print/enscript-a4

--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split a PDF page

2007-03-22 Thread Don Hinton
On Thursday 22 March 2007 16:52, Andrea Venturoli wrote:
 Hello.
 I've got a PDF document with two side-by-side pages in A3 format.
 Is there a way I can get the two single A4 pages, either as subsequent
 pages of a new document or as different new documents?

 Anything in the port tree?

Try PDFjam:

/usr/ports/print/pdfjam

hth...
don

   bye  Thanks
   av.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com
Institute for Software Integrated Systems (ISIS), Vanderbilt University
tel: 615.480.5667 or 615.870.9728


pgpf75owzRqld.pgp
Description: PGP signature