printingservices/printerdrivers/canon/CANON.BAT
author Faisal Memon <faisal.memon@nokia.com>
Fri, 16 Jul 2010 18:54:03 +0100
branchEGL_MERGE
changeset 119 5f371025658c
parent 0 5d03bc08d59c
permissions -rw-r--r--
Chop out the code that handles "additional _E32Dll entry point after last ordinal position". I can't agree with that as how the DLL is supposed to work, and gives errors for me. Maybe the scripts to re-generate the jump tables have not been tried recently so its not a problem that's been hit by others.

REM CANON.BAT
REM Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
REM All rights reserved.
REM This component and the accompanying materials are made available
REM under the terms of "Eclipse Public License v1.0"
REM which accompanies this distribution, and is available
REM at the URL "http://www.eclipse.org/legal/epl-v10.html".
REM 
REM Initial Contributors:
REM Nokia Corporation - initial contribution.
REM 
REM Contributors:
REM 
REM Description:
REM 
del canon.pdr

set _par1=%1
if "%1"=="" set _par1=ENGLISH
if "%1"=="english" set _par1=ENGLISH
if "%1"=="german" set _par1=GERMAN
if "%1"=="french" set _par1=FRENCH
if "%1"=="dutch" set _par1=DUTCH
if "%1"=="italian" set _par1=ITALIAN
if "%1"=="spanish" set _par1=SPANISH

call cl /P /EP /D "_%_par1%" canon.pd 

pdrtran canon.i canon.pdr

rem del *.i

copy canon.pdr \epoc32\release\wins\urel\z\system\printers\canon.pdr
copy canon.pdr \epoc32\release\wins\udeb\z\system\printers\canon.pdr
copy canon.pdr \epoc32\release\marm\urel\canon.pdr
copy canon.pdr \epoc32\release\marm\udeb\canon.pdr