Monday, 2 April 2012

How To Put the System into hibernation or Standby from Run menu

To put the system in to hibernation:-

1]Make sure that the system is hibernation enabled. To confirm that, Click the Start button, go to Run menu and type in Powercfg.cpl and click OK. In the Power Options Propertiesclick Hibernate  tab and make sure that Enable hibernation option is checked. Click OK/Apply.

2]Now Click the Start button, go to Run menu and type in %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState and click OK.

To put the system in to Stand by :-

1]Make sure that the system is hibernation disabled. To confirm that, Click the Start button, go to Run menu and type in Powercfg.cpl  and click OK. In the Power Options Propertiesclick Hibernate  tab and make sure that Enable hibernation option is unchecked. Click OK/Apply.

2]Now Click the Start button, go to Run menu and type in %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState and click OK.

Troubleshooting Barcode Printer

Problem: If you try to give the print command from DOS prompt, there will not be any response. But if you give a print command from a notepad, the same will be printed [barcode printer]



  • The printer was cheked with about 7 PCs with Windows XP and gave the same result - print did not came from DOS.

  • But when we checked with a receipt printer, the printout did came. We just plugged out the cable from barcode printer and plugged into the receipt printer and saw it printing from DOS mode

  • We also checked with

    • Printer Properties, Print Preferences
    • Device Manager Settings - verified the Port
    • Noted down the IRQ No and checked the same with Bios.
    • Changed the settings for LPT1 in Bios
    • Reinstalled the Printer Driver
    • I even tried the solution suggested by our team for conversion tool for dos printing etc. ---- but of no use



The Actual Solution is to change the Print Processor setting which is under the Advanced tab of the Printer Properties window. You need to change the Default Data Type in the Print Processor window

Changing the Printer Port LPT3 to LPT1 in Settings

Changing the Printer Port LPT3 to LPT1 in Settings ,
Right Click the My Computer-->Properties-->(in System Properties) Select Hardware --> Select Device Manager --> Choose (Ports (Com & LPT) and Double Click --> Select Printer Port (LPT3) and Right Click,
Go to Properties --> Select Port Settings --> Change the LPT Port No Settings LPT3 to LPT1
Apply the Settings and Re-start the Machine and Re-install the Printer Driver..

Print not working in DOS Prompt - LPT3 is found, & LPT1 is not present

Issue: Print not working in DOS Prompt, since the printer port is LPT3 [Latest intel boards won't have LPT ports, customer installed the add-on LPT port for us, by default it is found as LPT3]

Solution: We can change the Port number in
Right click My computer - Properties - Hardware - Device manager
Double click on Ports (COM & LPT)
Right click on LPT3 - Properties
Goto "Port settings" tab
Change the LPT Port number as "LPT1" and save the dialog box

Then it will print from DOS Prompt

Printer Spooler service not started

Issue:
Unable to print the required invoices, documents,etc., in windows pc's.

Cause:1
Check for printers added in the printers & faxes. Installed printer drivers conflicted with the printing service. So need to remove the specific printer driver installed in the printers & faxes configuration. The problem would be with printer which would be default set.

Symptoms:
Start the printer spooler services in services.msc, print given to the given or already print given, the printer spooler service automatically stopped.

Solution:

1. Go to printers & faxes configuration option from program menu, control panel, printer-&f-axes
2. Make a note details of all the printers installed (driver name, printer name, model,etc.,)
3. Idenfity the default printer set
4. Delete that printer set as default
5. Check the printer spooler service started in services.msc
6. Still issue not solved , remove printer one by one
7. Reinstall the correct printer driver
8 . Verify it, spooler service started successfully by auto or else start manually

Server Client Access Very Very Slow

Issue : - Accessing the server from client via any running application software is too long to respond.

Common Causes of Connectivity problems:-
1). Network adapters and switch ports with mismatching duplex levels or transfer speed settings.

2). Network adapters or switches with transmission rates of 10/100 or 10/100/1000 megabits per second (Mbps) not functioning switch over correctly.

3). The network adapter is incompatible with the motherboard or other hardware or software components and drivers.

4). Firewall software not functioning properly, due to bugs in its network connectivity check segment.

Cases to Check:-
1). Check for connectivity responses between Server and Client's using PING

2). Check system event logs for network card/connectivity related errors

3). Check for networking devices between Server and Client i.e swithces,lan cables, lan card.
Typically occur because of incorrect network adapters, incorrect switch settings, faulty hardware, or driver issues.

4). Check for Windows Firewall / Special Antivirus Software Firewall installed in both Server and Clients.

TroubleShooting steps:-
1). Ping the Server from Client's with issue or From Client's to the Server (use domain name or IP to ping)
Ex. ping WindowsServer -t
-"t"- for continuos ping
Sample Output:-
"ping WindowsServer -t"

Pinging 192.168.6.4 with 32 bytes of data:
Reply from 192.168.6.4: bytes=32 time<1ms TTL=64
Reply from 192.168.6.4: bytes=32 time<1ms TTL=64
Reply from 192.168.6.4: bytes=32 time<1ms TTL=64
Reply from 192.168.6.4: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.6.4:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Ex. ping LinuxServer
The response time in millisecond should less than or equal to 1 or 2, rarely sometimes other lower latencies would come without any data transmission.(Environment: Server and Clients's in the same network).
There should not be any LOSS.
Also check with preloaded data for server client reponses by the following:

"ping WINDOWSSERVER -l 45000 -t "

Pinging kmuadmin [192.168.6.74] with 45000 bytes of data:
Reply from 192.168.6.74: bytes=45000 time=9ms TTL=128
Reply from 192.168.6.74: bytes=45000 time=9ms TTL=128
Reply from 192.168.6.74: bytes=45000 time=9ms TTL=128
Reply from 192.168.6.74: bytes=45000 time=9ms TTL=128

Ping statistics for 192.168.6.74:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 9ms, Maximum = 9ms, Average = 9ms

2). Check the systems event logs using eventvwr (Windows) or dmesg/syslog (Linux)

3). Check for whether the network adapter is compatible with Microsoft Windows or Linux Operating systems
-Check the link http://winqual.microsoft.com/HCL/Default.aspx?m=x

4). Check computers that use the correct gateway that are plugged into the same hub or switch.

5). If the computers do not experience network connectivity problems, the problem may be a faulty network adapter on one computer.

6). Check for Server's/Client's motherboard must be updated with latest BIOS from vendor's Web site or contact your hardware vendor

7). Make sure that all complementing network resources (network adapter, hub, and switch) are set to the same speed and duplex level. Force it to use full-duplex.

8). Reset the switch, restart the client, and test the connectivity.

9). Manually set the network adapter of the computer that has connectivity problems to half-duplex and a lower speed 10mbps , whether connection can be established at a lower transmission speed.

10). To increase performance, increase the speed settings manually to 100 Mbps, and then restart the computers. Test for network connectivity loss, increase the setting to full-duplex, and then restart the computers. If network loss occurs, reduce the duplex setting and the speed to the previous settings.

11). Swap the network cable between the failing system and the hub or switch.

12). Replace the network adapter with a network adapter that has been tested and proven reliable. To do this, follow these steps:
-a)Remove the network adapter diagnostics program.
-b)Remove the network adapter in Network properties.
-c)Install the new network adapter.

13). Disable the network adapter settings and Enable it .
Right click network properties on desktop, choose the correct LAN connection, right click disable,enable it .
If this is the case, there would be issue with Software Firewall installed, contact software firewall service provider to get them fixed.

14). Put the continuous ping's from Server to Client/Client's by adding successive manner, Disable the Software Firewall install and check whether response time is feasible in all ping OUTPUT'S(ref:attachments)
If this is the case contact software firewall service provider to get them fixed.

Analysis Pending:
Free tools(Network Monitor) available to sort out this issue , followed by evaluation later.

Attachments:

Sample network choking ping screenshot attached.

Note:
Please contact system-administrator for firewall issue.Disabling any antivirus/firewall services without knowledge of them is restrictable, which leads to crash the windows operating system.

While saving the bill the system PC got hangs. Why?

The problem could be due to the following reasons

1. Printer

a. The default printer configured may not work properly. Due to that the windows took longer time......

b. If you dont need the print then 'uncheck' the print checkbox in the sales screen.

c. If you dont need the print then create the printer from Start -> Settings -> Control Panel -> Printers&Faxes and set as default.

2. You may enabled the cashdraw feature without the cashdrawer. Uncheck the cashdraw checkbox under the options.

3. You may enabled the pole display feature without the pole display. Uncheck the poledisplay checkbox under the options.