[Gambas-user] printing issue

Dimitris Anogiatis dosida at ...626...
Thu Mar 4 17:51:07 CET 2010


Hey Robi,
As an alternative you could also get a list of the install printers by doing

Dim prnList as String
SHELL (lpstat -a) to prnList

Hope this helps

Regards,
Dimitris

On Thu, Mar 4, 2010 at 4:39 AM, Doriano Blengino <
doriano.blengino at ...1909...> wrote:

> Robert JUHASZ ha scritto:
> > Hello List,
> >
> > I have a small issue with the printer handling of my application: when I
> try
> > to print, the list of printers is empty and consequently the OK button is
> > disabled (there are printers installed on the computers). If I click on
> > cancel, the default printer prints out the document. If I print to file
> it
> > works well.
> >
> > Development computer: Ubuntu 9.10, package made on Gambas 2.19 and 2.20.
> > User computer: Ubuntu 9.10, no gambas installed.
> >
> It happened to me, on an Ubuntu machine.
> If I well remember, I deleted the file /etc/printcap which was /not/
> containing right informations about the installed printers. There was
> cups installed but, after an analysis, I discovered that QT searched in
> printcap instead of the right place. By deleting the file, QT started to
> search in the right place.
>
> I don't have that machine at hands right now, so I only go by memory;
> you can carefully make some test. I used strace to see what gambas/QT
> was doing: if you want you can do the same. Please take this words
> seriously - really I am not sure.
>
> Regards,
> Doriano
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list