Tuesday, August 30, 2016
Friday, August 26, 2016
The package comes with the device, power chord, USB cable, driver CD-ROM, demo cartridges which can print 12-16 pages, a manual and warranty card. The warranty is one year for device. The original cartridges come with six months warranty.
Price-wise the Black cartridge costs INR 750/- which is bit costly and according to reviews it can print about 200 pages, which means printing a page costs more than INR 2/- which doesn't save you much money, but it should save you money on printing color prints and photos. The color cartridge costs about INR1100/-.
On windows the provided CD-ROM gives drivers and HP's a-la control center which lets you keep track of print jobs.
Overall for INR 2900/- its' a cheap printer with about average running costs and a good deal.
Tuesday, August 9, 2016
Friday, August 5, 2016
Starting KDE from Command Line by startx
By Zhiqiang Ma On Nov 29, 2012
I don't use xdm, gdm or kdm… I prefer my Linux booting to init 3. I like logging in to the command-prompt and starting X manually with startx. In my Fedora Linux box, I always get to gnome even both gnome and KDE are installed. Actually the startx script is already written for most of the modern desktop environment. What we need to do is open the "trigger".
The startx script in Fedora will read /etc/sysconfig/desktop for the "DESKTOP" variable (through /etc/X11/xinit/Xclients) and starts the desktop environment depending on it. While the default value for "DESKTOP" is set to "GNOME", we will get to gnome if we don't set the variable. When we want to startx to KDE we just need to add one line to /etc/sysconfig/desktop:
If there is already one line that defines "DESKTOP", just change the value of it.
Then we will start KDE when we run startx from console.
Free additional gift
The "DISPLAYMANAGER" in the /etc/sysconfig/desktop file is used to specify the default display manager. To make KDM the default display, just add this line:
to enable automatic logons using the following GUI menu selections:
Control Center > System Administration > Login Manager > Administrator Mode > Convenience Tab
Edit kdmrc. kdmrc can be found as
if slocate is installed and database is up to date.
In Gentoo and KDE 3.5 it is in
The following needs to be added if there is no sign of autologin variables. If there are something related to autologin already in place, edit those
AutoLoginAgain logs user in again after when for whatever reason user is logged out but X is not restarted. Everything else should be easy to understand.
Then into calc++ dir:
soapcpp2 -i calc.h
g++ -o calcclient++ calcclient.cpp ../../stdsoap2.cpp soapC.cpp soapcalcProxy.cpp
g++ -o calcserver++ calcserver.cpp ../../stdsoap2.cpp soapC.cpp soapcalcService.cpp
This compiles calc client app and calc server app.
execute calcserver++ and after that
execute calcclient as
./calcclient++ add 3 3
result = 6
Note: There's some delay observed.
with modifications to calc.h; calcclient.cpp and redoing all above steps from soapcpp2 -i calc.h;
and running calcserver as #./calcserver++ 80 in one terminal and calcclient as $./calcclient++ add 5 6
gives correct output. So gsoap is working in Linux for both client and server.
Now to Windows
*** using available binaries in C:\gsoap-2.7\gsoap\bin folder.
Added soapcpp2 binary's path to PATH variable.
Next using Visual Studio 2005 Command prompt;
got to calc++ directory:
soapcpp2 -i calc.h
This will generate the wsdl and stubs
Next compile the client as:
C:\gsoap-2.7\gsoap\samples\calc++>cl -o calcclient++ calcclient.cpp stdsoa
p2.cpp soapC.cpp soapcalcProxy.cpp
C:\gsoap-2.7\gsoap\samples\calc++>cl -o calcserver++ calcserver.cpp stdsoap2.cpp
Next open another Visual Studio 2005 Command prompt;
In it run the calcserver as:
And in previous window run calcclient as:
calcclient++ add 6 5
This will give output as