Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Adobe Distiller

Adobe Distiller

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsadobehelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dr Kuulun
    wrote on last edited by
    #1

    Hi, I have a problem with the output of CBitmap images to Adobe Distiller. I can see my bitmap in the view and the preview. Printing is also fine. But the output into pdf does not work. Text and other graphics like lines or boxes works fine, only bitmaps are not visible. Is there anybody with a solution in the world? Greetings from Hannover, Germany Markus Dr-Kuulun

    D 1 Reply Last reply
    0
    • D Dr Kuulun

      Hi, I have a problem with the output of CBitmap images to Adobe Distiller. I can see my bitmap in the view and the preview. Printing is also fine. But the output into pdf does not work. Text and other graphics like lines or boxes works fine, only bitmaps are not visible. Is there anybody with a solution in the world? Greetings from Hannover, Germany Markus Dr-Kuulun

      D Offline
      D Offline
      Dr Kuulun
      wrote on last edited by
      #2

      I forgot my code:

      CDC dc;
      dc.CreateCompatibleDC(pDC);
      CBitmap b;
      b.LoadBitmap(IDB\_BITMAP1);
      dc.SelectObject(&b);
      pDC->StretchBlt(100,100,200,200,&dc,0,0,48,48,SRCCOPY);
      pDC->MoveTo(0,0);
      pDC->LineTo(100,100);
      

      The line is visible but not the bitmap. Dr-Kuulun

      H 1 Reply Last reply
      0
      • D Dr Kuulun

        I forgot my code:

        CDC dc;
        dc.CreateCompatibleDC(pDC);
        CBitmap b;
        b.LoadBitmap(IDB\_BITMAP1);
        dc.SelectObject(&b);
        pDC->StretchBlt(100,100,200,200,&dc,0,0,48,48,SRCCOPY);
        pDC->MoveTo(0,0);
        pDC->LineTo(100,100);
        

        The line is visible but not the bitmap. Dr-Kuulun

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        Hi Dr-Kuulun I run your code and this work. I enter CDC *pDC=GetDC(); that I dont find in your code CDC dc; CDC *pDC=GetDC(); dc.CreateCompatibleDC(pDC); CBitmap b; b.LoadBitmap(IDB_BITMAP1); dc.SelectObject(&b); pDC->StretchBlt(100,100,200,200,&dc,0,0,48,48,SRCCOPY); pDC->MoveTo(0,0); pDC->LineTo(100,100);

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups