use PDF as BMP in printer.prg ?

use PDF as BMP in printer.prg ?

Postby Romeo » Mon Feb 29, 2016 6:42 pm

Hi,

is it possible to manage a PDF file like BMP file ?

I use the oprn:saybitmap(.....) to put BMP file on page and then write what i need.

is possible to do something like oprn:saypdf(...) ?

tks all
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: use PDF as BMP in printer.prg ?

Postby Romeo » Tue Mar 01, 2016 3:37 pm

Or possible to convert a PDF file (singol page) e in BMP/JPG ?

tks
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: use PDF as BMP in printer.prg ?

Postby Antonio Linares » Wed Mar 02, 2016 3:13 pm

Romeo,

Once the PDF is shown then we can generate a BMP from it using oWnd:SaveToBmp( cBmpFileName )

I just tried samples\pdf.prg to display a PDF but it is not working. I guess that we need a more recent "AcroPDF.PDF.1" value

Maybe other PDF users could help us here
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: use PDF as BMP in printer.prg ?

Postby Romeo » Wed Mar 02, 2016 5:08 pm

it works, but i got the full screen with Acrobat Reader Bar & Button

Where can i found the oher method for the activex() ?

Like oActivex:Do("LoadFile"...)
oActivex:Do("SetCurrentPage")

Must exist also something like oActivex:Do("OtherParameters") ?

tks
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: use PDF as BMP in printer.prg ?

Postby Antonio Linares » Wed Mar 02, 2016 5:10 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: use PDF as BMP in printer.prg ?

Postby Romeo » Wed Mar 02, 2016 6:26 pm

Good !!!

tks Antonio
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 81 guests