LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Print directly to Windows network printer within a bash shell script (https://www.linuxquestions.org/questions/linux-newbie-8/print-directly-to-windows-network-printer-within-a-bash-shell-script-620418/)

jwillyuaz 02-11-2008 05:59 PM

Print directly to Windows network printer within a bash shell script
 
I am currently developing a shell script to pint configuration/log files to a network printer. I need to print these files without making any configuration changes to the current image.

Is there a way to print directly to a Windows network printer using samba without having to modify the smb.conf file or setting up a print queue using lpadmin?

Thanks

bathory 02-12-2008 02:15 AM

Try the smbprint script that comes with samba. Read here andhere for details.
Use the smbprint that comes with your samba version and not the script that is used in the links I gave you.

Regards


All times are GMT -5. The time now is 06:30 PM.