View Single Post
Old 06-30-2009, 09:50 PM   #2
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Looks very sleek and integrated! Like one-stop shopping...

BTW, for .imp creation, I couldn't get it to generate a GEB 1200 .imp (I'm partial to REB 1200 ). In it's place, it seems to always produce a EBW 1150 .imp. Same thing for .rb and .oeb! formats. I'm using MS Word 2003.

EDIT: Possible solution...
It looks like in ImpBuilder, you have the format hard-coded. I changed that and the IMP option selection code to be:
Code:
FrmCalibreAllFormat

Private Sub opt1150_Click()
    If opt1150.value = True Then
        gDeviceType = 2
        setImpDeviceType gDeviceType
    End If
End Sub

Private Sub opt1200_Click()
    If opt1200.value = True Then
        gDeviceType = 1
        setImpDeviceType gDeviceType
    End If
End Sub

Private Sub opt1100_Click()
     If opt1100.value = True Then
        gDeviceType = 3
        setImpDeviceType gDeviceType
    End If
End Sub

Private Sub optOEB_Click()
     If optOEB.value = True Then
        gDeviceType = 0
        setImpDeviceType gDeviceType
    End If
End Sub

ImpBuilder

    oImpBuild.TargetDevice = iBuildTarget
    oImpBuild.BuildFromWordDoc szInput, szBookFileName
It now works for me with all .imp formats and even produces a nice ETI .epub when the .oeb option was selected!!!

Last edited by nrapallo; 06-30-2009 at 10:50 PM. Reason: suggested a fix
nrapallo is offline   Reply With Quote