PrimoPDF Forums Need to do more with PDF?

Go Back   PrimoPDF Forums > PrimoPDF > Bug Report
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 11-20-2005, 06:16 PM   #1
stevehaigh
Registered User
 
Join Date: Nov 2005
Posts: 1
problem printing bitmaps to pdf

my program, TabTrax (http://2112design.com) , has a sheet music format print feature. when printing using primopdf, the bit blit images don't print correctly (it prints fine to screen, adobe distiller and most printers). i use this MS API call:

CDC::BitBlt
BOOL BitBlt( int x, int y, int nWidth, int nHeight, CDC* pSrcDC, int xSrc, int ySrc, DWORD dwRop );

for bit map rendering with transparency.

and here is an example of how i print:

pDC->BitBlt( restX, restY, bms->m_bmi.bmWidth, bms->m_bmi.bmHeight, &bms->m_dcMask, 0, 0, SRCAND);
pDC->BitBlt( restX, restY, bms->m_bmi.bmWidth, bms->m_bmi.bmHeight, &bms->m_dc, 0, 0, SRCPAINT);

the first call creates the transparency mask and the 2nd one paints the bitmap. this is standard microsoft API for bit blitting bit maps with transparent background.

when primopdf prints, instead of a nice round music note, i get a rectangular blob, as if the transparency mask was doing the paint.

any ideas?

thanks, steve
stevehaigh is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:09 AM.


Copyright © 2007, activePDF, Inc., All Rights Reserved