[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stampa con lpr



Ciao Giovanni,

On Mon, Aug 16, 2004 at 09:58:57PM +0200, giovanni wrote:

> Saluti a tutta la ml, sono un nuovo utente debian, espongo subito il mio
> problema: stampante HP DeskJet 5550 desidero usare lpr e vorrei sapere
> usando magicfilter quali filtri selezionare per la stampante suddetta. 
Ok, un attimo per favore che connetto .... i miei neuroni ..... :-)
Allora, un problema alla volta .... se no mi sforzo troppo, sono ancora in
vacanza ..... :-)
Riesumando una mia old e-mail sull'argomento, spreo che possa servirti:
  
[...]
Incluso al pacchetto magicfilter c'e' un'utility veramente "utile" :-),
magicfilterconfig che si trova (dopo l'istallazione) in /usr/sbin/ e che
serve a produrre un "filtro" adatto alla propria stampante. Quindi da root:

# /usr/sbin/magicfilterconfig, 

dal menu interattivo che appare fornire il nome "ridotto" e completo della
propria stampante (lpjlet4, HP laserjet 4) selezionare poi la porta dove e'
connessa la stampante (/dev/lp0 o /dev/lp1), e il filtro adatto alla propria
stampante (ljet4m). Nel menu come puoi notare, c'e' una lista di filtri,
prova a scegliere (se eventualmente non ci fosse) il filtro che si avvicina
di piu' alla tua stampante, magari prova tutti quelli della hp .... :-)

Prima di usare il magicfilterconfig (o di installare il pacchetto
magicfilter), bisognerebbe rinominare il file /etc/pritcap (per esempio in
printcap.orig) perche' il magicfilterconfig crea un'altro printcap e se c'e'
ancora quello precedente non lo sovrascrive.

Nelle release della debian precedenti alla Woody, il kernel di default non
comprendeva il driver di stampa che pero' era fornito come modulo.
Assicurati quindi di installare il modulo per la stampa nel tuo kernel per
esempio con modconf e dopo lancia magicfilterconfig. In ogni caso ti
consiglio di leggere Printing-HOWTO e Printing-Usage-HOWTO per maggiori
delucidazioni e/o approfondimenti. (www.pluto.linux/ildp)

> Un secondo problema e' rappresentato da come usare wvdial per la
> connessione con il cellulare siemens 55 (porta seriale: ttyS0) poiche' ho
> provato a seguire le istruzioni ma lanciando "wvdial nomeprovider" non mi
> scrive il file col nome nomeprovider che dovrei modificare; se possibile
> avere step by step la procedura vi sarei molto grato, e' un problema che
> mi impedisce il salto ad abbandonare windows.

Credo che sia utile seguire i passi presi da un "vecchio" tutorial della
debian ....

....

The Easy Way: `wvdial'
----------------------

     The simplest way to get PPP running is with the `wvdial' program. It
     makes some reasonable guesses and tries to set things up for you. If it
     works, you're in luck. If it guesses wrong, you'll have to do things
     manually.
     
     Be sure you have the following packages installed: 

        * `ppp'

        * `ppp-pam'

        * `wvdial'

     When you install the `wvdial' package, you may be given the opportunity
     to configure it. Otherwise, to set up `wvdial', follow these simple
     steps:

     1.   Login as root, using `su' as described in an earlier chapter

     2.   `touch /etc/wvdial.conf'

          `touch' will create an empty file if the file doesn't exist --
          the configuration program requires an existing file.

     3.   `wvdialconf /etc/wvdial.conf'

          This means you're creating a configuration file,
          `/etc/wvdial.conf'

     4.   Answer any questions that appear on the screen. `wvdialconf' will
          also scan for your modem and tell you which serial port it's on;
          you may want to make a note of this for future reference.

     5.   `/etc/wvdial.conf' should look something like this now:

               [Dialer Defaults]
               Modem = /dev/ttyS1
               Baud = 115200
               Init1 = ATZ
               Init2 = ATQ0 V1 E1 S0=0 S11=55 +FCLASS=0
               ; Phone = [Target Phone Number]
               ; Username = [Your Login Name]
               ; Password = [Your Password]

          Just replace the information in brackets with the proper
          information and remove the semicolons from the beginning of those
          lines and you're done! Here is what a completed `wvdial.conf' file
          should look like:

               [Dialer Defaults]
               Modem = /dev/ttyS1
               Baud = 115200
               Init1 = ATZ
               Init2 = ATQ0 V1 E1 S0=0 S11=55 +FCLASS=0
               Phone = 5551212
               Username = beavis
               Password = password

     Now that `wvdial.conf' is set up, to connect to your ISP just type
     `wvdial'. If it doesn't work, you'll probably have to delve into manual
     PPP configuration.

....

Beh, credo che questo possa bastare e spero che ti sia di aiuto ..... :-)

Au Revoire
Hugh Hartmann




Reply to: