Here's a couple workaround examples that were given to this problem.
Regards,
-Bill
include "mapbasic.def"
include "menu.def"
include "PaperSize.def"
Declare Sub Main
Declare Sub SetPaperSize
Sub Main
Call SetPaperSize
End Sub
Sub SetPaperSize
Dim sCmd as String
Dim iWin as integer
iWin = FrontWindow()
'EITHER OF THESE WILL WORK - ONE USES THE DEFINE ALIAS THE OTHER DOES NOT
sCmd = "Set Window Frontwindow() Printer Papersize 9"
'sCmd = "Set Window Frontwindow() Printer Papersize " + DMPAPER_A4
Run Command sCmd
Note WindowInfo(frontwindow(), WIN_INFO_PRINTER_PAPERSIZE)
End Sub
Conclusion:
Mail List:owner-mapinfo-l
From: Dion Duran <[EMAIL PROTECTED]> on
07/30/2000 05:44 PM MST
To: "'Doug Pease'"
<[EMAIL PROTECTED]>
cc: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
Subject: (Document link: MapInfo -L and Co.)RE:
MI MB compiling error problem
This the reply I got when I ask tech support.
"This is bug# 14223 in MapInfo 6.0."
They didn't give me anymore than that on when it can be fixed.
Dion Duran
Metricon, Inc.
GIS/OPS Systems Analyst
[EMAIL PROTECTED]
-----Original Message-----
From: Doug Pease [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 30, 2000 6:03 PM
To: '[EMAIL PROTECTED]'
Subject: MI MB compiling error problem
List Gurus
I am trying to create an application using the new Set Window Printer
statement in MB 6
When I compile my application with the following statement
Set Window FW
Printer Name "\\NT1\HP1055CM by HP" Orientation Portrait Copies 1
PaperSize 9(or any other number)
I get a System Error message window stating "Internal Error 34623" then MB
just closes down.
Now, if I compile it without including PaperSize it is successful.
Is this a bug or can someone shed some light on this for me.
Thanks
Doug Pease
GISO
Livingstone Shire council
P.O. Box 600
YEPPOON 4703
Ph 49399957
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]