Zebra Driver - Device Line Substitution 追蹤

0
Avatar
Legacy Poster

Hello,

 

I'm testing the seagull printer driver for a Zebra R110XI and a ZM400 under WPF. My OS is Win7 pro.

 

The Font Substitution works fine.

 

But the Device Line Substitution does not work. I have some Rectangles to print and they would be print as a graphics !?

I have done many tests ...

 

Has anyone a idea ?

 

Thank you !

2 意見

0
Avatar
Ian Einman
評論操作 永久連結

It won't work, because .NET does not use GDI for printing, it uses GDI+, which sends most commands as one big bitmap to the printer rather than sending line commands that the driver can understand.  If you use interop calls to call PatBlt, BitBlt, or StrokePath it should work, but this is very advanced and not something we can help you with in detail.

 

(I'm actually surprised you're seeing Font Substitution work, in older versions of .NET that didn't work either.)

0
Avatar
Legacy Poster
評論操作 永久連結

Hello,

 

yes, WPF uses the GDI renderer. 

 

But the Zebra and the Nice driver makes a Line Substitution but no Font Substitution !!!

 

So, It's possible !?

登入寫評論。