Try a different method: -
1/. Create the logo in a drawing app. I used LibreOffice Draw
2/. Export the image to a PDF
3/. In Gambas shell "lp -d PrinterName /Path/to/pdf.pdf"
Done
This took me 10 mins to create and print on a Brother QL-570
Search found 1113 matches
- Thursday 15th September 2022 5:25pm
- Forum: General
- Topic: Convert this C code to Gambas
- Replies: 10
- Views: 1994
- Monday 12th September 2022 4:13pm
- Forum: General
- Topic: Task issue
- Replies: 3
- Views: 707
Re: Task issue
Thanks, Bruce. This is now working as I expected.
- Sunday 11th September 2022 2:42pm
- Forum: General
- Topic: Task issue
- Replies: 3
- Views: 707
Task issue
I can use a shell command without issue: - Public sUrl As String = "https://www.youtube.com/watch?v=Gu9sqZZOiR0&t=66s" Public Sub Form_Open() Shell "youtube-dl " & sUrl Wait ''This works End I would like to do this in a Task but when I try I get 40+ error lines like this:...
- Sunday 28th August 2022 4:32pm
- Forum: General
- Topic: Raise event in custom component
- Replies: 7
- Views: 1293
Re: Raise event in custom component
Try GridView1_Arrange(). This is triggered when the GridView has finished arranging its contents. NOTE that if you change anything or resize the Form this will be triggered.
Can't you simply call ChangeCat as the last command in _new()?
Can't you simply call ChangeCat as the last command in _new()?
- Friday 26th August 2022 3:45pm
- Forum: Project showcase
- Topic: a Gambas recent files Lister (TrayIcon)
- Replies: 26
- Views: 21742
Re: a Gambas recent files Lister (TrayIcon)
I'll check this out in the next stable release.
It may have fixed another issue with my desktop when 2 TrayIcons are showing.
Then with my AlarmTimer running: -
It may have fixed another issue with my desktop when 2 TrayIcons are showing.
Then with my AlarmTimer running: -
- Sunday 21st August 2022 11:26am
- Forum: General
- Topic: Music controls
- Replies: 7
- Views: 1326
Re: Music controls
I've just seen mps-youtube (and others) on the command line which I think could be run from EXEC[]. Just a thought! Thanks Bill, but I have already written the player, and it uses youtube-dl to download the music I like. What I want to do is connect it to the built-in music controls that most distr...
- Saturday 20th August 2022 3:46pm
- Forum: General
- Topic: Music controls
- Replies: 7
- Views: 1326
Re: Music controls
Thanks Bruce. I think, as thatbruse says, this would not be easy. I'd need to understand dbus first.
- Friday 19th August 2022 3:45pm
- Forum: General
- Topic: Music controls
- Replies: 7
- Views: 1326
Music controls
If I go to YouTube in Chrome and play a song, a player control is available in the system tray.
I would like to access this from within Gambas.
Has anybody got any idea how to do this.
Linux Mint 20.3 Cinnamon Desktop
I would like to access this from within Gambas.
Has anybody got any idea how to do this.
Linux Mint 20.3 Cinnamon Desktop
- Tuesday 16th August 2022 9:43am
- Forum: Project showcase
- Topic: a Gambas recent files Lister (TrayIcon)
- Replies: 26
- Views: 21742
Re: a Gambas recent files Lister (TrayIcon)
Hi Bruce,
Yes, that has fixed the [Alt]+[Tab] issue, thanks.
I clicked the option to change the setting to not show the file path and although this worked I got an error:-
Yes, that has fixed the [Alt]+[Tab] issue, thanks.
I clicked the option to change the setting to not show the file path and although this worked I got an error:-
- Saturday 13th August 2022 4:36pm
- Forum: General
- Topic: format, cfloat, math operations
- Replies: 4
- Views: 1223
Re: format, cfloat, math operations
I have to agree with this. I always store currency as an integer, much safer.The other caution I would suggest is that you NOT use a float variable to store and handle currency ... it will lead to trouble, I usually use a string or integer to store currency.