Impression dans un fichier Ps avec Gambas.

View: New views
3 Messages — Rating Filter:   Alert me  

Impression dans un fichier Ps avec Gambas.

by jacky-12 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Re,

Autre chose aussi, qu'on sélectionne de la page 1 a la page 1 on imprime tout.

A bientôt.

Jacky


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Impression dans un fichier Ps avec Gambas.

by Fabien Bodard-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Public Sub Button1_Click()

  If Printer.Setup() Then Return
  Draw.Begin(Printer)
  Print "coucou"
  'Printer.NewPage
  'Print "coucou2"
  Draw.End()
End


il faudrait que benoit teste ..; j'ai bien la création du fichier mais
rien dedans !

2008/5/28 Jacky <jscops@...>:

>
> Re,
>
> Autre chose aussi, qu'on sélectionne de la page 1 a la page 1 on imprime tout.
>
> A bientôt.
>
> Jacky
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Impression dans un fichier Ps avec Gambas.

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On mercredi 28 mai 2008, Fabien Bodard wrote:

> Public Sub Button1_Click()
>
>   If Printer.Setup() Then Return
>   Draw.Begin(Printer)
>   Print "coucou"
>   'Printer.NewPage
>   'Print "coucou2"
>   Draw.End()
> End
>
>
> il faudrait que benoit teste ..; j'ai bien la création du fichier mais
> rien dedans !
>
> 2008/5/28 Jacky <jscops@...>:
> > Re,
> >
> > Autre chose aussi, qu'on sélectionne de la page 1 a la page 1 on imprime
> > tout.
> >
> > A bientôt.
> >
> > Jacky
> >
> >

L'exemple "Printer" fonctionne parfaitement chez moi.

D'autre part sélectionner des choses dans le dialogue de paramétrage
d'impression n'impose rien. C'est à la routine d'impression de prendre en
compte le contenu des propriétés de Printer (MinPage, MaxPage, etc.).

A+

--
Benoit Minisini

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
LightInTheBox - Buy quality products at wholesale price