Re: USB Printer.
Andres Gomez Garcia <[email protected]> Thu, 17 Nov 2005 18:47:27 +0100
| Newsgroups | gmane.linux.pxes.devel |
|---|---|
| Organization | Igalia, S.L. |
| Message-ID | <[email protected]> |
--=-JMEOMdmORugJQtc0rCqV Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable El vie, 21-10-2005 a las 19:03 +0200, Andres Gomez Garcia escribi=F3: > Hi, >=20 > could somebody guide me in order to make work a local USB printer with > PXES. Finally, I've found the problem. If you want to use an USB printer you have to force the printer module loading and set the device printer correctly. So these are the entries for a client configuration file: ... MODULES=3D'printer' export MODULES LOCAL_PRINTER_DEVICE=3D'/dev/usb/lp0' export LOCAL_PRINTER_DEVICE ... Also, if you want to share it through SAMBA with a "share" policy, you have to set the guest account to "root" or have a way to change the printer usb device file permissions in order to allow the mapped guest account (usually "nobody") to write in this device file. So in the /etc/samba/smb.conf.tpl it should appear: ... guest account =3D root ... I don't like to use the root account but it's the easiest way and we're talking about a "read-only" client. Suggestions are welcome. Ciao. --=20 Andr=E9s G=F3mez Garc=EDa Ingeniero en Inform=E1tica Telf: +34 981 91 39 91 Fax: +34 981 91 39 49 mailto:[email protected] http://personales.igalia.com/agomez IGALIA, S.L. http://www.igalia.com --=-JMEOMdmORugJQtc0rCqV Content-Type: application/pgp-signature; name=signature.asc Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDfMIvPMEtrD/qEDQRAs1iAJ9B0UM0KrSfbdfGkb2dhjCWUeI42ACeIRDf Od6tpQYYYcZIArxIDKi4rik= =QZl+ -----END PGP SIGNATURE----- --=-JMEOMdmORugJQtc0rCqV-- ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click