I am assuming you are using server side driver ie. have the CUPS use the Samsung driver.
You might be able to speed up the printing process by making the printer a RAW printer.DO this by selecting the Printer model as RAW when selecting the printer and installing the drivers on the computer.This will reduce the CPU load significantly.
However setting the ...
The voltage levels are not a problem, a LVTTL logical '1' will also be a TTL logical '1'. The only issue can be the (sinking) current, as Alex Chamberlain already suggested. This can be a problem.
This sinking current depends on the input circuit of the printer, as we can only guess how it is constructed, it might be better to be safe then sorry!
So to ...
As others have noted in the comments, you need to redirect the output from the command somewhere.
This will write to a file, overwriting the file if it already exists.
@reboot python /home/pi/Python27/pimon.py > /path/to/output_file.txt
Change > to >> if you want to append to an existing file.
Check this link for more information on standard input ...
I realise this is an old thread, but I've beaten my head against the wall looking for a print solution for CUPS on armhf with a samsung printer. I found a solution that works, and does not need a samsung specific ppd file - if the printer is network ready.
Go to the printers web interface (type the printer IP address in web browser)
and login. A settings ...
It sounds like your power supply is inadequate for the printer. According to Adafruit's documentation (on the link you provided), the printer requires a power supply that can support at least 1.5A output.
To address each of your numbered sub-questions:
Any of the host-software packages should work - Pronterface (in Python), Adrian's RepRap Host (in Java ... a recently-added note in the wiki claims it is deprecated, but I've seen no other evidence for that), ReplicatorG (in Python), etc.
OpenSCAD is my personal favourite, thanks in part to Adrian's work on ...
In the error log it is trying to bind to an IPv6 address. You should check in cupsd.conf that Listen ipaddress:port is set to the local IPv4 address of the raspberry pi. It's likely that cupsd isn't even starting up because it's failing to bind to a port.
The connector on the pi is in the wrong position. It's starting at the second pin down on the outer row, which is a 5V power pin, so the other two pins connected to the TTL jack on the printer are GND and TXD.
Presuming the black wire is for ground and that cable was built to cross the lines properly (it is impossible to tell which pin is which on the ...
This used to be really simple, you could just use a device uri like usb:/dev/usb/lp0. Unfortunately, this has been deliberately removed. It can be enabled again by replacing just a line that signals failure with the open of the device file, but it requires a recompile of the usb backend.
If you want to avoid the recompile, you can try the parallel backend, ...
You can just use the Python imaplib. Here as an example of connecting to gmail (you need to enable imap in the gmail control panel)
import getpass, imaplib
M = imaplib.IMAP4_SSL('imap.gmail.com', 993)
typ, data = M.search(None, 'ALL')
for num in data.split():
typ, data = M.fetch(num, '(RFC822)'...
Can qemu give USB interface for guest?
Yes, QEMU can pass USB devices to a guest. See this document.
Is raspberry pi performance suitable for the task?
No, the Rasperry Pi has a very limited processor. Instead of virtualizing another Linux guest, consider directly installing CUPS.
Something I've noticed here with a C3200N is that nothing will print from windows until I've logged into the printer one time.
All I've had to do is open a cmd window
telnet to the IP address of the printer
login as root
exit out of the telnet session
close the cmd window
PPD files are platform-independent. However, they may reference external executables, and those are platform-dependent. In particular, cupsFilter specifies a program that converts the input from a format that CUPS understands into a format that the printer understands. You'll need to find an ARM/Linux version of the filter program to use this PPD file under ...
Install Pidora (or another soft-float ARM Linux)
Download the Samsung ULD (Unified Linux Driver) version 1.00.29 from the SULDR website (the latest one on Samsung's website doesn't have an arm directory)
Untar so you get the uld directory, then edit uld/noarch/package_utils, and roughly on line 59 where it says "arm"), replace that with your architecture (...
(Star Micronics SM-T300i)
Why would you expect a userspace driver for "the 'micro panel thermal printer' sold in shops like Adafruit and Sparkfun" to work with this device? They don't look the same. This is not to say they aren't using the same essential hardware under the hood, but unless you have reason to believe they do, most likely they don't.
You have two options to connect the printer to the Raspberry, via LAN or USB. Either should work, you don't need to install drivers if you generate the print jobs elsewhere.
There are many options to make the printer available.
Samba and CUPS is one option, but it might be overkill for a single printer. With Samba, you can also install Windows drivers on ...
Surely any OS would do, so long as it supports Java (i.e. it has a JRE), you can specify which binaries execute upon startup and it supports OpenCV - which is all of the common Pi OSes.
As you will only be running this app, you don't need an OS with every service installed, nor would you require a desktop environment, just a minimal setup.
You should ...
First thing to do is to verify the "believe" that the system uses LPT to output the data since that not only determines the protocol (which in case of LPT is application dependent) and therefore heavily influences how to interpret the data but also pin out and maximum signal voltage levels. It would be highly advisable to check on those voltage levels before ...
I made a printbable case for the Rapsberry Pi 3 Model B, if you are interested in this one.
It can be downloaded at the Embedded Linux Wiki here. There are also cases for other models if you are not already using the RPi 3.
I managed to print with Samsungs uld-package on a raspberry!
Tips to make it work:
Install a dist. that is softp
Hack the uld install-script (package_install.sh) to support armv6
Copy the missing rastertospl and libcmssc.so manual
Raspberry Pi acts as a Host for USB and not as a device. The same thing happens to the Windows Machine. The best option is probably using a Network Printer Service, like lpd, and interconnect the two hosts using ethernet + TCP/IP.
I too have a Canon MX860 that I was trying to set up with CUPS. As of September 2019 the bjnp files failed to compile because I was missing the package 'cups-devel' which is no longer available.
As you stated above, which was 5 years prior to the time of writing this, the cups-backend-bjnp exists and today it is in the repository:
sudo apt-get install ...
So I actually managed to get this working. The instructions here helped a bunch: http://redwallaus.com/2013/04/04/airprint-with-raspberry-pi/
Printing is very slow, but it works without a hitch!
Per piers7's comments, I have pasted the content of the article into this post.
For this guide I will assume that you have already setup ...
The printer was working from the start but using SAMBA to print it had probably some problem.
I've found here a perfectly working solution: https://askubuntu.com/questions/110727/windows-computers-can-only-print-test-pages-to-shared-ubuntu-printer
I copy and paste it anyway:
In Linux stop sharing the printer through Samba.
Share it through CUPS ...
I reduced the resolution to 150x150 dpi, performance is now ok (10-20 seconds per page), whereas with 600x600 dpi it took several minutes per page.
PS: RAW queue did not work in my network printer (a Lexmark X543) although it makes sense to offload the processing to the network printer.