English
Forum

actually XProfanX2 - Version: crash at Print (liegts on the Druckertreiber?)

 
- Page 1 -



Stephan
Sonneborn
Hello together,

I have one Program written, that too a Druckerausgabe contain. unfortunately had I check, that The actually X2it Version a crash with a Verweis on a Speicherbereich in link with READ lead.
I can The Fehlermldung unfortunately not as Screenshot supplying, because the Error me naturally not appears.
Komischerweise can I on one pdf-printer correct print and the 11it Version produced too none Error (with one and the same Source).
I go therefore sooner of it from, that the Druckertreiber (Canon Laserdrucker and Kopierer, as well as Canon Tintenstrahler) ne Macke has.
therefore The Please contact you: could your time whom small code testing? I Have NEN HP Officejet per 8500 Wireless, there works How said, without Problems.
CLS
PRINT "Bitte Button drücken"
WAITINPUT
STARTPRINT "*XProfanX2-Drucktest"
DRAWTEXT 100,10, "Das is a Test.", 6
ENDPRINT
END

thanks already time in ahead!!!

PS: @Roland: has itself with the Druckergeschichte what changed? could printer evtl. with the new DrawText-extensions Problems having?

PS2: have yet The Align at DrawText-commands added.
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
02/18/11  
 



 
- Page 2 -



Stephan
Sonneborn
RGH (24.02.11)
when comes the crash very? already at DrawSizedPic (if the image on The virtual Druckseite (pressure-DC) brought becomes or first at EndPrint, if The Page to that printer skillful becomes? (I suspect time latter.)


Hello Roland,

I Have attempts, a Error To produzieren, there Yes PRINT command during the Druckens not permits are. but To to Error Message comes the program not. that is for me, that it the DRAWSIZEDPIC-commands is...
DECLARE MemBmp&
MemBMP& = CREATE("HPIC", 0, "Toolbar")
CLS
PRINT "Taste Drücken"
WAITINPUT
DRAWSIZEDPIC MemBMP&, 100,100-%BMPX,%BMPY;0
PRINT "Taste pressing for Drucken"
Waitinput
STARTPRINT "*Drucktest"
DRAWSIZEDPIC MemBMP&, 100,100-%BMPX,%BMPY;0
PRINT "Das should a Error Message cause..."
ENDPRINT
END
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
02/24/11  
 




RGH
You can to that Debuggen in such Make naturally Messageboxen install. so make I the usually.
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
02/24/11  
 




Stephan
Sonneborn
RGH (24.02.11)
Hm, the whole is already right strange, I concerning the Druckens and the in the example in-laws command between XProfan 11 and XProfan X2 nothing changed have.


Hello Roland,

with DRAWPIC functions it incidentally...
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
02/24/11  
 




RGH
now becomes it yet seltsamer! i'll once more The Codes vergleichen ...

BTW: exit the trouble on, if one with StartPrint none names or not the * angibt?
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
02/24/11  
 




Stephan
Sonneborn
RGH (24.02.11)
BTW: exit the trouble on, if one with StartPrint none names or not the * angibt?


Yes, too STARTPRINT integrally without Parameter or only with Druckseitenname without Druckerdialog bring whom Error...
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
02/24/11  
 




RGH
Aaahh, a tiny Difference have I fixes: I use at suitable StretchDIBits, with the I the image on the printer-DC schiebne whom angegebenen Kopiermodus in lieu of the Konstanten SCRCOPY, The I otherwise (logischerweise) with all Bitmap-Druckereien use.

Stephan, can I,may I you rasch a Version zuschicken, where I the changed have?

Greeting
Roland
(throws already time whom Packer on)
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
02/24/11  
 




Stephan
Sonneborn
Stephan Sonneborn (24.02.11)
Hm, the whole is already right strange, I concerning the Druckens and the in the example in-laws command between XProfan 11 and XProfan X2 nothing changed have.


Stephan Sonneborn (24.02.11)
Hello Roland,


Stephan Sonneborn (24.02.11)
with DRAWPIC functions it incidentally...


Sorry Roland, I must me revidieren: the Program comes only To to Messagebox and power then with ENDPRINT whom Error.
with DRAWSIZEDPIC come I do not To to Messagebox.
DECLARE MemBmp&
MemBMP& = CREATE("HPIC", 0, "Toolbar")
CLS
PRINT "Taste Drücken"
WAITINPUT
DRAWSIZEDPIC MemBMP&, 100,100-%BMPX,%BMPY;0
PRINT "Taste pressing for Drucken"
Waitinput
STARTPRINT "Drucktest"
DRAWPIC MemBMP&, 100,100;0
'DRAWSIZEDPIC MemBMP&, 100,100-%BMPX,%BMPY;0
MESSAGEBOX("Test", "Jetzt matching ENDPRINT", 64)
ENDPRINT
END
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
02/24/11  
 




Stephan
Sonneborn
RGH (24.02.11)
Stephan, can I,may I you rasch a Version zuschicken, where I the changed have?


Klaro!
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
02/24/11  
 




RGH
äääähm ... How is yet same your Email-address? (can me Yes a Mail send, on The I then answer.
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
02/24/11  
 




Stephan
Sonneborn
RGH (24.02.11)
äääähm ... How is yet same your Email-address? (can me Yes a Mail send, on The I then answer.


is on the way...
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
02/24/11  
 




RGH
pkg is on the way!
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
02/24/11  
 




Stephan
Sonneborn
thanks, is arrived.

but no success...

Gleiches behaviour How before:

DRAWPIC comes To to MESSAGEBOX to the commands and to ENDPRINT
DRAWSIZEDPIC comes not To to Messagebox.
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
02/24/11  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

21.560 Views

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie