Hi Alternative approach is to use the free PDFTK utility. This is command line and from memory you give it a command line argument of "CAT".
Regards] Graham -----Original Message----- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Paul H. Tarver Sent: 27 March 2024 21:25 To: ProFox@leafe.com Subject: Splitting PDF Files with Ghostscript Ok, does anyone have some sample VFP code they are willing to share to help me split a PDF file with 50 pages or so into separate PDF files with one page in each file? I've tried to convert several things I've seen on multiple sites with various languages, but I've had no luck converting those to run using the WScript.Shell. Any help would be appreciated! Thanks! Paul H. Tarver Tarver Program Consultants, Inc. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/001b01da80f1$b7b33660$2719a320$@compsys.co.uk ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.