windows etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
windows etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

28 Aralık 2011 Çarşamba

Unixden windowsa çıktı gönderme


Bu işlemi yapabilmek için

1- Windowsda printer paylaşılmş durumda olmalı.
2- Windowsda print spooler servisi çalışıyor durumda olmalı. Firewall varsa tanımlarınızı yapmalısınız. spooler servisi varsayılan olarak 515 portunu dinliyor.

Unixden aşağıdaki şekilde çıktı gönderebiliriz.

/usr/ucb/lpr -P HOST_ADI:PRINTER_ADI -l PRINT_DOSYASI

örnek:
/usr/ucb/lpr -P pcramazan:printer33 -l abc.txt



27 Aralık 2011 Salı

Oracle ODBC driver manual install (11g)

like below you can install Oracle ODBC driver manually.

--Oracle ODBC driver manual install (11g)
1-

Copy ODBC directory to $ORACLE_HOME
Copy sqora32.dll, sqoras32.dll, sqresus.dll, sqresja.dll to $ORACLE_HOME\bin

2-

cd C:\oracle\11.1\bin
C:\oracle\11.1\bin>regsvr32 /s sqora32.dll
C:\oracle\11.1\bin>regsvr32 /s sqoras32.dll
C:\oracle\11.1\bin>regsvr32 /s sqresus.dll
C:\oracle\11.1\bin>regsvr32 /s sqresja.dll
C:\oracle\11.1\ODBC>regsvr32 /s deckan32.dll

3- regedit, go to HKEY_LOCAL_MACHINE/SOFTWARE/ODBC


go to Oracle in OraClient11g_home1

key Driver, value = C:\oracle\11.1\bin\sqora32.dll
key Setup, value = C:\oracle\11.1\bin\sqoras32.dll


you can run below entries with reg file.


[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle in OraClient11g_home1]
"APILevel"="1"
"CPTimeout"="60"
"ConnectFunctions"="YYY"
"Driver"="c:\\oracle\\11.1\\BIN\\SQORA32.DLL"
"DriverODBCVer"="03.51"
"FileUsage"="0"
"Setup"="c:\\oracle\\11.1\\BIN\\SQORAS32.DLL"
"SQLLevel"="1"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
"Oracle in OraClient11g_home1"="Installed"





12 Ekim 2011 Çarşamba

Print from unix to windows



TODO

1- Check your printer and share printer on Windows.
2- Check print spooler service runnnig on windows. If you use Firewall check your rules. The spooler service listens 515 port by default.

You can print from unix like below command:

/usr/ucb/lpr -P HOST_NAME:PRINTER_NAME -l PRINT_FILE

HOST_NAME    : name or ip address of pc/server which connected to printer.
PRINTER_NAME : sharing name of windows printer

sample:
/usr/ucb/lpr -P pcramazan:printer33 -l abc.txt

14 Eylül 2011 Çarşamba

Windows print spooler service ports

Print spooler service use below ports for networking.
LPDSVC service accepts from unix LPR printing.

Service NameUDPTCP
Services for Macintosh (uses AppleTalk)
201, 202, 204, 206
201, 202, 204, 206
Internet Printing Protocol (uses HTTP)
80
80
NWLink (uses IPX/SPX)
213
213
LPDSVC (accepts LPR)
515
515
LPR Port (sends LPR)
721-731, >1023
721-731, >1023
Server (using SMB)
137, 138
139
Server (using RPC)
530
530
Standard Port Monitor (using SNMP)
161, 162
161, 162
Standard Port Monitor (using LPR)
> 1023
> 1023
Standard Port Monitor (using RAW)
2000, 2501-2503, 3001, 6869, >=9100
2000, 2501, 2503, 3001, 6869, >=9100
http://technet.microsoft.com/en-us/library/cc783789(WS.10).aspx#w2k3tr_prntt_how_yxcr