[Gambas-user] printer problem

Benoît Minisini gambas at ...1...
Mon Feb 8 17:00:49 CET 2010


> Am 08.02.2010 14:38, schrieb Benoît Minisini:
> >> Am Montag, den 08.02.2010, 08:20 +0100 schrieb Rolf-Werner Eilert:
> >>> Am 06.02.2010 00:52, schrieb Benoît Minisini:
> >>>>> Salut,
> >>>>>
> >>>>> I still haven't solved the Draw.Text tab problem, but I'v a new one
> >>>>> (a problem).
> >>>>>
> >>>>> If you open the printer-setup the first time, the 'Print to printer'
> >>>>> is chosen, and the target-file behind 'Print to file' is empty.
> >>>>>
> >>>>> If you check 'Print to file' and fill the target-file and then you
> >>>>> switch back to 'Print to printer', the target-file field is disabled.
> >>>>> (Setup Printer.png)
> >>>>>
> >>>>> Everything seems to be alright.
> >>>>>
> >>>>> But, and there is my new problem, in my code I can't see what should
> >>>>> be done. (printing 5 times to file, makes no sense)
> >>>>>
> >>>>> Where is the magic pointer, which shows me the chosen device?
> >>>>> (Printer Properties.png)
> >>>>>
> >>>>> Gambas2=2.19.0                  Revision: 2654
> >>>>> qt
> >>>>
> >>>> Just a few word to tell that the printer support has been redesigned
> >>>> in Gambas 3, this is why I didn't touch the Gambas 2 one anymore.
> >>>>
> >>>> Now in Gambas 3, it should work as it should have worked since the
> >>>> beginning, with both Qt and GTK+.
> >>>>
> >>>> Regards,
> >>>
> >>> That means, no need to print into a file anymore? Great news, Benoit!
> >>>
> >>> On the other hand, after having worked with the workaround for such a
> >>> long time, I found some advantages in working with print files, e. g. I
> >>> now can store every form or letter I printed for the students so I can
> >>> look them up later if anything is unclear or no copy available ("what
> >>> the hack did I print for her then...")
> >>>
> >>> Regards
> >>>
> >>> Rolf
> >>
> >> Salut Rolf,
> >>
> >> for me, the way was the other way around. Printing works (with gambas),
> >> and I wanted to store automatic one copy as PDF in an archive.
> >> And had discovered the error in the Printer.Setup.
> >
> > Apparently this feature is managed by CUPS: there is an option to archive
> > all documents sent to printers.
> >
> > Regards,
> 
> Oh, that's nice! Never saw this, never knew :-) Tanks for the tipp!
> 
> But in my specific case, it is easier to have my student database
> program store the documents as per students' names. Easier to retrieve,
> I mean.
> 
> But where is this Printer Setup thing you use, is it a CUPS frontend? I
> know CUPS only from its localhost website frontend. (General setup is
> done via the Suse-wide Yast tool.)
> 
> Regards
> 
> Rolf
> 

It's "system-config-printer", made by RedHat. It is installed by default on 
Mandriva as soon as you install a printer.

Regards,

-- 
Benoît Minisini




More information about the User mailing list