Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Print JPG
HI,

is there a free lib available to print JPG´s within Clipper 5.2 ??



Report this thread to moderator Post Follow-up to this message
Old Post
Eckhard Sallermann
03-14-08 11:55 PM


Re: Print JPG
could also be a smal EXE or COM wich will be called with the clipper
run-command


"Eckhard Sallermann" <ecki@bur-kg.de> schrieb im Newsbeitrag
news:fre6jo$8ef$1@registered.motzarella.org...
> HI,
>
> is there a free lib available to print JPG´s within Clipper 5.2 ??
>



Report this thread to moderator Post Follow-up to this message
Old Post
Eckhard Sallermann
03-14-08 11:55 PM


Re: Print JPG
Hi,

look at irfanview (iview) http://www.irfanview.net/
It takes command line parameters , one of it is print :-) and can run
without installation.

Hth
Tom


"Eckhard Sallermann" <ecki@bur-kg.de> schrieb im Newsbeitrag
news:fre75v$baf$1@registered.motzarella.org...
> could also be a smal EXE or COM wich will be called with the clipper
> run-command
>
>
> "Eckhard Sallermann" <ecki@bur-kg.de> schrieb im Newsbeitrag
> news:fre6jo$8ef$1@registered.motzarella.org... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
tom knauf
03-14-08 11:55 PM


Re: Print JPG
Dear Eckhard Sallermann:

On Mar 14, 8:45=A0am, "Eckhard Sallermann" <e...@bur-kg.de> wrote:
> HI,
>
> is there a free lib available to print JPG=B4s within
> Clipper 5.2 ??

You might be able to drive Adobe Acrobat Reader to display and print a
JPG, even provide print preview.  Via RUN().

You can also use "Windows Picture and Fax Viewer" to do it.  Via
RUN().
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=3D10996

=2E.. assuming you are running in a DOS console window in WinDoze.

David A. Smith

Report this thread to moderator Post Follow-up to this message
Old Post
dlzc
03-14-08 11:55 PM


Re: Print JPG
Okay,thank you so far, but i think i have forgotten a detail, i want to
print a jpg as a invoice-header on top of page, after this jpg-printing no
formfeed should  be done and before printing this jpg i have to set some
presets fpr the printer like paperselection with some (?) commands.
i want no output to screen from that printingtool

"dlzc" <dlzc1@cox.net> schrieb im Newsbeitrag
news:102a5785-7d7b-41a8-bd43-764c7a236870@i12g2000prf.googlegroups.com...
Dear Eckhard Sallermann:

On Mar 14, 8:45 am, "Eckhard Sallermann" <e...@bur-kg.de> wrote:
> HI,
>
> is there a free lib available to print JPG´s within
> Clipper 5.2 ??

You might be able to drive Adobe Acrobat Reader to display and print a
JPG, even provide print preview.  Via RUN().

You can also use "Windows Picture and Fax Viewer" to do it.  Via
RUN().
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=10996

... assuming you are running in a DOS console window in WinDoze.

David A. Smith



Report this thread to moderator Post Follow-up to this message
Old Post
Eckhard Sallermann
03-15-08 08:55 AM


Re: Print JPG
Dear Eckhard Sallermann:

"Eckhard Sallermann" <ecki@bur-kg.de> wrote in message
news:frfr9a$en8$1@registered.motzarella.org...
> Okay,thank you so far, but i think i have forgotten
> a detail, i want to print a jpg as a invoice-header
> on top of page, after this jpg-printing no formfeed
> should  be done and before printing this jpg i
> have to set some presets fpr the printer like
> paperselection with some (?) commands.
> i want no output to screen from that printingtool

You had another responder that made a suggestion.

If you can first convert the JPG to an ugly 16 color BMP, you can
do this:
http://www.the-oasis.net/ftpmaster....tent=ftplib.htm
... bmp2hp.zip

convert the image to a PCX first (probably limited to 256
colors), then
http://www.the-oasis.net/ftpmaster....nt=ftpgenrl.htm
... prnpcx.zip

To do all the things you describe, I would upgrade to xHarbour
and use OLE to invoke Word or OpenOffice to create the document.
Or use pre-printed forms.

David A. Smith



Report this thread to moderator Post Follow-up to this message
Old Post
N:dlzc D:aol T:com \(dlzc\)
03-15-08 11:55 PM


Re: Print JPG
Eckhard

If you are using a standard printer (or printer language such as a PCL),
you can try the following:-

1) Print the JPG image *to file* using a windows program.
2) Examine the output file and send the same sequence of commands from
your program.

Regards
"aardvark"

Eckhard Sallermann wrote:
> Okay,thank you so far, but i think i have forgotten a detail, i want to
> print a jpg as a invoice-header on top of page, after this jpg-printing no
> formfeed should  be done and before printing this jpg i have to set some
> presets fpr the printer like paperselection with some (?) commands.
> i want no output to screen from that printingtool
>
> "dlzc" <dlzc1@cox.net> schrieb im Newsbeitrag
> news:102a5785-7d7b-41a8-bd43-764c7a236870@i12g2000prf.googlegroups.com...
> Dear Eckhard Sallermann:
>
> On Mar 14, 8:45 am, "Eckhard Sallermann" <e...@bur-kg.de> wrote: 
>
> You might be able to drive Adobe Acrobat Reader to display and print a
> JPG, even provide print preview.  Via RUN().
>
> You can also use "Windows Picture and Fax Viewer" to do it.  Via
> RUN().
> http://www.jsifaq.com/SF/Tips/Tip.aspx?id=10996
>
> ... assuming you are running in a DOS console window in WinDoze.
>
> David A. Smith
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
aardvark
03-15-08 11:55 PM


Re: Print JPG
thank you for your information


"Eckhard Sallermann" <ecki@bur-kg.de> schrieb im Newsbeitrag
news:frfr9a$en8$1@registered.motzarella.org...
> Okay,thank you so far, but i think i have forgotten a detail, i want to
> print a jpg as a invoice-header on top of page, after this jpg-printing no
> formfeed should  be done and before printing this jpg i have to set some
> presets fpr the printer like paperselection with some (?) commands.
> i want no output to screen from that printingtool
>
> "dlzc" <dlzc1@cox.net> schrieb im Newsbeitrag
> news:102a5785-7d7b-41a8-bd43-764c7a236870@i12g2000prf.googlegroups.com...
> Dear Eckhard Sallermann:
>
> On Mar 14, 8:45 am, "Eckhard Sallermann" <e...@bur-kg.de> wrote: 
>
> You might be able to drive Adobe Acrobat Reader to display and print a
> JPG, even provide print preview.  Via RUN().
>
> You can also use "Windows Picture and Fax Viewer" to do it.  Via
> RUN().
> http://www.jsifaq.com/SF/Tips/Tip.aspx?id=10996
>
> ... assuming you are running in a DOS console window in WinDoze.
>
> David A. Smith
>



Report this thread to moderator Post Follow-up to this message
Old Post
Eckhard Sallermann
03-17-08 12:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clipper archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:13 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.