Download software, shareware, freeware, vb utilities, vb programming, free vb projects, vb source code, free ocx controls, visual basic, vbasic, vb ActiveX components, vb component, vb ActiveX controls, resize vb forms, vb resizer control, vb form resizer, resize vb applications, resolution-indepepndent vb applications, vb print control, PDF print control, PDF printer control, PDF printing control, PDF print component vb.net, PDF printer component c#.net, PDF printing component asp.net, raw data print component, raw data printing component, visual basic activex control for printing, file splitter, COM, COM+, .NET, Framework, MTS, sql, recordset, record, query, vb6 print form, vb5, vb4, vb.net, visual basic 6, reports, reporting tools, printing report, format text to print to printer, paper size, paper orientation, resize form, form resizer, resize database grid, resize grid, resize DBGrid, resize Data Grid, resize MSFlexGrid, resize MSHFlexGrid, resize DataBound Grid, resize DataList, ADO, DAO, resize SSTab, resize Tab Control, resize Sheridan controls, resize Sheridan grids, resize Sheridan SSDBGrid, resize Sheridan SSOleDBGrid, TreeView resizer, ListView resizer, button resizer, image resizer, picture resizer, DriveListBox resizer, DirListBox resizer, FileListBox resizer, Data Control resizer, ListBox resizer, List resizer, ComboBox resizer, OptionButton resizer, CheckBox resizer, Frame resizer, TextBox resizer, Label resizer, rich textbox resizer, RTF control resizer, VScrollBar resizer, HScrollBar resizer, OLE resizer, ADODC resizer, ADODB, OLEDB, ODBC, MS Access form resizer, SQL server, stored procedures, HTML, ASP, vbscript, FileSystemObject, delphi, VC++, C#, dll, ocx, winsock, wininet, inet, RTF resizer, richtext resizer, richedit, shape resizer, calendar control resizer, chart resizer, MSChart resizer, common dialog, array, collection, string, variable, zip, registry, save, load, open, read, write, store, create, resource files, write, file system object, fso, visual basic free code, visual basic 6 download, Windows, Word, Excel, Power Point, MS Office, 32-bit disk utils, database development, visual basic ocx, database access, relational database, database management, activex control, visual basic tutorial, free ocx controls for VB4-VB5-VB6, activex download, ocx download, ocx files
Intelligent Programming Tools With Zero Coding!

Smart Controls & Components For VB, VC++, Delphi, VB.NET, C#.NET, VC++.NET, ASP.NET, ASP & HTML
Microsoft Certified Professional download freeware software shareware vb applications vb programs free PDF printing components and controls for VB C ASP ASP.NET C# HTML Delphi free vb projects vb source code free ocx controls and componets for visual basic vbasic vb ActiveX components vb component vb ActiveX controls resize vb forms vb resizer control vb form resizer resize vb applications resolution-indepepndent vb applications vb print control PDF print control PDF printer control PDF printing control PDF print component for vb.net PDF printer component c#.net PDF printing component asp.net raw data print component raw data printing component raw data printer control visual basic activex control for printing COM COM+ .NET Framework vb6 print form vb5 vb4 vb.net visual basic 6 print reports reporting tools printing report format text to print to printer paper size paper orientation resize form form resizer resize database grid resize grid resize DBGrid resize DataGrid resize MSFlexGrid resize MSHFlexGrid resize DataBound Grid resize DataList resize SSTab resize Tab Control resize Sheridan controls resize Sheridan grids resize Sheridan SSDBGrid resize Sheridan SSOleDBGrid TreeView resizer ListView resizer button resizer image resizer picture resizer DriveListBox resizer DirListBox resizer FileListBox resizer Data Control resizer ListBox resizer List resizing ComboBox resizing OptionButton resizing CheckBox resizing Frame resizer TextBox resizer Label resizer rich textbox resizer RTF control resizer VScrollBar resizer HScrollBar resizer OLE resizer ADODC resizer MS Access form resizer HTML ASP vbscript delphi VC++ C# dll ocx inet RTF resizer richtext resizer richedit shape resizer calendar control resizer chart resizer MSChart resizer zip registry save load open read write to files writing to file visual basic free code visual basic 6 download Windows printing control Print from Word Excel Power Point MS Office visual basic ocx activex control visual basic tutorial free ocx controls for VB4-VB5-VB6 activex download ocx download ocx files
Translate Website
Products
 Active Resizer .NET Control
 ActiveResize Control Pro
 ActiveResize Control
 ActiveResize Lite (Free)
 Advanced PDF Printer
 RAW Data Printer
 ASP Printer COM
 Smart Print Control
 TurboSplit
 Print Preview
 Advanced Printer Controller
 Web Server Controller
 Windows Authenticate COM
Free VB Code
 VB Projects
 Windows API
Site Content
 Home
 Products
 Free Downloads
 Order & Prices
 Services
 Contact & Support
 Resellers
 Testimonials
 FAQ
 Site Map

For Windows 95, 98, Me, NT, 2000, XP, Win95, Win98, WinMe, WinNT, Win2000, WinXP, Windows Vista, Windows 7, WIndows 8, Windows 8.1, Windows 10. Keywords: vb activex components, vb activex controls, ocx controls, activex free download, vb form resize, form resizer, file splitter, print control, visual basic activex control for printing, vb6 print form, format text to print to printer, visual basic text files, paper size in vb, vb print paper type,  visual basic download, free software, shareware, visual basic code, freeware software, shareware, serial port, parallel port, LPT, COM1, COM2, comm ports, client-server, VB chat, communications, voice, telephony, security, encryption, system drivers, image viewer, browser, animation, 3D Viewer, Desktop tools, writing text files, administration program, programs, activex tutorial, free ocx, free activex, download activex controls, email component, ftp components, IIS, PWS, web server, design, images, graphics, word processor, Plugin, Player, sound utilities, video, play mpeg with vb, document management, administration, share, encrypt, executable, lock software, encode, decode, XOR, folder, directory, help authoring, text processing, mouse, registry, visual basic help, LAN network, API, multimedia, mpeg, mpg, avi, wav, mp3, jpg, jpeg, context menu, Hierarchical FlexGrid, Tabbed Dialog, object oriented, application, properties, methods, events, designtime, runtime, library, msie, msghook, dictionary object, RemoteData, DataRepeater, Dataset, example, vb sample, binary text, data arrays, vbs, download url, remote, get, how to play mpeg with vb, visual basic comma delimited text files, free software downloads, asp tutorial, visual basic source code, vb programming, asp scripts, asp help, asp programming, asp code, software development, activex controls free, visual basic ocx files, activex freeware


Google
Web vbgold.com




 

 Installing & Running ASP Printer COM In The Windows COM+ Component Services


This article explains how to install and run ASP Printer COM component in COM+ Component Services in Windows 2000, Windows XP and Windows 2003. It also applies to Advanced PDF Printer component and Raw Data Printer component.
You will need to follow this procedure if you are using the component from ASP pages or ASP.NET pages and the component does not print. This is not required if you are running the component from a compiled EXE application (e.g. VB application, C++ application, .NET application, etc.).


Problem & Cause: When an ActiveX COM component (DLL) is used from within a ASP page, the created object will run under the SYSTEM identity (account) and therefore it has the permissions of that identity. By default, there are no printers installed under the SYSTEM account. Because of that, ASP Printer COM will be unable to see any of the printers installed on the system.

Resolution: By installing the component in the Windows COM+ Component Services, we can specify the Windows identity (account) under which the component will run. Thus, we can choose an account that has enough permissions to access and print to any one of the installed printers (the printers have to be installed and accessible from within that account).

To install ASP Printer COM in the Windows Component Services, follow the steps below:

Note: Before you start the following procedure, it is strongly recommended that you restart IIS (Internet Information Services) in order to release the object and unload ASPPrinter.dll from IIS in case you were just using it from an ASP Page.

1. Open the Windows Control Panel, select Administrative Tools and then select Component Services. The Component Services Console (below) will open.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


2. Double-click on the Component Services node to expand it. Double-click Computers -> My Computer -> COM+ Applications. Right-click on COM+ Applications and select New -> Application to create a new COM+ application (package).

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


3. A wizard will start, click Next.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


4. On the next screen, click the Create an empty package button.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


5. In the application name field, type ASPPrinter and leave the application type as is (Server application). Click Next.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


6. The next screen will allow us to specify under which Windows identity (account) we need the application to run. Select the This user option box and type 'Administrator' in the user field and supply the administrator account password. You can specify another account that has enough permissions to access, query and print to the installed printers. It is recommended however to use the local system administrator account to avoid any lack of permissions. Click Next.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


7. The wizard will now complete. Click Finish.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


8. In the left pane, you will now notice that a new application (package) with the name 'ASPPrinter' has been created.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


9. Now we have to add our component to the new package. Double-click the ASPPrinter package to expand it. Right-click on the Components node and choose New -> Component.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


10. The component installation wizard will start. Click Next.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


11. On the next screen, click the Install new component(s) button.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


12. Now browse and locate the component (ASPPrinter.dll), select it and click Open.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


14. A dialog will be displayed, showing the component properties. Click Next.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


15. The wizard will now end. Click Finish.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages


16. Now you will notice that the component was added to our package. The component will now run under the 'Administrator' account (in our ASP pages) and will have all the permissions of that account. It will be able to access and print to any local or network printers that are installed under the local administrator account.

Installing & Running ASP Printer COM In The Windows COM+ Component Services - running the component form ASP pages