Posts: 5
Joined: Tue Aug 07, 2012 4:54 pm

USB to printer without cups

Tue Aug 21, 2012 3:59 pm

I want to do a very simple operation of sending a .prn file to a printer. I don't want the Raspberry to be concern about what type of printer is out there, just send the print file to the printer. I am trying to avoid the overhead of cups if possible. I am hoping to use sometime like lp -c printfile.prn.
I can see the printer on the usb hub by using the lsusb command, but I don’t know how to send a file to it. I am using Linux wheezy

Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: USB to printer without cups

Tue Aug 21, 2012 5:45 pm

Sounds like you have some google searches in your future.
maybe try "lpr"?

Code: Select all

apt-cache search print |grep "spool"
gnuspool - A network-based print spooler
lpr - BSD lpr/lpd line printer spooling system
lprng - lpr/lpd printer spooling system
lprng-doc - lpr/lpd printer spooling system (documentation)
SBC with 32GB RAM:



Posts: 46
Joined: Sun Jun 24, 2012 11:29 pm

Re: USB to printer without cups

Wed Aug 22, 2012 12:57 am

Given that somebody went to the trouble of creating a Next Gen of lpr, you might google lprng as well. From the Synaptic description:

The LPRng software is an enhanced, extended, and portable version
of the Berkeley LPR software (the standards UNIX printer spooler)
You can use this for local and remote printers.

Posts: 128
Joined: Sun Dec 23, 2012 9:44 pm

Re: USB to printer without cups

Thu Feb 27, 2014 12:04 pm

Can someone provide usage guidance on this to provide a route to print from a Win7 computer using the Raspberry as the interface to the printer?

Clearly it must be possible since my Asus router, running linux, is able to print to my Canon LBP2900i using LPD techniques (but has USB security issues which make it undesirable to use). Please let's forego the use of the router approach.

I can't use CUPS on my RPi as there is no LBP2900i driver and no obvious compatible alternative.

Thanks in advance

Return to “Interfacing (DSI, CSI, I2C, etc.)”