[Gambas-user] R: Re: Function and Printers
vuott at ...152...
vuott at ...152...
Thu Feb 7 01:14:01 CET 2013
>Don't know but if you get no simple positive reply to this I can send
>you a Function that uses lpstat and cups to return a string array of
>printers.
>Regards
>richard
Thank you, Richard,
but actually I wrote for me a little simple function only with Gambas methods:
Public Sub Button1_Click()
Dim stampante As String
For Each stampante In Dir("/etc/cups/ppd/", "*.ppd").Sort()
Print File.BaseName(stampante)
Next
End
However, Richard, thanks.
bye
vuott
100 Foto a solo 1 € su Tiscali Photo
Offerta valida per un periodo limitato per i nuovi iscritti sui formati 10x.
More information about the User
mailing list