Print from windows to lots of different printers - samba

My company has lots of different (network) printers. I want to simplify printing.
My plan is following:
*Install a linux (BSD) based CUPS/Samba server (It will handle drivers)
*Print from windows using a simple uniform driver (Microsoft PS class driver ?)
Has anybody some good instructions to do that?

Related

TreeView Control isn't still available with MSCOMCTL.OCX registered

At this moment I'm working on a MS Access database, and I have difficulties with the library MSCOMCTL.OCX.
The problem is the following: given Windows 7 x64, Microsoft Office 2010 x64 and MSCOMCTL.OCX v6.1.98.34 (which was registered with the help of regsvr32 in the folder SysWOW64), I can't use the TreeView (MsComCtlLib.TreeCtrl.2 class) present in some forms of the database. Every time the code approaches any TreeView's (read, Node's) property, I receive the following message:
"Object doesn't support this property or method" (Error 438)
while in Windows 7 x32 the database works fine.
Trying to understand what's wrong, I discovered that the library Microsoft Windows Common Controls 6.0 (SP6) exists in the list seen in the 'References...' dialog and is checked, but I don't see Microsoft TreeView Control 6.0 in the list of available ActiveX Objects when I'm in the Constructor mode.
Following some solutions found in the Internet, I executed regedit.exe and saw that there are two "folders" in the path HKEY_CLASSES_ROOT\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}, "2.0" and "2.1". Besides, the path to the file MSCOMCTL.OCX is in "2.1", while "2.0" is not also empty - it contains PrimaryInteropAssemblyName property for example, which isn't present in "2.1".
So, what should I do to make TreeViews in my database work? As I've mentioned before, I saw some solutions, but I'm afraid to use them because the computer, where the database is in, is not mine and it's undesirable to make the changes, which can affect security of the system.
The version of MSCOMCTL that is installed by default is not 64-bit compatible. You're unfortunately out of luck. No amount of modifying the registry is going to make a 32-bit only control work in 64-bit office.
However, MS apparently includes a 64-bit compatible version of MSCOMCTL with Office 365 ProPlus installations (source). You can consider buying that, or obtaining it through other means.

Deploying windows 8 app on several devices without app store

Is it possible to push windows 8 app directly to some not development-devices (without direct access to device)? For example, if one wants to install demo version of our app during the exhibition on devices of someone who intersted on our product.
First of all, the application deployment bypassing the Windows Store is called sideloading.
One basically has two options to perform sideloading:
Windows 8 Pro and Windows Server 8, if they are joined to a domain, are directly ready for side-loading.
Windows 8 and Windows 8 RT, as well as the above-mentioned systems without domain, require the activation of a special Sideloading key, which can be purchased by enterprises only and usually available in 100 packs (priced at $3000 per pack, $30 per licence).
The installation of the app can be done either by using the application image and DISM or in runtime by add-appxpackage PowerShell CmdLet.
Here is a good explanation of the whole process (in German).
No, it would not be practical at an exhibition to provide direct loading of your application, bypassing the Windows Store. The Windows Store is there to provide a safe environment in which to download certified applications.
It would be a far better experience if users could download from the Windows Store a trial version directly -- maybe you could provide free a wifi/network connection, and a bit.ly link or QR code of some sort to quickly get to the download for your application. :)
While it is possible to do side-loading (walkthrough) in some circumstances, it was not intended to be used in this case. It's intended for Enterprise deployment and the walkthrough article has lots of details about the specific options and the costs associated if the destination machines/Windows isn't running Windows 8+ Enterprise edition.
One other option is that you can also deploy an application for testing purposes to another developer machine (which requires a Windows 8 developer license). It would be unusual for anyone but a Windows 8 application developer to have this activated (as you know, they expire after 30 days). This may be a violation of the licensing agreement though as it is expected that this is for development purposes only. It also involves powershell, so it would be a potentially awkward installation experience at an exhibition.
It is possible dude...
Just developer unlock ur phone and deploy apps directly from PC.

If I make a sikuli script in Windows, will the same script work in Linux?

I am currently looking for a tool to test a a website and Sikuli seems perfect. However, my company uses both Windows and Linux, and I'd like our scripts to be transferable.
Will it work or are Windows scripts for Windows and Linux scripts for Linux?
It seems like Sikuli can be run from the command line, perhaps I can run the same script on both the Linux and Windows Computers?
There is no technical reason why a Sikuli script won't run under both operating systems (jython has the same syntax on both platforms). The biggest technical issue faced is that the screenshots may not match between Windows and Linux.
This thread discusses how to setup two images pools, one for each OS.
Creating Sikuli scipts directly in java might ease the cross platform issues. But you will still have the images looking slightly different issue. File directories are handled well accros OS in java though.
there are two main points to be concerned of:
Images: Even if the application looks the same in both the systems the ways to launch it are different. In the worst case one needs two complete sets of images.
Paths: In Windows and Linux paths are different. Different slashes, different lengths of the whole paths and components, different set of allowed symbols in the naming. Windows paths are not case sensitive by default.
There are some points to use the same script still with set of OS specific libraries.
- The more common logic in applications the more reusable code.
- The policy "changing something are must for both platforms". is easy to follow.
So the answer for your question is:
Specially prepared script will work on both the platforms

Terminology for web app running on hardware

I am trying to investigate how to develop an UI application that will run directly on hardware. This will be very much like when you access the web based application within your router.
I don't really know how what keywords and terminology to use so that i can search tutorials on the net.
Can anybody give me the correct terms? If you have tutorial suggestions, they are welcome as well.
Embedded may be the term you are looking for.
Appliance is another term along with Yagoo's embedded. Typically hardware appliances run full stacks including LAMP.
Many appliances are based off of stripped down Linux or FreeBSD kernels running Apache or a lightweight httpd.
There are actually specific Linux distributions that are tuned for this. Google "linux appliance distribution" and "small linux distribution"
Be advised, if it is commercial, Linux and the GNU stack may present an issue you must deal with, depending on how it is modified. FreeBSD does not have this license limitation.

creating an online windows 2003 emulator - best program to use?

i would like to produce a online windows 2003 emulator
so anyone can use windows 2003 through a browser instead of
installing the software - something similar to temulator www.temulator.com/- and zen internet emulator va.zensupport.co.uk - i have basic html & css skills
can it be done using html/css or is it better to use java/flash etc ,i am thinking of just using screenshots and then linking them together , but its very time conusming to do. what is the best programming language and BEST approach??
thank you
Neil
Which aspect of Windows do you want to simulate. Do you want to create an on-line "desktop" that looks like Windows 2003? In that case, check out whether you can customize one of the already existing Web Desktop projects like eyeOS. See the Wikipedia article on Web desktops for a list of projects.
It's going to take way more than basic HTML skills to work on a On-line desktop, so you really want to look at existing solutions unless you want to learn advanced Javascript, CSS and server-side programming from scratch.
To actually run Windows 2003 applications through an on-line interface is possible using the Remote Desktop Protocol and an appropriately configured Windows server (See the Link in Carlos's answer for a way to start a RDP session from a web browser window). However, this can't be done for free and is not unrestricted - you need to purchase the Windows OS, and user licenses for people to log on to the system.
Opening such a Terminal Server to the public is, as far as I know, forbidden my Windows 2003's license terms, extremely dangerous because of the risk of people infecting your system, and overall not worth pursuing IMO. You could do something like this with Linux because there are no license terms, but it's not a trivial matter and it's not going to run most Windows 2003 software.
You could use this:
Embedding the Remote Desktop ActiveX Control in a Web Page
For a Win2003-like GUI online: XP is close enough to Win2003.
Actual OS online: Convert VirtualBox to Java.