[Cups] printen vanuit command line

Pagina: 1
Acties:

  • Platel
  • Registratie: Oktober 2000
  • Laatst online: 11-08 02:10

Platel

Trogdor the Burninator!

Topicstarter
Ik heb Cups geinstalleerd. De printer doet het ook wanneer ik via de web-admin een testpagina print.
Mijn printer heet HP4100N

printcap heeft cups gemaakt daarin staat HP4100N: (verder niks).

Hoe kan ik nu printen vanuit programma's die standaard niet de cups printer ondersteunen?

Moet ik alsnog lpr installeren, want commando's als lpr -d HP4100N filename herkent hij niet.

Ik heb debian.

Remember there are no stupid questions, just stupid people...


  • ajvdvegt
  • Registratie: Maart 2000
  • Laatst online: 15-08 12:40
Kent hij heel lpr niet? Die zou wel moetn bestaan. Ik dacht dat je 'lpr -p HP4100N' moest gebruiken (dus een 'p' ipv een 'd') om je printer te selecteren. Maar als je er maar een hebt hoef dat niet, die wordt direct gekozen.
'lpr bestandnaam' zou direct het bestand 'bestandsnaam' moeten printen.

I don't kill flies, but I like to mess with their minds. I hold them above globes. They freak out and yell "Whooa, I'm *way* too high." -- Bruce Baum


  • Platel
  • Registratie: Oktober 2000
  • Laatst online: 11-08 02:10

Platel

Trogdor the Burninator!

Topicstarter
ik zal wel eens apt-get install lpr doen

Remember there are no stupid questions, just stupid people...


  • Platel
  • Registratie: Oktober 2000
  • Laatst online: 11-08 02:10

Platel

Trogdor the Burninator!

Topicstarter
Na het installeren van lpr geeft ie:

s433888:/home/platel# lpr -d HP4100N /etc/hosts
lpr: lp: unknown printer
s433888:/home/platel# lpr -p HP4100N /etc/hosts
lpr: lp: unknown printer
s433888:/home/platel#

Maar ik geef toch aan dat hij lp niet moet gebruiken, maar HP4100N?

Remember there are no stupid questions, just stupid people...


Verwijderd

je moet iig niet lpd installen. CUPS heeft zijn eigen implementatie van lp, lpr etcetcetc... Zodra jij cups geinstalled en geconfigged hebt, moet je gewoon "cat /etc/hosts|lpr" kunnen doen.

  • Platel
  • Registratie: Oktober 2000
  • Laatst online: 11-08 02:10

Platel

Trogdor the Burninator!

Topicstarter
waarschijnlijk vergeten apt-get cupsys-bsd te doen...


Idd. dat was het. Nu werkt het wel.

Remember there are no stupid questions, just stupid people...

Pagina: 1