An error occurred while updating “title” (connection time out)

An error occurred while updating (connection time out)

An error occurred while updating (connection time out)

When you try to install game on Steam yo have that error and game won’t finish downloading you have to:

  1. Disable AV (all modules like hips, firewall and others)
  2. Disable Windows Firewall
  3. Disable ADGuard, Admuncher and other ad blocking apps
  4. Connect directly to internet, stop all VPNs
  5. Clear download cache (right click on game -> properties -> local files -> clear cache)
  6. Exit steam and copy downloaded files to correct game folder:
    C:\Program Files (x86)\Steam\steamapps\downloading\730
    move to
    C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive
  7. Start steam and click play. Wait for download finish.

ETKA 7.5, 7.3, 7.4 error, hardlock uninstall & reinstall

Requirements

  • Install .NET 2.0 and .NET 4.0
  • Disable driver signing enforcement by allow testsigningpolicy, run CMD as admin and type:
    bcdedit.exe /set nointegritychecks ON
    bcdedit.exe /set TESTSIGNING ON

    Reboot.

  • Disable driver instalation from Windows Update (it will make faster)

First step

To solve below errors copy library LexHdl5.dll to “C:\Windows\System”
(not System32)

Error Returncode 5 – Error H7!

Error when update Returncode 2 – Error AA!

Second step

The new enhanced graphical functions of ETKA couldn’t be used! (Error 3)

Run CMD as admin and go to ETKA directory RosyVisionControl:

cd /d C:\ETKA\VWAU\RosyVisionControl
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regasm.exe RoSyVisionCom.dll /unregister
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regasm.exe RoSyVisionCom.dll /codebase
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe RoSyVisionCom.dll /unregister
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe RoSyVisionCom.dll /codebase

Hardlock Reinstall

 

Error 7 : Hardlock wurde nicht gefunden.

If you have any problem with devices  Safenet or something you should remove hardlock an install it again.

To reinstall hardlock you have to remove it. It is pretty hard to do that. You can check all services and drivers installed in your system with program called: Hardlock Diagnostic Tool  : diagnostix.zip (to delete service run sc in CMD). Download page: http://www3.safenet-inc.com/support/hardlock/downloads.aspx

Hardlock Uninstall

But there is a command line tool: Sentinel HASP Run-time Command-line Installation  – Sentinel_LDK_Run-time_cmd_line.zip that will allow remove all. Go to download page: http://www3.safenet-inc.com/support/hardlock/index.aspx

Unzip. Set compatibility mode Windows 7 and run as admin for file: haspdinst.exe.
Create shortcut to haspdinst.exe with switches:
haspdinst.exe -fr -kp -fss

It will remove Hardlock services and servers hasp. Reboot pc.

Then you can install hardlock properly.

Proper installation of HardLock
  1. Run 0000750A.reg from multikey.
  2. Run CMD as admin and go to multikey dir (check what is you system need x86 or x64) and install device:
    cd /d D:\MULTIKEY64
    devcon remove root\multikey
    devcon install multikey.inf root\multikey
  3. Allow to install unsigned driver. Wait for device installation in device manager at System deivces:
    Virtual USB multikey
    root\multikeySeriously you should wait to automatic installation. It can take a long  time of you didnt disable windows update drivers installation.
  4. Install hardlock.exe and wait for automatic installation of 2 devices at universal serial bus:
    SafeNet Inc. Hardlock Key
    USB\Hardlock
    SafeNet Inc. USB Key

    USB\VID_0529&PID_0001&Rev_0321
  5. Done.

Remove updates
There is a script that will remove any existing u[pdates tha iwll aloow to run older versions:

SET partition=C
IF  EXIST "%partition%:\ETKA\VWAU\DATA\." (
rd "%partition%:\ETKA\VWAU\DATA\AU\Update\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\SE\Update\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\SK\Update\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\VW\Update\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\AU\Upload\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\SE\Upload\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\SK\Upload\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\VW\Upload\" /S /Q
md "%partition%:\ETKA\VWAU\DATA\AU\Update\"
md "%partition%:\ETKA\VWAU\DATA\SE\Update\"
md "%partition%:\ETKA\VWAU\DATA\SK\Update\"
md "%partition%:\ETKA\VWAU\DATA\VW\Update\"
md "%partition%:\ETKA\VWAU\DATA\AU\Upload\"
md "%partition%:\ETKA\VWAU\DATA\SE\Upload\"
md "%partition%:\ETKA\VWAU\DATA\SK\Upload\"
md "%partition%:\ETKA\VWAU\DATA\VW\Upload\"
md "%partition%:\ETKA\VWAU\DATA\AU\Update\Temp"
md "%partition%:\ETKA\VWAU\DATA\SE\Update\Temp"
md "%partition%:\ETKA\VWAU\DATA\SK\Update\Temp"
md "%partition%:\ETKA\VWAU\DATA\VW\Update\Temp"
md "%partition%:\ETKA\VWAU\DATA\AU\Upload\Temp"
md "%partition%:\ETKA\VWAU\DATA\SE\Upload\Temp"
md "%partition%:\ETKA\VWAU\DATA\SK\Upload\Temp"
md "%partition%:\ETKA\VWAU\DATA\VW\Upload\Temp"
pause
) else (
echo Cannot find '%partition%:\ETKA\VWAU\DATA\'
pause
)

PJL Variables for Brother Printers

Table with variables names and values that could help predict purpose. The idea for PJL is var name should be english word.

 

There is a lot of options from power save to lower paper curl. Be aware there is a lot of system options. If you will set wrong option you can broke your printer.

Continue reading

PJL ReadBack – read response from printer

This is pretty hard to do that on USB printer connected to windows. You have to have bidirectional driver for your printer and somehow read it (there is no that option in win32 printing). There is no bidirectional windows drivers for most of printers.

It is much easier to ReadBack from printer connected to network. You can do that with simple app called PCL Paraphernalia
http://www.pclparaphernalia.eu/index.html

ReadBack from USB printer on Linux is possible! Printer is installed as a character device (you can read and write to it).

Some tips:

  • After read printer send to them ESCAPE character. If not, next send and work will not work.
    echo -e "\e" > /dev/usb/lp0
  • My printer does not respond nothing for @PJL INQUIRE *_* – no respond from printer for variables with underscore example: @PJL INQUIRE TOTALPAGE_LMT (probably total page limit) and others:
    ONLYFOR_PANEL
    TOTALPAGE_LMT
    COUNTPAGEPF1_LMT
    COUNTPAGEPFM_LMT
    A4PAGES_LMT
    LEGALPAGES_LMT
    JISB5PAGES_LMT
    A5PAGES_LMT
    A6PAGES_LMT
    MONARCPAGES_LMT
    PLAINPAGES_LMT
    THICKPAGES_LMT
    ENVELOPESPAGES_LMT
    POSTCARDPAGES_LMT
    LABELPAGES_LMT
  • You can try to check device is busy but it not work correctly. You should do the command in loop until you read more than zero length reponse (or set timeout in looop to next try)
    while true
            do
               fuser -s /dev/usb/lp0
               if [ $? -ne 0 ]
               then
                  break
               fi
    done
  • Send PJL:
    echo -e "\e%-12345X@PJL\r\n@PJL INFO ID \r\n\e%-12345X" > /dev/usb/lp0
  • Read PJL – I do not know when you should read and when the response is ready. So i try to read in loop or few cat commands, read or dd.
    #1way
    response=$(dd if=/dev/usb/lp0 of=temp.txt 2>&1)
    echo "$response"
    echo -e "\e" > /dev/usb/lp0
     
    #2way
    while IFS= read -r -n1 char
    do
     printf "$char"
    done < /dev/usb/lp0 echo -e "\e" > /dev/usb/lp0
     
    #3way
    cat /dev/usb/lp0
    echo -e "\e" > /dev/usb/lp0
  • Example script to read the printer ID:
    #!/bin/bash
     
    PRINTER=/dev/usb/lp0
    ESCAPE=$(echo -e "\e")
    FF=$(echo -e "\x0C")
    char=""
    IFS=""
    echo "" > temp.txt
     
    	while true
    	do
    		sleep 0.5
    		#WAIT FOR NOT BUSY
    		while true
    		do
    			fuser -s "$PRINTER"
    			if [ $? -ne 0 ]
    			then
    				break
    			fi
    		done
    		#send PJL to printer
    		echo -e "\e%-12345X@PJL\r\n@PJL INFO ID \r\n\e%-12345X" > "$PRINTER" 
    		#TRY TO READ IMMEDIATELY
    		char=$(dd if="$PRINTER" of=temp.txt 2>&1)
    		echo -e "\e" > "$PRINTER"
    		#CHECK THAT dd READ ANY BYTES
    		echo "$char" | grep "bytes copied" > /dev/null
    		if [ $? -ne 0 ]
    		then
    			printf "."
    		else
    			echo "$char" | grep "^0 bytes copied" > /dev/null
    			if [ $? -ne 0 ]
    			then
    				cat temp.txt
    				echo "" > temp.txt
    				break
    			else
    				printf "."
    			fi
    		fi
    		char=""
    	done

    the response:
    @PJL INFO ID
    "Brother HL-1110 series:84UE03:Ver1.08"

Change Language on Brother printers DCP / HL / MFC

That method should work on printers with LCD and touchscreen:

  • DCP-7080
  • DCP-7080D
  • DCP-7180DN
  • DCP-L2500D
  • DCP-L2520D
  • DCP-L2520DW
  • DCP-L2540DN
  • DCP-L2540DW
  • DCP-L2541DW
  • DCP-L2560DW
  • HL-L2380DW
  • MFC-7380
  • MFC-7480D
  • MFC-7880DN
  • MFC-L2680W
  • MFC-L2700D
  • MFC-L2700DN
  • MFC-L2700DW
  • MFC-L2701D
  • MFC-L2701DW
  • MFC-L2703DW
  • MFC-L2705DW
  • MFC-L2720DW
  • MFC-L2740DW

First you have to enter Mainteance (74) mode, and enter correct country code. Maint 74 called Setting by spec. It sets more than only Country code. It changes fax settings, LCD Language etc.

How to enter Maintenance  Mode Brother

Everything start from Ready state printer. If there i no NUMPAD you have to enter values with arrows (up and down) then press OK to go the next coulmn.

  1. On printers without touch screen
    1. Press Menu then press Start button
    2. Press ↑ (arrow up key) four times
    3. Check there is MAINTENANCE on the screen. If not, click cancel and start again from beginning
    4. You can set function with arrows (↑ up and ↓ down) or enter the function code 74  and wait a sec
    5. Enter desired Country Code (4 digits) and Start
    6.  You should see PARAMETER INIT on the LCD
    7. enter Mainteance 99 to exit to normal mode
  2. Printers with touch screen
    1. Hold home button for 5-8 seconds
    2. Printer should show four rows (1. serial no, 2. ROM version, 3. Empty 4. Empty)
    3. Hold bottom field for 2 seconds
    4. Enter code *2864 , printer should enter MAINTENANCE mode
    5. Enter 74 and wait a sec
    6. Enter Country Code (4 digits) and click Mono Start
    7.  You should see PARAMETER INIT on the LCD
    8. enter Mainteance 99 to exit to normal mode

Country codes list

Continue reading

Brother HL-1110/1111/1112/1118 – service, toner reset, power off time, drum reset, firmware upgrade

I have prepared some PJL files. Enjoy and try create new one to other printers :)

It should work on other HL printers but you do it for your own risk.

First read: PJL – send commands to printer in RAW, BIN file

Firmware

LZ4326_E.blf – version 1.06
LZ4326_G.blf – version 1.08

Download:
http://www.mediafire.com/file/2goftr513skg44l/hl-1110-hl-1111-hl1112-firmware.zip

Firmware installation

You can send the firmware blf file directly to the printer with . I have described how to send RAW BIN files to printer: PJL – send commands to printer in RAW, BIN file

PrintFile:
http://www.lerup.com/printfile/

You can use FILEDG32.exe against PrintFile from there:
https://www.brother.com.au/pdf/support/controlcodes/PJL-SampleCommands.zip

Official firmware upgrade procedure

To flash firmware in official way you have to do it on 32bit system. Most recommended is Windows XP (you can do it on the virtual machine with redirected USB via virtualbox addons). I have found drivers for x64 but this printer works Maintenance Driver(1/3) which not works on x64.

Brother Brother Maintenance USB Port drivers:
USBPRINT\BrotherBHL2-MaintenaE3D8
BrotherBHL2-MaintenaE3D8
USB\VID_04F9&PID_0152&MI_02

Download:
http://www.helpjet.net/Fs-51291369-25569943-49736873-devices.html
or
http://www.mediafire.com/file/8bwoblgteobbpou/MaintenanceDriver.zip

There is mainteance drivers for win7 on a newer printers (both platform x64 and x86):
http://www.helpjet.net/Fs-33236229-25569943-22124897.html
or
http://www.mediafire.com/file/6bd7zrj65fgb9np/Maintenance_driver+win7.zip

On windows 8 and above you have to disable driver singing policy: Manual install drivers and disable drivers signing policy on Windows 10, 8, 8.1

First you have to switch printer to maintenance mode then install drivers and send the firmware file with FILEDG32 or PrintFile.

  1. Turn off the printer. AC power cord connected.
  2. Press and hold Power button (Ready and Error LED lit) – you can release on the step 6.
  3. While still holding open top cover.  Only Ready LED lit.
  4. Take out Drum unit, Error led lit. Put back drum unit.
  5. Close top cover. If both leds lit you can release Power button. All leds goes out (off).
  6. Hold Power button for 2 seconds until Error led lits then release. Ready led will lit.
  7. Connect USB to machine and install drivers.
  8. Send firmware file to printer called Maintenance.
  9. READY and ERROR led will blinks (that’s mean firmware is flashing – wait for finish).
  10. Done.

Toner Reset

There is a few ways.

  1. TESTED Manually set the gear in the toner cartridge:
    https://youtu.be/frV8CSEOVAA?t=1m40s
  2. TESTED Do some stuff with the printer:
    1. Turn off the printer. AC connected.
    2. Hold Power button and both: Ready (Green) and Error (Orange) LEDs lit.
    3. While still holding Power open top cover. Ready LED lit, Error off.
    4. While still holding Power take out Drum unit with toner.
    5. Both LEDs lit then release Power.
    6. Both LEDs off.
    7. Set on drum unit and close top cover
    8. Press Power twice. Error led lit.
    9. Press Power:
      1. five times to reset Starter toner
      2. six times to reset Standard toner
  3. NOT CONFIRMED the correct syntax Send PJL file with commands (i have to test it – is it command or value):
    <ESC>%-12345X@PJL
    @PJL SET SETTONER=STANDARD
    @PJL DEFAULT SETTONER=STANDARD
    @PJL EXECUTE
    @PJL SET REPLACETONER=CONTINUE
    @PJL DEFAULT REPLACETONER=CONTINUE
    <ESC>%-12345X
    Set toner to standard model and continue mode.
    Download prepared file:

Disable Power Off

To disable Power off you can change the regional setting  (probably with EXECUTE BRLOCALIZE) or just send PJL:
<ESC>%-12345X@PJL
@PJL SET POWERDOWN=HOUR8
@PJL DEFAULT POWERDOWN=HOUR8

<ESC>%-12345X
Possible values:
MIN0
MIN1
HOUR1
HOUR2
HOUR4
HOUR8

FILE: https://tosiek.pl/wp-content/uploads/2017/01/POWER-OFF.zip

Where MIN0 is Powef Off = OFF. Default for european countries is 1 hour. Turkey 4 hours.

Restore default configuration

  1. Manual method
    1. Turn off printer. AC connected.
    2. Press and hold Power button.
    3. While still holding Power open and close top cover and release power.
    4. Press power button ten times
  2. PJL send
    1. <ESC>%-12345X@PJL
      @PJL INITIALIZE
      @PJL RESET
      @PJL EXECUTE SHUTDOWN
      <ESC>%-12345X
      Download: https://tosiek.pl/wp-content/uploads/2017/01/INITIALIZE.zip

Printer zeroing

That PJL command will reset every part of printer:

  • errors log, codes
  • fuser
  • page counter, roller counter, feeder
  • toner
  • drum
  • all configuration
  • everything else

<ESC>%-12345X@PJL
@PJL EXECUTE REVIVALRESET
<ESC>%-12345X

Download: https://tosiek.pl/wp-content/uploads/2017/01/REVIVALRESET.zip

 

PJL Variables:
Documented:

@PJL INFO VARIABLESValues
COPIES=1 [2 RANGE]From 1 to 999
LPARM:PCL PAPER=A4 [4 ENUMERATED]LETTER, LEGAL, A4, FOLIO
MANUALFEED=OFF [2 ENUMERATED]OFF ON
RESOLUTION=600 [3 ENUMERATED]300, 600, 1200
TIMEOUT=5 [2 RANGE]From 1 to 99
AUTOCONT=OFF [2 ENUMERATED]OFF ON
AUTOSLEEP=ON [2 ENUMERATED]OFF ON
TIMEOUTSLEEP=1 [2 RANGE]From 0 to 210
POWERSAVE=ON [2 ENUMERATED]OFF ON
POWERSAVETIME=1 [2 RANGE]From 0 to 210
ECONOMODE=OFF [2 ENUMERATED]OFF ON
ECONOLEVEL=1 [2 RANGE]From 0 to 3
MEDIATYPE=REGULAR [2 ENUMERATED]REGULAR, RECYCLED
INTRAY2=UNLOCKED [2 ENUMERATED READONLY]UNLOCKED, LOCKED
SOURCETRAY=AUTO [2 ENUMERATED]AUTO, TRAY1
XOFFSET=0 [2 RANGE]From -500 to 500
YOFFSET=0 [2 RANGE]From -500 to 500
AUTOFF=OFF [2 ENUMERATED]OFF ON
TIMEOUTFF=5 [2 RANGE]From 1 to 99
FFSUPPRESS=OFF [2 ENUMERATED]OFF ON
DEFPAPER=A4 [2 ENUMERATED]A4, LETTER
RAS1200MODE=OFF [3 ENUMERATED]OFF, ON, TRUE
DENSITY=0 [2 RANGE]From -6 to 6
TRANSFER=AUTO [3 ENUMERATED]AUTO, LOW, HIGH
STRINGCODESET=HPROMAN8 [6 ENUMERATED]HPROMAN8, ISO88592, ISO88595, JISX02011976, ISO88599, UTF8
LESSPAPERCURL=OFF [2 ENUMERATED]OFF ON
FIXINTENSITYUP=OFF [2 ENUMERATED]OFF ON
DENSITYLEVELUP=OFF [2 ENUMERATED]OFF ON
TRANSFERLEVELUP=OFF [2 ENUMERATED]OFF ON
PCLCONPULSORYFFIGNOREMODE=OFF [2 ENUMERATED]OFF ON
HQMMODE=OFF [2 ENUMERATED]OFF ON
TRANSFERLEVEL=0 [2 RANGE]From -2 to 2

PJL documentation:

https://www.brother.com.au/pdf/support/controlcodes/PCL_Tech_Manual.pdf

Download (PDF, 1.74MB)

RAW PJL command list

There is a list of commands and special values (constants, other values could be alphanumerical) . Most of them aren’t exist in official documentation BUT WORKS, be carefull. Continue reading