Skip to contentSkip to conversation

cups printing

DISCUSSION Nic Deane 2 participants 2 messages Jul 6, 2005

lore
Share & tools
lore

Nic Deane

author
#0 lore raw

I run Fedora Core 4 as a dual boot with Windows XP on an e270 e-machine
- 1.7 Ghz with a LazerJet 4 Plus as my default printer. For OpenOffice documents and all other printing this works fine.

I downloaded dosemu to run an old DOS PIM called Portex which I love and have lots of Filofax papers set up on. I really am trying to move completely over to Linux! In Windows I have to set my default printer as HP LJ 2-6 LPI and this prints through my HP LJ 4 Plus. In dosemu I can load the document I want but when I set it to print it comes up with the error message lpr: error - unable to print file: client-error-not-found

I tried gedit on /etc/dosemu/dosemu.conf and took out the # at the beginning of the lines and saved

$_printer = "lp"
$_printer_command = "lpr -l"

and then re-ran my print command but this didn't make any difference. Should I have re-booted? I didn't think I had to do this in Linux.

Any ideas?

Many thanks,

Nic

#1 lore raw
Quoted 8 lines · Nic Deane

I downloaded dosemu to run an old DOS PIM called Portex which I love and have lots of Filofax papers set up on. I really am trying to move completely over to Linux! In Windows I have to set my default printer as HP LJ 2-6 LPI and this prints through my HP LJ 4 Plus. In dosemu I can load the document I want but when I set it to print it comes up with the error message lpr:
error - unable to print file: client-error-not-found

Quoted 4 lines

I tried gedit on /etc/dosemu/dosemu.conf and took out the # at the beginning of the lines and saved

$_printer = "lp" $_printer_command = "lpr -l"

It seems that CUPS does not always provide a default printer called 'lp', as expected by dosemu. The solution seems to be to use the lpstat -a command to find out the names of the printers (a.k.a. print queues) that you do have. E.g., if the lpstat command says your printer is called (say) HP_LJ4, you enter in /etc/dosemu/dosemu.conf (or even better, in ~/.dosemurc):

$_printer = "HP_LJ4"

Then also, you may try to get rid of CUPS altogether. A Laserjet 4 Plus is well supported on Linux by lprng + magicfilter, without CUPS.

Regards, Jan