Archive for 1

Linux Printing System

There are 3 Types of Linux Printing System, which are:

1.BSD’s LPD

(Barkley Standard Distribution – Line Printing Demand)

  • In first linux distro
  • Consists of Daemon (lpd)
  • Config files in /etc (princap)
  • spooling directory (/var/spool/lpd)
  • Basic commands (lpr, lprm, lpq)

2.LPRng (Next Generation)

  • Same printcap file format
  • Advance filtering
  • User defined queues (~/.printcap)
  • Allows system V commands (lp , lp stat)

3.CUPS

  • Based on internet printing protocol standard (IPP)
  • IPP makes deployment over WAN easy
  • IPP can be secured using auth and SSL connections
  • Recognizes Postcript Printer Definition (PPD)
  • Extends usage to non-ps printers
  • Allows multitude of filters (backend filters, document conversion filters,traslation filters)

Advantage of CUPS

  • Automatic network configuration
  • LPD and system V interfaces
  • Web based administration interface
  • Easily handles non-postscript docs
  • Intelligent filtering /etc/cups/*.convs
  • Basic C API allows easy integration
  • GNOME & KDE provide tools

You can do the CUP setting either by GUI, terminal or through your web browser by accesing port 631 of your local system (http://localhost:631)

FILTERING

1.Conversion filters- convert postcript to native language of printer
2.I/O filters -transfer data to device
3.Processing filters – transform document data

The following is part of the /etc/printcap file (as the configuration file and it lists all printers in your system):

lp|Generic dot-matrix printer entry:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/lp:\
:af=/var/log/lp-acct:\
:lf=/var/log/lp-errs:\
:pl#66:\
:pw#80:\
:pc#150:\
:mx#0:\
:sh:

lp is the printer device.

sd is the spooling directory.

lf is the log file.

mx is the maximum size of the file which is being printed.

If You haven’t installed your CUPS (but it is installed by default in your computer), You can install it by running the following command in your terminal:

apt-get install cupsys

To send the file to be printed, u just have to run the following command:

lpr (filename)

It doesn’t require to put the printer name if u have set the default printer.

The LPC status can be checked by running the following command:

aya@ayaPC:/var/run$ lpc
lpc> status
lp:
queuing is enabled
printing is enabled
no entries
printer idle
lpc> exit

To display the queue in your printer, all u need to do is just run the following command:

lpq

It will returns no entries if there is no file to be printed.

To cancel or remove a queue process, just run the following commad:

lprm [users] [job#s]

to know the job#, u can check it by running the lpq command.

more infomation in :

http://iosn.telehealth.ph/fossgis/index.php?title=(1.107.3)_Print_files

http://iosn.telehealth.ph/ltot-lpi2/index.php?title=(1.107.2)_Manage_printers_and_print_queues

Advertisement

Leave a Comment

XDMCP

For those of u who wanna try remote login in Linux (I use Ubuntu HH in this case),..U can try to enable XDMCP (XDMCP is the protocol that allows remote login. ) protocol..

In the terminal please type:

sudo vi /etc/gdm/gdm.conf

gdm.conf is a read-only file, so we must login as root πŸ™‚

then edit the XDMCP part of the file

“Enable=true”

then restart the GDM..

sudo /etc/init.d/gdm restart

then it will show u list of remote logins (if there is more than 1 remote logins,..if only one,then u will just see 1 remote login option)

Leave a Comment

My Favourite Drink :)

Blend Green tea + cream + brown sugar

emmmmmmmm,….soooooooo delicious,…..

Leave a Comment

Virtual Appliances

Apa itu?

Virtual appliances itu OS dengan aplikasi tertentu saja yang didistribusikan dalam bentuk virtual harddisk.

Cara pakainya bagaimana?

Tinggal dirun di dalam lingkungan virtual machine.

Manfaatnya apa?

Untuk Pengguna dan sysadmin akan sangat memudahkan, karena tidak perlu lagi melakukan kegiatan rutin instalasi operating system dan semua requisites dari sebuah system yang diinginkan.

Gunanya?

Tergantung dari fungsi2 apa yang dimasukkan dalam virtual appliances tersebut. Misalnya ada virtual appliances untuk menangkal spam dan virus, menjadi router, menjadi nas, menjadi db server dsb.

Harganya?

Ada banyak virtual appliances yang gratis, dan ada juga yang modelnya trial sampai beberapa waktu sebelum bayar, dan ada juga yang membuat virtual appliances sebagai versi demo dari hardware mereka, jadi kita bisa coba semua fungsi2 yang ada di hardwarenya tanpa perlu ada barangnya.Β  Kebanyakan memang virtual appliances yang beredar menggunakan os yang free sebagai basenya.

Leave a Comment

OpenOffice.org 2.4

OpenOffice.org adalah sebuah paket aplikasi perkantoran berkode sumber terbuka (open source) yang dapat diperoleh secara gratis. Paket tersebut termasuk komponen-komponen pengolah kata (OpenOffice.org Writer), lembar kerja (OpenOffice.org Spreadsheet atau OpenOffice Calc), presentasi (OpenOffige.org Impress), ilustrasi vector (OpenOffice.org Draw), dan gudang data (OpenOffice.org Base). OpenOffice.org merupakan produk saingan bagi aplikasi proprietary (berbayar) Microsoft Office dan dapat dijalankan di atas berbagai platform, di antaranya Windows, Solaris, Linux, dan Mac OS X. Lain halnya dengan Microsoft Office yang hanya dapat dijalankan pada system operasi Windows. OpenOffice.org mendukung standar dokumen terbuka untuk pertukaran data, dan dapat digunakan tanpa biaya.

Dengan adanya standar dokumen terbuka ini, tipe file dari tiap-tiap komponen menjadi:

.odt (Open Document Text) untuk OpenOffice.org Writer

.odp (Open Document Presentation) untuk OpenOffice.org Impress

.ods (Open Document Spreadsheet) untuk OpenOffice.org Spreadsheet

.odg (Open Document Drawing) untuk OpenOffice.org Drawing

dan OpenDocument Database untuk OpenOffice.org Base

Kelebihan dari standar dokumen terbuka adalah semua orang dapat membuat aplikasi untuk membuka dokumen dengan standar dokumen terbuka, sehingga standar dokumen terbuka tidak terpaku hanya dengan suatu aplikasi tertentu saja.

OpenOffice.org memiliki tampilan Graphical User Interface (GUI) yang menyerupai aplikasi kantor yang sudah dikenal banyak orang, sehingga tidak sulit bagi seorang pengguna yang untuk pertama kali menggunakan aplikasi ini ataupun bagi mereka yang sudah terbiasa dengan aplikasi perkantoran proprietary.

OpenOffice.org dibuat berdasarkan kode dari StarOffice, sebuah office suite yang dikembangkan oleh StarDivision dan diakuisisi oleh Sun Microsystems pada Agustus 1999. Kode asal dari suite ini dilepas sebagai proyek sumber terbuka pada Juli 2000, dengan tujuan mendobrak dominasi pasar dari Microsoft Office dengan menyediakan pilihan yang berbiaya rendah, berkualitas tinggi, dan terbuka. Kode asal untuk suite aplikasi ini tersedia dibawah dua lisensi perangkat lunak yang berbeda: LGPL dan SISSl; dari versi 2.0, OpenOffice.org hanya tersedia di bawah LGPL. OpenOffice.org 2.4 adalah versi stabil terakhir dari aplikasi ini.

Proyek dan perangkat lunak disebut sebagai “OpenOffice”, tetapi pengatur proyek melaporkan bahwa istilah ini adalah sebuah merk dagang yang dipegang oleh kelompok lain, sehingga mengharuskan mereka mengambil “OpenOffice.org” sebagai nama resminya, dan juga disingkat OOo.

Leave a Comment

Seminar Gratis Entrepreneurship on IT

Let’s come and see!!!!

Leave a Comment

Festival Jajanan Bango Jakarta 2008

Leave a Comment

E-Apply www.career.berca.co.id

For the last seven months, I have internship in PT.Berca Hardayaperkasa, an Information Communication Technology (ICT) Company.

They asked me to build a web based application which can be used by user as an applicant to our company.

Now, the application is done already. We named it career.berca.co.id. Published in Jasatel.

The following is the header of my web.

Every user must login first to be able to enter their profile account and apply for a job.

=============================================

===============

I have something to do,..We continue this article later ya πŸ˜€

Comments (1)

Data Mining with Microstrategy Presentation @ Ritz Carlton Kuningan

YUpz, today, 31 July 2008, when most of my friends already done with their internship, I still must to give a presentation to customers how to perform data mining using Microstrategy Data Mining tool.

With Microstrategy Business Intelligence tool, you can directly perform a data mining, either from the given predictive algorithm or u can import the new one.

Last night I learn about Decision Tree and LInear Regression Data Mining algorithm until midnight to be presented today, then it is worthed.

Here is my team:

All of reports and dashboards created using Microstrategy, can be sent directly to a blackberry, that’s why I take a pict with Blacberry 8700 πŸ˜€

*Me in action πŸ˜€ *

Even today is not my 1st presentation, still, I feel nervous in every presentation, bcoz customer will ask different questions,.. OMY ==_==’

Here when I demonstrate the software to customers from NISP Bank using my lovely white notebook given by my office πŸ˜€

After all presentations and demos are done, then let’s take a pictwith a lime πŸ˜€

Then, my boss invite me to have a lunch in the Buffet,..Ehmmmm,..They are soo delicious πŸ˜€

After lunch, then continued by another presentation,…then time to go home…… πŸ˜€ everything is enough for today πŸ˜€

c u tomorrow

Comments (2)

Setting Mail Server dengan Fedora 9 dan Qmail :D

2 minggu yang lalu Saya mendapat amanah untuk membuat sebuah mailserver dengan OS Linux,..

Pengalaman saya sih, distro yang paling asik untuk dibuat ngoprek networking itu Fedora.

Dan kebetulan Fedora baru aja merilis Fedora 9 ‘Sulphur’ πŸ˜€

Berdasarkan rekomendasi dari teman2 seperjuangan yang sudah pernah ngeset mail server sih paling gampang pake Qmail,..semua info-info and How to setup Qmail ada di http://qmailrocks.org/

Dan saya sarankan sih pakai distro turunannya RHEL ajah..

Selamat mencoba πŸ˜€

Leave a Comment

« Newer Posts · Older Posts »