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

Hi Everyone
I'm using XL03 and Primo PDF driver to print.
Sub PrintPDF()
ActiveWorkbook.Save
Application.ActivePrinter = "PrimoPDF on Ne00:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"PrimoPDF on Ne00:", Collate:=True
Application.WindowState = xlMinimized
Application.WindowState = xlNormal
End Sub
Is it possible to send the information to change the name of the file, presently
it use the same name as my XL file.
Also I need to press a Print (OK) button on a pop-up Primo menu, if I could
override this setting, it would be great.
Thank you for your help
Regards
Cimjet

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Print to PDF format

Cimjet brought next idea :
Hi Everyone
I'm using XL03 and Primo PDF driver to print.
Sub PrintPDF()
ActiveWorkbook.Save
Application.ActivePrinter = "PrimoPDF on Ne00:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"PrimoPDF on Ne00:", Collate:=True
Application.WindowState = xlMinimized
Application.WindowState = xlNormal
End Sub
Is it possible to send the information to change the name of the file,
presently it use the same name as my XL file.
Also I need to press a Print (OK) button on a pop-up Primo menu, if I could
override this setting, it would be great.
Thank you for your help
Regards
Cimjet


Does your PrimoPDF driver support VBA? IOW, is there a toolbar menu or
VBA project for this? If so, perhaps the entire process can be
automated. (May require a SDK be avaiable) Otherwise, what's wrong with
allowing users to use its normal dialog for for entering a filename and
clicking the OK button?

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 157
Default Print to PDF format

Hi Garry
PrimoPDF is a frreware on the Internet and I don't think it support VBA.
I'm just trying to automate the process.
As for using the Primo dialog menu, it's in the background behind Excel, you
need to minimise excel to get to it.
Regards
Cimjet
"GS" wrote in message ...
Cimjet brought next idea :
Hi Everyone
I'm using XL03 and Primo PDF driver to print.
Sub PrintPDF()
ActiveWorkbook.Save
Application.ActivePrinter = "PrimoPDF on Ne00:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"PrimoPDF on Ne00:", Collate:=True
Application.WindowState = xlMinimized
Application.WindowState = xlNormal
End Sub
Is it possible to send the information to change the name of the file,
presently it use the same name as my XL file.
Also I need to press a Print (OK) button on a pop-up Primo menu, if I could
override this setting, it would be great.
Thank you for your help
Regards
Cimjet


Does your PrimoPDF driver support VBA? IOW, is there a toolbar menu or VBA
project for this? If so, perhaps the entire process can be automated. (May
require a SDK be avaiable) Otherwise, what's wrong with allowing users to use
its normal dialog for for entering a filename and clicking the OK button?

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Print to PDF format

Cimjet was thinking very hard :
Hi Garry
PrimoPDF is a frreware on the Internet and I don't think it support VBA.
I'm just trying to automate the process.
As for using the Primo dialog menu, it's in the background behind Excel, you
need to minimise excel to get to it.
Regards
Cimjet
"GS" wrote in message ...
Cimjet brought next idea :
Hi Everyone
I'm using XL03 and Primo PDF driver to print.
Sub PrintPDF()
ActiveWorkbook.Save
Application.ActivePrinter = "PrimoPDF on Ne00:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"PrimoPDF on Ne00:", Collate:=True
Application.WindowState = xlMinimized
Application.WindowState = xlNormal
End Sub
Is it possible to send the information to change the name of the file,
presently it use the same name as my XL file.
Also I need to press a Print (OK) button on a pop-up Primo menu, if I
could override this setting, it would be great.
Thank you for your help
Regards
Cimjet


Does your PrimoPDF driver support VBA? IOW, is there a toolbar menu or VBA
project for this? If so, perhaps the entire process can be automated. (May
require a SDK be avaiable) Otherwise, what's wrong with allowing users to
use its normal dialog for for entering a filename and clicking the OK
button?

-- Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc



So, then, why not use a freeware PDF addin that runs "in-process" with
Excel? Try DucuDesk.com's freeware version (deskPDF) of their MS Office
addin. Others are CutePDF Writer, DocuCom PDF Driver. These all put
their own menus in MS Office apps and so can be automated via executing
their menus or simply change the printer so the user gets a dialog
within Excel.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 157
Default Print to PDF format

Hi Garry
Thank you very much.
You Guys are great. The knowledge base on these newsgroups is phenomenal.
Have a nice day
Cimjet

"GS" wrote in message ...
Cimjet was thinking very hard :
Hi Garry
PrimoPDF is a frreware on the Internet and I don't think it support VBA.
I'm just trying to automate the process.
As for using the Primo dialog menu, it's in the background behind Excel, you
need to minimise excel to get to it.
Regards
Cimjet
"GS" wrote in message ...
Cimjet brought next idea :
Hi Everyone
I'm using XL03 and Primo PDF driver to print.
Sub PrintPDF()
ActiveWorkbook.Save
Application.ActivePrinter = "PrimoPDF on Ne00:"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
"PrimoPDF on Ne00:", Collate:=True
Application.WindowState = xlMinimized
Application.WindowState = xlNormal
End Sub
Is it possible to send the information to change the name of the file,
presently it use the same name as my XL file.
Also I need to press a Print (OK) button on a pop-up Primo menu, if I could
override this setting, it would be great.
Thank you for your help
Regards
Cimjet

Does your PrimoPDF driver support VBA? IOW, is there a toolbar menu or VBA
project for this? If so, perhaps the entire process can be automated. (May
require a SDK be avaiable) Otherwise, what's wrong with allowing users to
use its normal dialog for for entering a filename and clicking the OK
button?

-- Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc



So, then, why not use a freeware PDF addin that runs "in-process" with Excel?
Try DucuDesk.com's freeware version (deskPDF) of their MS Office addin. Others
are CutePDF Writer, DocuCom PDF Driver. These all put their own menus in MS
Office apps and so can be automated via executing their menus or simply change
the printer so the user gets a dialog within Excel.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc



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
Print format CAM Excel Programming 2 July 9th 08 06:16 AM
how to format the print? [email protected] Excel Programming 3 February 9th 07 12:38 AM
How to format the extension less file to print with Dos's Print Command Badshah Excel Discussion (Misc queries) 0 November 28th 06 12:44 PM
Print Format Eugene[_8_] Excel Programming 0 June 27th 06 08:01 PM
worksheet print format mark kubicki Excel Worksheet Functions 2 September 30th 05 07:41 PM


All times are GMT +1. The time now is 07:12 PM.

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

About Us

"It's about Microsoft Excel"