LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Could anybody tell me what does "Ne01" mean?

I must have misread. When the OP stated that it was Ne00 on other computers
I assumed he meant they actually had "Adobe on Ne00". He must be talking
about the other printers that are installed.

Obviously, I know little about printers. I just assumed he wanted to
programmatically capture and set the active printer to Adobe, not actually
set the Adobe "printer" name to something different.

Thanks Nick!


"NickHK" wrote:

I'm no expert on printers, but you get "Adobe PDF on My Documents\*.pdf",
because that is the virtual port that you have set, so Adobe defaults to
that location when it "prints" its output.
As such you cannot have "Adobe PDF on Ne01" because that is real port with a
supposedly real printer connected. As Adobe PDF does not output real printer
codes this would not be possible.

NickHK

"salut" wrote in message
...
Thanks a lot! That's very helpful!
But the strange thing is. When I was trying to print out the information.

I
just get
"Adobe PDF on My Documents\*.pdf" instead of
"Adobe PDF on Ne01".

Could you tell me how can I get "Adobe PDF on Ne01". Thanks a lot!


"JMB" wrote:

I think Adobe PDF is the local name for the printer and Ne01 describes

the
network name for the same resource.

Tom Ogilvy posted some resources to check out.


http://www.microsoft.com/office/comm...xp=&sloc=en-us


If you can return a list (or array) of all of the printers, I would

think
you could loop through the listing the identify which one has "Adobe

PDF" in
the name (check VBA InStr function). I only have one printer so I can't
fully test the macro's suggested, but the one that uses WScript.Network
(which you should have seen in Tom's old posts) seemed to work okay.

At the very worst, you could have the user change the activeprinter

using
Application.Dialogs(xlDialogPrinterSetup).Show


"salut" wrote:

When I was trying to print to PDF file, I need to set the printer as

"Adobe
PDF on Ne01", could anybody tell me what this "Ne01" means? And how

can I get
that kind of information before I use them in the code? Because on

some other
computers, it is "Ne00" instead of "Ne01".

Thanks a lot!




 
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 - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ... Maria J-son[_2_] Excel Programming 2 March 5th 06 12:20 PM


All times are GMT +1. The time now is 07:06 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"