Go to advanced search

by scruss
Mon Jul 13, 2020 2:49 pm
Forum: Troubleshooting
Topic: Xerox 3040 / Xerox 3010 install
Replies: 13
Views: 5778

Re: Xerox 3040 / Xerox 3010 install

Code: Select all

sudo apt install cups system-config-printer printer-driver-foo2zjs
should do it. This started as a very old thread that pre-dates any maintenance on the foo2zjs debian package.
by scruss
Sun Jul 12, 2020 7:07 pm
Forum: Advanced users
Topic: Cool-retro-term
Replies: 17
Views: 4031

Re: Cool-retro-term

It's doing quite a bit of graphics processing. I think it inherited some of xscreensaver display models, one of which includes a full simulation of an analogue NTSC display
by scruss
Sat Jul 11, 2020 9:03 pm
Forum: Beginners
Topic: How do I print a Python Program
Replies: 33
Views: 715

Re: How do I print a Python Program

Thonny's the GUI supported by the Raspberry Pi OS developers. Idle3's printing facilities don't usually fit on the page. It's best avoided.
by scruss
Sat Jul 11, 2020 4:33 pm
Forum: Beginners
Topic: How do I print a Python Program
Replies: 33
Views: 715

Re: How do I print a Python Program

Thank you for your reply but I am really happy with the results produced using the method suggested by pcmanbob, especially as it gives the easy option to keep a copy on a PC. NP. Just found it rather funny that the thread got to the second page via WinSCP and Norton before anyone suggested the gla...
by scruss
Sat Jul 11, 2020 2:52 pm
Forum: Beginners
Topic: How do I print a Python Program
Replies: 33
Views: 715

Re: How do I print a Python Program

RDS wrote:
Thu Jul 09, 2020 6:36 pm
I am trying unsuccessfully to print out the code of a Python3 program.

I was just hoping to do it directly from within the IDE.
If you're running from Thonny: Ctrl-P … it prints via Chromium, and by a rather roundabout route produces these not-bad-at-all results:
thonny_print.jpg
thonny sample print
thonny_print.jpg (42.63 KiB) Viewed 161 times
by scruss
Sat Jul 11, 2020 1:56 pm
Forum: Troubleshooting
Topic: Booted once, wont boot. Followed stickies..
Replies: 16
Views: 344

Re: Booted once, wont boot. Followed stickies..

In order of likelihood:
  1. bad/inadequate power supply
  2. faulty/counterfeit SD card
  3. faulty Raspberry Pi
Sorry it didn't work out for you.
by scruss
Fri Jul 10, 2020 4:37 pm
Forum: Troubleshooting
Topic: "Make" Command failing
Replies: 1
Views: 75

Re: "Make" Command failing

Make command for which package, please? Info and download link would help us a lot.
by scruss
Fri Jul 10, 2020 12:29 pm
Forum: Assistive technology and accessibility
Topic: Special needs switches, a Pi and TV
Replies: 4
Views: 196

Re: Special needs switches, a Pi and TV

Hey, I do assistive technology for the Canadian national charity the Neil Squire Society . We're one of the few groups that works with technology directly for helping people with disabilities. My colleagues have done a lot of work on accessible remote control systems.Disclosure: I get paid to do thi...
by scruss
Thu Jul 09, 2020 11:36 am
Forum: Python
Topic: simplekml tracks not pinpoints
Replies: 6
Views: 201

Re: simplekml tracks not pinpoints

GPS Visualizer used to use gpsbabel as its backend. Unless your input file is very irregular, it should be able to convert it. If your CSV source is direct from a GPS device and contains lots of entries with "GP..." in them, it's already in NMEA 0183 format and can be read by lots of geo utilities.
by scruss
Wed Jul 08, 2020 3:05 pm
Forum: Troubleshooting
Topic: Printing using CUPS won't print PDFs with images
Replies: 3
Views: 90

Re: Printing using CUPS won't print PDFs with images

Welcome to Raspberry Pi. Thanks for giving all of the details. It's appreciated. Huh, strange problem. The HL-L2320D is USB-only, so the usual network and IPP niftiness isn't available. Can you print a test page? Because (in the background) that's a PDF, possibly containing images. Pretty much every...
by scruss
Wed Jul 08, 2020 2:43 pm
Forum: Advanced users
Topic: Mapping Left Alt to Meta for Emacs in Console
Replies: 10
Views: 308

Re: Mapping Left Alt to Meta for Emacs in Console

Selecting "Localisation Options" and then "Change Keyboard Layout" in raspi-config does not seem to allow any manual changes. All it does is print "Reloading keymap. This may take a short while" and then return to the "Localisation Options" menu. Do you have a keyboard attached? raspi-config will s...
by scruss
Wed Jul 08, 2020 2:26 pm
Forum: Camera board
Topic: Issue: Why Can't I Take PNG Images with a Consistent Interval?
Replies: 3
Views: 159

Re: Issue: Why Can't I Take PNG Images with a Consistent Interval?

That, and saving an image to a compressed format will always take a variable amount of time depending on the scene complexity and number of blocks written.
by scruss
Tue Jul 07, 2020 12:42 pm
Forum: Beginners
Topic: Older gimp on rpi4
Replies: 3
Views: 95

Re: Older gimp on rpi4

As an alternative approach, have you considered updating the scripts to be compatible with the current supported version of GIMP … The internal changes from 2.8 to 2.10 were huge. Most scripts would need to be entirely rewritten. A lot of the old scripts I used to rely on have gone away completely....
by scruss
Sun Jul 05, 2020 4:08 pm
Forum: Python
Topic: simplekml tracks not pinpoints
Replies: 6
Views: 201

Re: simplekml tracks not pinpoints

KML isn't really great for tracks: it was originally designed for drawing visible annotations to maps. SimpleKML doesn't seem to support the gx:Track extension, which is what you need for making tracks. If you want to stick with KML, maybe try creating a LineString from an array of coordinates. Ever...
by scruss
Sat Jul 04, 2020 6:35 pm
Forum: Raspberry Pi OS
Topic: [SOLVED] keyboard layout setting and switching for the Consoles.
Replies: 2
Views: 170

Re: simple? keyboard layout setting and switching for the Consoles.

Not really: or none that I know of, and I was supporting console-based Linux users back when it was a thing. You might be able to define a macro that calls loadkeys with the right keymap argument, but to get the whole thing to stick you likely need to call dpkg-reconfigure keyboard-configuration at ...
by scruss
Sat Jul 04, 2020 6:10 pm
Forum: General discussion
Topic: How do I get vi back
Replies: 15
Views: 453

Re: How do I get vi back

My understanding is Bill Joy's original vi became open source about 10 years ago when the code for ex upon which it was based was made public. There is no port for Linux as far as I know, though nvi is another clone which unlike vim tries to maintain bug-for-bug compatibility with the original. The...
by scruss
Sat Jul 04, 2020 1:25 pm
Forum: General discussion
Topic: How do I get vi back
Replies: 15
Views: 453

Re: How do I get vi back

Also, as the regular user, do this:

Code: Select all

select-editor
This will allow you to choose the flavour of vi(m) you see to replace nano. vim.basic has a few more forgiving defaults than vim.tiny, but traditionalists may hate it.
by scruss
Sat Jul 04, 2020 2:01 am
Forum: General discussion
Topic: The Raspberry Pi 4 is missing one small connector
Replies: 10
Views: 517

Re: The Raspberry Pi 4 is missing one small connector

No, the J2 header's the very useful run/reset header
by scruss
Sat Jul 04, 2020 12:43 am
Forum: General discussion
Topic: The Raspberry Pi 4 is missing one small connector
Replies: 10
Views: 517

Re: The Raspberry Pi 4 is missing one small connector

It doesn't really need a fan. Make sure all the packages are up to date, and the new EEPROM settings should keep it running at a decent temperature. If you're overclocking, though, you're on your own
by scruss
Fri Jul 03, 2020 2:26 pm
Forum: Python
Topic: Error Installing python libraries on rasbarian
Replies: 10
Views: 362

Re: Error Installing python libraries on rasbarian

sudo pip3 install sparkfun-qwiic-i2c worked for me: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting sparkfun-qwiic-i2c Downloading https://files.pythonhosted.org/packages/f4/6d/c474b9b8963654363e1b232eb0a3f85432f88f7e67987803801df0bfe647/sparkfun_qwiic_i2c-0....
by scruss
Fri Jul 03, 2020 1:10 am
Forum: Python
Topic: Error Installing python libraries on rasbarian
Replies: 10
Views: 362

Re: Error Installing python libraries on rasbarian

dbrion06 wrote:
Thu Jul 02, 2020 1:01 pm
Give a link to sparkfun library? (give her name : like Lady Ada, they write a lot?) I hope/bet you did not forget her name)
SparkFun Electronics (founded in 2003 by Nate Seidle) is not the same as Adafruit Industries (founded in 2005 by Limor “Ladyada” Fried).
by scruss
Tue Jun 30, 2020 8:51 pm
Forum: Networking and servers
Topic: RPi as virtual PDF printer hooked up throughout USB ?
Replies: 6
Views: 895

Re: RPi as virtual PDF printer hooked up throughout USB ?

The Raspberry Pi Zero and all of the Raspberry Pi A models can do USB OTG without power issues. Getting one to spoof a USB ESC/POS printer, though, won't be easy.
by scruss
Tue Jun 30, 2020 5:03 pm
Forum: General discussion
Topic: How to display markdown document with rendering on RPi4?
Replies: 5
Views: 259

Re: How to display markdown document with rendering on RPi4?

No matter what editor you use, you'll need something to render the md to HTML: sudo apt install cmark markdown There are lots of flavours of Markdown: cmark is now more common, but markdown is Gruber's original Perl script. The editor I use has a preview/render option, which drops a copy of the rend...
by scruss
Mon Jun 29, 2020 6:33 pm
Forum: Off topic discussion
Topic: Window bug on Pi 2b-3b+-4
Replies: 6
Views: 683

Re: Window bug on Pi 2b-3b+-4

You've upgraded your system incrementally from an installation older than Raspberry Pi OS 2020-05-27, haven't you? Sounds like you've got the same problem as seen in the Re: workspaces, more than 1. thread. Resetting your display defaults (Preferences → Screen Appearance → Defaults, then pick one) w...
by scruss
Mon Jun 29, 2020 6:24 pm
Forum: Raspberry Pi OS
Topic: Raspbian terminal does not support console-resize
Replies: 13
Views: 399

Re: Raspbian terminal does not support console-resize

I'd be pretty horrified if a program could change the size of my terminal. I've got no problem a program knowing the size of my terminal, but I get to set that, and programs get to live with it. I seem to remember window resizing was an old way of harassing other users over the network, so the defau...

Go to advanced search