Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Printing to PDF using VBA

I am attemptiong to print to PDF as I am running through a alrge macr
set. My problem is getting the print to complete "without" having t
intervene and press save on the pop-up for printing.

Does anyone have any advice?

Thanks,
DM

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Printing to PDF using VBA

Hi,
Virtual Port Monitor will redirect printer output
to a file by intercepting the data at the port level.
The file is named automatically according to the title
as viewed in the printer queue, or with a time stamp,
along with the options of including the username, computername,
title, or portname, in the resulting filename.

Our post-print application feature can be used to launch
Ghostscript to make the PDF. Ghostscript is the program
used by some "free" PDF writers using the
"prompt for filename ad" technique, except they hide
the modified 10 Mb Ghostscript distribution in a private
subdirectory to cloak the fact that they are using it to do
all the work of actually making the PDF.

I would like to add that the unregistered version of our
software displays a registration reminder, but once
registered, it goes away.

You can read more at http://www.alphatronics.com/AVPMon.html
where you can freely download the installer.

You can download Ghostscript from http://www.ghostscript.com
Ghostscript is free to use.

Greg

carlsondmc wrote in message ...
I am attemptiong to print to PDF as I am running through a alrge macro
set. My problem is getting the print to complete "without" having to
intervene and press save on the pop-up for printing.

Does anyone have any advice?

Thanks,
DMC


---
Message posted from http://www.ExcelForum.com/

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Printing to PDF using VBA

Do you have Acrobat distiller?

I had done this on a large printing macro a few months back. Usin
distiller, I printed each piece of the printjob 'to-file' with a .p
extension. As each piece printed, the code added a line of text to
script file (the path of the .ps files). I then called the distille
program to process the script, distilling each .ps file listed.

ActiveSheet.PrintOut , PrintToFile:=True, PrToFileName:="filename"
".ps"
That was how each .ps file was created. This gets rid of the prompt fo
where to save the file. In that code, the "filename" had to be the ful
path.

There's a lot more code involved in finally printing to PDF. Let m
know if this route is the one you'd like to take. I'll give you as muc
info as you need.

- Gitcyphe

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 printing problem--printing 1 document on 2 pages Bons Excel Discussion (Misc queries) 0 December 24th 09 04:15 PM
Excel Printing --Borders are not printing on the same page as data Stup88 Excel Discussion (Misc queries) 1 August 7th 07 09:34 AM
Printing a heading on each new page when printing Brian Excel Discussion (Misc queries) 3 November 15th 06 05:22 PM
Enable Double sided printing contiuously when printing multiple s. Lee Excel Discussion (Misc queries) 1 November 27th 04 01:58 AM
Printing? Worksheets not printing the same on multiple pc's! 43fan Excel Programming 2 April 29th 04 02:34 PM


All times are GMT +1. The time now is 11:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"