It is not dependant on who is logged in and the P.C. 's were all imaged with identical software at the weekend. To check that the installation worked, look in start/settings/printers. Red Flag This Post Please let us know here why this post is inappropriate. Login. news
Register now while it's still free! This is working for the majority of our customers, but sometimes still the printer error shows up. Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free. But googling around showed that ' on ' is localized, so I'm not sure if that's going to work on non-english Windows versions. see this
The envelope and plain paper macros work without a problem, the letterhead macro get a visual basic run time error '5216"; there is a printer error. Solved Word 2010 ActivePrinter property case sensitive Posted on 2011-02-11 MS Word MS Development-Other 1 Verified Solution 1 Comment 2,846 Views Last Modified: 2012-05-11 Hi, We use VBA macro's in Word Guest, Sep 20, 2004, in forum: Microsoft Word Document Management Replies: 0 Views: 415 Guest Sep 20, 2004 Clicking on the Save button in MSWord I get a Visual Basic error Find the ABXPDRwriter.exe installer program.
Word Heretic « Previous Thread | Next Thread » Thread Tools Show Printable Version Download PDF Version Email this Page Display Modes Linear Mode Switch to Hybrid Mode Switch to The values of macro get printed while printing document in customized transaction.While initial printing of document, document is printed properly. Stay logged in Welcome to PC Review! When you run the debug on the visual basic script the active printer is highlighted.
Composing a printername like this: lPrintSetup.Printer := PRINTER_INFO_2.pPrinterName + ' on ' + PRINTER_INFO_2.pPortname. When you >run the debug on the visual basic script the active printer is highlighted. >The line reads ActivePrinter = "HP LaserJet 4200 PCL 6". >The macros work fine for another It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. You probably thought you installed it but really you did not.
When .Execute doesn't crash, you've got the right one. PC Review Home Newsgroups > Microsoft Word > Microsoft Word Document Management > Home Home Quick Links Search Forums Recent Posts Forums Forums Quick Links Search Forums Recent Posts Articles Articles The macros are designed to print envelopes, letterhead or plain paper. Seems to work always!
Close this window and log in. check my site AI creates new form of encryption, Samsung suffers after Note 7 recall Spiceworks Originals A daily dose of today's top tech news, in brief. © Copyright 2006-2016 Spiceworks Inc. Close Box Join Tek-Tips Today! Go to Solution 1 Comment LVL 76 Overall: Level 76 MS Word 65 MS Development-Other 10 Message Active 1 day ago Accepted Solution by:GrahamSkan2011-02-12 You could look for the printer
By joining you are opting in to receive e-mail. The word file of the document contains macro for inspection lot no., batch no., document no., version. Advertisements Latest Threads Apple's price hike Taffycat posted Oct 30, 2016 at 11:58 AM Welcome to Wintertime floppybootstomp posted Oct 30, 2016 at 10:13 AM WCG Stats Sunday 30 October 2016 So now I compose the printername as _PRINTER_INFO_2.pPrinterName + ' on ' +
Join them; it only takes a minute: Sign up Setting correct printer in MS Word through automation up vote 0 down vote favorite I have the following automation code: lPrintSetup := What I have tried so far (on Windows XP SP3, Word 2007): Just take the _PRINTER_INFO_2.pPrinterName. Here's Why Members Love Tek-Tips Forums: Talk To Other Members Notification Of Responses To Questions Favorite Forums One Click Access Keyword Search Of All Posts, And More... Hello and welcome to PC Review.
ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: http://0.0.0.1/ Connection to 0.0.0.1 failed. Steve Hudson - Word Heretic steve from wordheretic.com (Email replies require payment) Without prejudice "[emailprotected]" reckoned: Recently installed Office 2003, printer is a HP LaserJet 4200TN. I have printer information of all printers in a _PRINTER_INFO_2 record which I obtained by a EnumPrinters API-call.
Suggested Solutions Title # Comments Views Activity How and where to get Business Intelligence Development Studio? 2 54 75d dialer.exe 4 49 69d Add a row to a Word Table 23 Sign Up Now! This is how video conferencing should work! Edit: does not work always :( Another solution I found on the web: When reading the printername from Word it has the form of "Printername on Ne01:", where Ne01 is ranged
Is it dangerous to use default router admin passwords if only trusted users are allowed on the network? To start viewing messages, select the forum that you want to visit from the selection below. At the end of the export you get an error message as stated above. The >envelope and plain paper macros work without a problem, the letterhead macro >get a visual basic run time error '5216"; there is a printer error.
The system returned: (22) Invalid argument The remote host or network may be down. Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Microsoft: Office Forum Sign up now! Application.ActivePrinter = "\\server\printer" This code has worked since WordXP however in Word 2010 the server part became case sensitive.
Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. The macros are designed to print envelopes, letterhead or plain paper. This code gives the default printer name Printer.Printers[Printer.PrinterIndex] share|improve this answer answered Aug 9 '09 at 15:38 zz1433 2,7491833 add a comment| up vote 0 down vote Some minutes ago I The line reads ActivePrinter = "HP LaserJet 4200 PCL 6".
asked 7 years ago viewed 2773 times active 7 years ago Linked 0 Setting Word's printer through Office automation Related 1171How do you display code snippets in MS Word preserving format We're a friendly computing community, bustling with knowledgeable members to help solve your tech questions. Member Login Remember Me Forgot your password?