Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

L_PaintDC printing problem for rotated multiple contiguous bitmaps
Started by james@knowbase.co.za at 09-05-2007 8:32. Topic has 12 replies.

Print Search « Previous Thread Next Thread »
  09-05-2007, 8:32
james@knowbase.co.za is not online. Last active: 10/2/2007 8:28:42 AM james@knowbase.co.za

Top 500 Posts
Joined on 06-21-2004
Posts 9
L_PaintDC printing problem for rotated multiple contiguous bitmaps

Attachment: test.jpg
Reply Quote
Hi ?

I have a problem which occurs when printing rotated multiple contiguous bitmaps on the same page. In our drawing package we have a tiling process which aligns the bitmaps next to each other (contiguously) and then I rotate all of the bitmaps by rotating the dc using the GDI function ModifyWorldTransform(). This works perfectly when the dc is the monitor but when the dc is the printer (in this case an HP DesignJet 500 42 by HP), I get white irregular wedges at the junction between the printing band and the borders of the rotated adjoining bitmaps. Have you got any ideas what could be causing this ?

   Report 
  09-06-2007, 3:58
Qasem Lubani is not online. Last active: 9/28/2008 12:30:21 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,090
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps
Reply Quote

To rule out the possibility of a problem in the printer driver, is it possible to test your code using a totally different printer driver?

If it appears on unrelated printers, can you create a small testing project (Not your full application) that shows the issue and send to me in ZIP or RAR file?

Also, please tell me what version of LEADTOOLS you are using?


Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  09-06-2007, 4:39
james@knowbase.co.za is not online. Last active: 10/2/2007 8:28:42 AM james@knowbase.co.za

Top 500 Posts
Joined on 06-21-2004
Posts 9
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps
Reply Quote
Hi Qasem

It is not printer specific... i.e. it appears on unrelated printers. We are using Lead tools 14.5.0.30.

I will create a small testing project now to send to you.

Kind Regards
   Report 
  09-11-2007, 5:23
james@knowbase.co.za is not online. Last active: 10/2/2007 8:28:42 AM james@knowbase.co.za

Top 500 Posts
Joined on 06-21-2004
Posts 9
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps

Attachment: L_PaintDC Problem.zip
Reply Quote
Hi Qasem

Here is a very basic application with bitmaps which illustrates the problem. I have not included the lead tools Redistribution *.dlls (ltkrn14N.dll etc)since it increases the size of the attachment from 266 kB to 3.74 Mb. If you need these I can send them to you though.

Kind Regards
DEV4
   Report 
  09-11-2007, 5:33
james@knowbase.co.za is not online. Last active: 10/2/2007 8:28:42 AM james@knowbase.co.za

Top 500 Posts
Joined on 06-21-2004
Posts 9
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps

Attachment: L_PaintDC ModifyWT Problem.zip
Reply Quote
Hi Qasem

Here is a very basic application with bitmaps which illustrates the problem. This attachment includes the application, bitmaps and necessary lead tools *.dlls. It's only 3.7 Mb's.

Kind Regards
DEV4

   Report 
  09-11-2007, 10:49
Qasem Lubani is not online. Last active: 9/28/2008 12:30:21 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,090
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps
Reply Quote

I have tested the issue here using the EXE and images that you sent me. I printed to a laser HP printer and the issue did not appear.

However, I have noticed that you are using an old build of our LEADTOOLS DLLs. Please send your serial number to support@leadtools.com for patches download instructions.


Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  09-26-2007, 9:08
james@knowbase.co.za is not online. Last active: 10/2/2007 8:28:42 AM james@knowbase.co.za

Top 500 Posts
Joined on 06-21-2004
Posts 9
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps

Attachment: L_PaintDC_Zoom.zip
Reply Quote
Hi Quasem

I tested the application with the 14.5.0.30 Lead Tools modules and it made no difference. We are using an HP Design Jet 500 and I print A2 on an A0 page. I have zoomed in on the bitmap to see maybe if it makes the white triangles larger. I have attached the application, bitmaps and Lead tools *.dlls. I'm not sure if the dest rect being off the print rectangle will make a difference when the DC is a printer when using L_PaintDC

Kind Regards
DEV4
   Report 
  09-27-2007, 3:22
Qasem Lubani is not online. Last active: 9/28/2008 12:30:21 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,090
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps
Reply Quote
I have tested the latest EXE project the sent me and I saw a problem. However, I would like to take a look at your code and debug. Is it possible that you send me a small testing project not an EXE?
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  09-28-2007, 3:34
james@knowbase.co.za is not online. Last active: 10/2/2007 8:28:42 AM james@knowbase.co.za

Top 500 Posts
Joined on 06-21-2004
Posts 9
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps

Attachment: BBFReader Lead Problem.zip
Reply Quote
Hi Qasem

Thanks for looking at this I have attached the project (BBFReader Lead Problem.zip) for the exe I sent you. I cleaned out all the debug and release object files to cut down on the size. This is a much simpler version of the bitmap tiling which we use in our CAD system but it nonetheless illustrates the printing problem which we are experiencing.

Kind Regards
DEV4
   Report 
  10-01-2007, 5:35
Qasem Lubani is not online. Last active: 9/28/2008 12:30:21 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,090
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps
Reply Quote
I have received your project and I'm currently working on it. I will let you know as soon as I have something.
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  10-02-2007, 3:14
Qasem Lubani is not online. Last active: 9/28/2008 12:30:21 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,090
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps
Reply Quote
I want to report this issue to our engineers. Can you please send an email to support@leadtools.com from a valid email address I can use in the reporting process.

Please mention this forum post in your email.
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
  10-02-2007, 3:30
james@knowbase.co.za is not online. Last active: 10/2/2007 8:28:42 AM james@knowbase.co.za

Top 500 Posts
Joined on 06-21-2004
Posts 9
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps
Reply Quote
Hi Qasem

I have sent you an email from my work email address.

Kind Regards
DEV4
   Report 
  10-02-2007, 8:33
Qasem Lubani is not online. Last active: 9/28/2008 12:30:21 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,090
Re: L_PaintDC printing problem for rotated multiple contiguous bitmaps
Reply Quote

I have reported the issue under incident number 6255AMN. If you would like to ask about the status in the future please refer to the incident number.


Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » Printing » L_PaintDC printing problem for rotated multiple contiguous bitmaps

Powered by Community Server, by Telligent Systems