For Programmers: Free Programming Magazines  


Home > Archive > Clipper > September 2005 > create own printer device









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author create own printer device
Andreas Moroder

2005-09-22, 6:55 pm

Hello

is it possible to write a output device ( printer ) in clipper and to
set it via
"set device to" [ Set( _SET_DEVICE, "MYDEVICE" ) ] ?

Bye
Andreas
E. Fridman

2005-09-22, 6:55 pm

Andreas,

What are you trying to achieve?

amoroder

2005-09-23, 3:55 am


E. Fridman wrote:
> Andreas,
>
> What are you trying to achieve?

Use the very nice print Functions of vouch32 without the need to
rewrite all my applications. It would be possible to modify the std.ch
to use the vouch funtions, but this works only if all the prints should
go through this lib. This is not the case in our application where
certain prints must be fast ( character mode ) and without the user to
chose where to print and others can be slower but nicer.

There is also a tecnical problem using the vouch32 libs. The clipper
print engine starts a new page when the line position is set back to
zero while vouch32 needs a call to V32PNewPage

Bye
Andreas

P.S.: does anyone know how to print from wouch without the printer
selection window popping up ?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com